OpenVDB
3.1.0
|
Template specialization of the NodeManager with no caching of nodes. More...
#include <NodeManager.h>
Public Types | |
typedef TreeOrLeafManagerT::RootNodeType | RootNodeType |
Public Member Functions | |
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) const |
template<typename NodeOp > | |
void | processBottomUp (const NodeOp &op, bool, size_t) |
template<typename NodeOp > | |
void | processTopDown (const NodeOp &op, bool, size_t) |
Static Public Attributes | |
static const Index | LEVELS = 0 |
Protected Attributes | |
RootNodeType & | mRoot |
Template specialization of the NodeManager with no caching of nodes.
typedef TreeOrLeafManagerT::RootNodeType RootNodeType |
|
inline |
|
inlinevirtual |
|
inline |
Clear all the cached tree nodes.
|
inline |
Return the total number of cached nodes (excluding the root node)
|
inline |
|
inline |
|
inline |
Clear and recache all the tree nodes from the tree. This is required if tree nodes have been added or removed.
|
inline |
Return a reference to the root node.
|
static |
|
protected |