OpenVDB
9.0.1
|
Glue functions for access to pyOpenVDB objects from C++ code. More...
Go to the source code of this file.
Namespaces | |
pyopenvdb | |
Functions | |
boost::python::object | getPyObjectFromGrid (const openvdb::GridBase::Ptr &) |
Return a new Python object that holds the given OpenVDB grid. More... | |
openvdb::GridBase::Ptr | getGridFromPyObject (PyObject *) |
Return a pointer to the OpenVDB grid held by the given Python object. More... | |
openvdb::GridBase::Ptr | getGridFromPyObject (const boost::python::object &) |
Return a pointer to the OpenVDB grid held by the given Python object. More... | |
Glue functions for access to pyOpenVDB objects from C++ code.
Use these functions in your own Python function implementations to extract an OpenVDB grid from or wrap a grid in a PyObject
. For example (using Boost.Python),
Then, from Python,