OpenVDB
7.2.0
|
#include <NodeManager.h>
Public Types | |
using | RootNodeType = typename TreeOrLeafManagerT::RootNodeType |
Public Member Functions | |
DynamicNodeManager (TreeOrLeafManagerT &tree) | |
DynamicNodeManager (const DynamicNodeManager &)=delete | |
const RootNodeType & | root () const |
Return a reference to the root node. More... | |
template<typename NodeOp > | |
void | foreachTopDown (const NodeOp &op, bool threaded=true, size_t grainSize=1) |
Threaded method that applies a user-supplied functor to all the nodes in the tree. More... | |
template<typename NodeOp > | |
void | reduceTopDown (NodeOp &op, bool threaded=true, size_t grainSize=1) |
Threaded method that processes nodes with a user supplied functor. More... | |
Static Public Attributes | |
static const Index | LEVELS = _LEVELS |
Protected Attributes | |
RootNodeType & | mRoot |
DynamicNodeManagerLink< typename RootNodeType::ChildNodeType, LEVELS-1 > | mChain |
using RootNodeType = typename TreeOrLeafManagerT::RootNodeType |
|
inlineexplicit |
|
delete |
|
inline |
Threaded method that applies a user-supplied functor to all the nodes in the tree.
op | user-supplied functor, see examples for interface details. |
threaded | optional toggle to disable threading, on by default. |
grainSize | optional parameter to specify the grainsize for threading, one by default. |
|
inline |
Threaded method that processes nodes with a user supplied functor.
op | user-supplied functor, see examples for interface details. |
threaded | optional toggle to disable threading, on by default. |
grainSize | optional parameter to specify the grainsize for threading, one by default. |
|
inline |
Return a reference to the root node.
|
static |
|
protected |
|
protected |