|
| BOOST_STATIC_ASSERT (RootNodeType::LEVEL > 1) |
|
| NodeManager (TreeOrLeafManagerT &tree) |
|
virtual | ~NodeManager () |
|
void | clear () |
| Clear all the cached tree nodes. More...
|
|
void | rebuild () |
| Clear and recache all the tree nodes from the tree. This is required if tree nodes have been added or removed. More...
|
|
const RootNodeType & | root () const |
| Return a reference to the root node. More...
|
|
Index64 | nodeCount () const |
| Return the total number of cached nodes (excluding the root node) More...
|
|
Index64 | nodeCount (Index i) const |
| Return the number of cached nodes at level i, where 0 corresponds to the lowest level. More...
|
|
template<typename NodeOp > |
void | foreachBottomUp (const NodeOp &op, bool threaded=true, size_t grainSize=1) |
|
template<typename NodeOp > |
void | foreachTopDown (const NodeOp &op, bool threaded=true, size_t grainSize=1) |
|
template<typename NodeOp > |
OPENVDB_DEPRECATED void | processBottomUp (const NodeOp &op, bool threaded=true, size_t grainSize=1) |
|
template<typename NodeOp > |
OPENVDB_DEPRECATED void | processTopDown (const NodeOp &op, bool threaded=true, size_t grainSize=1) |
|
template<typename NodeOp > |
void | reduceBottomUp (NodeOp &op, bool threaded=true, size_t grainSize=1) |
|
template<typename NodeOp > |
void | reduceTopDown (NodeOp &op, bool threaded=true, size_t grainSize=1) |
|
template<typename TreeOrLeafManagerT>
class openvdb::v4_0_1::tree::NodeManager< TreeOrLeafManagerT, 2 >
Template specialization of the NodeManager with two levels of nodes.