OpenVDB
3.0.0
|
Template specialization of the NodeManager with four levels of nodes. More...
#include <NodeManager.h>
Public Types | |
typedef TreeOrLeafManagerT::RootNodeType | RootNodeType |
Public Member Functions | |
BOOST_STATIC_ASSERT (RootNodeType::LEVEL > 3) | |
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 | processBottomUp (const NodeOp &op, bool threaded=true, size_t grainSize=1) |
template<typename NodeOp > | |
void | processTopDown (const NodeOp &op, bool threaded=true, size_t grainSize=1) |
Static Public Attributes | |
static const Index | LEVELS = 4 |
Protected Types | |
typedef RootNodeType | NodeT4 |
typedef NodeT4::ChildNodeType | NodeT3 |
typedef NodeT3::ChildNodeType | NodeT2 |
typedef NodeT2::ChildNodeType | NodeT1 |
typedef NodeT1::ChildNodeType | NodeT0 |
typedef NodeList< NodeT3 > | ListT3 |
typedef NodeList< NodeT2 > | ListT2 |
typedef NodeList< NodeT1 > | ListT1 |
typedef NodeList< NodeT0 > | ListT0 |
Protected Attributes | |
NodeT4 & | mRoot |
ListT3 | mList3 |
ListT2 | mList2 |
ListT1 | mList1 |
ListT0 | mList0 |
Template specialization of the NodeManager with four levels of nodes.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
typedef TreeOrLeafManagerT::RootNodeType RootNodeType |
|
inline |
|
inlinevirtual |
BOOST_STATIC_ASSERT | ( | RootNodeType::LEVEL | , |
3 | |||
) |
|
inline |
Clear all the cached tree nodes.
|
inline |
Return the total number of cached nodes (excluding the root node)
Return the number of cached nodes at level i, where 0 corresponds to the lowest level.
|
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 |
|
protected |
|
protected |
|
protected |
|
protected |