| 128 | } // namespace iepyopenvdb |
| 129 | |
| 130 | boost::python::object findGrid( VDBObject::Ptr vdbObject, const std::string &gridName ) |
| 131 | { |
| 132 | openvdb::GridBase::Ptr grid = vdbObject->findGrid( gridName ); |
| 133 | if( grid ) |
| 134 | { |
| 135 | return iepyopenvdb::getPyObjectFromGrid( grid ); |
| 136 | } |
| 137 | else |
| 138 | { |
| 139 | return boost::python::object(); |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | void insertGrid( VDBObject::Ptr vdbObject, boost::python::object pyObject ) |
| 144 | { |
no test coverage detected