OpenVDB  6.2.1
Public Member Functions | Protected Attributes | List of all members
NodeManagerLink< NodeT, LEVEL > Class Template Reference

This class is a link in a chain that each caches tree nodes of a specific type in a linear array. More...

#include <NodeManager.h>

Public Member Functions

 NodeManagerLink ()
 
virtual ~NodeManagerLink ()
 
void clear ()
 
template<typename ParentT , typename TreeOrLeafManagerT >
void init (ParentT &parent, TreeOrLeafManagerT &tree)
 
template<typename ParentT >
void rebuild (ParentT &parent)
 
Index64 nodeCount () const
 
Index64 nodeCount (Index i) const
 
template<typename NodeOp >
void foreachBottomUp (const NodeOp &op, bool threaded, size_t grainSize)
 
template<typename NodeOp >
void foreachTopDown (const NodeOp &op, bool threaded, size_t grainSize)
 
template<typename NodeOp >
void reduceBottomUp (NodeOp &op, bool threaded, size_t grainSize)
 
template<typename NodeOp >
void reduceTopDown (NodeOp &op, bool threaded, size_t grainSize)
 

Protected Attributes

NodeList< NodeT > mList
 
NodeManagerLink< typename NodeT::ChildNodeType, LEVEL-1 > mNext
 

Detailed Description

template<typename NodeT, Index LEVEL>
class openvdb::v6_2::tree::NodeManagerLink< NodeT, LEVEL >

This class is a link in a chain that each caches tree nodes of a specific type in a linear array.

Note
It is for internal use and should rarely be used directly.

Constructor & Destructor Documentation

NodeManagerLink ( )
inline
virtual ~NodeManagerLink ( )
inlinevirtual

Member Function Documentation

void clear ( )
inline
void foreachBottomUp ( const NodeOp &  op,
bool  threaded,
size_t  grainSize 
)
inline
void foreachTopDown ( const NodeOp &  op,
bool  threaded,
size_t  grainSize 
)
inline
void init ( ParentT &  parent,
TreeOrLeafManagerT &  tree 
)
inline
Index64 nodeCount ( ) const
inline
Index64 nodeCount ( Index  i) const
inline
void rebuild ( ParentT &  parent)
inline
void reduceBottomUp ( NodeOp &  op,
bool  threaded,
size_t  grainSize 
)
inline
void reduceTopDown ( NodeOp &  op,
bool  threaded,
size_t  grainSize 
)
inline

Member Data Documentation

NodeList<NodeT> mList
protected
NodeManagerLink<typename NodeT::ChildNodeType, LEVEL-1> mNext
protected

The documentation for this class was generated from the following file: