HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::tree::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::OPENVDB_VERSION_NAME::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.

Definition at line 245 of file NodeManager.h.

Constructor & Destructor Documentation

template<typename NodeT, Index LEVEL>
openvdb::OPENVDB_VERSION_NAME::tree::NodeManagerLink< NodeT, LEVEL >::NodeManagerLink ( )
inline

Definition at line 248 of file NodeManager.h.

template<typename NodeT, Index LEVEL>
virtual openvdb::OPENVDB_VERSION_NAME::tree::NodeManagerLink< NodeT, LEVEL >::~NodeManagerLink ( )
inlinevirtual

Definition at line 250 of file NodeManager.h.

Member Function Documentation

template<typename NodeT, Index LEVEL>
void openvdb::OPENVDB_VERSION_NAME::tree::NodeManagerLink< NodeT, LEVEL >::clear ( void  )
inline

Definition at line 252 of file NodeManager.h.

template<typename NodeT, Index LEVEL>
template<typename NodeOp >
void openvdb::OPENVDB_VERSION_NAME::tree::NodeManagerLink< NodeT, LEVEL >::foreachBottomUp ( const NodeOp &  op,
bool  threaded,
size_t  grainSize 
)
inline

Definition at line 277 of file NodeManager.h.

template<typename NodeT, Index LEVEL>
template<typename NodeOp >
void openvdb::OPENVDB_VERSION_NAME::tree::NodeManagerLink< NodeT, LEVEL >::foreachTopDown ( const NodeOp &  op,
bool  threaded,
size_t  grainSize 
)
inline

Definition at line 284 of file NodeManager.h.

template<typename NodeT, Index LEVEL>
template<typename ParentT , typename TreeOrLeafManagerT >
void openvdb::OPENVDB_VERSION_NAME::tree::NodeManagerLink< NodeT, LEVEL >::init ( ParentT &  parent,
TreeOrLeafManagerT &  tree 
)
inline

Definition at line 255 of file NodeManager.h.

template<typename NodeT, Index LEVEL>
Index64 openvdb::OPENVDB_VERSION_NAME::tree::NodeManagerLink< NodeT, LEVEL >::nodeCount ( ) const
inline

Definition at line 269 of file NodeManager.h.

template<typename NodeT, Index LEVEL>
Index64 openvdb::OPENVDB_VERSION_NAME::tree::NodeManagerLink< NodeT, LEVEL >::nodeCount ( Index  i) const
inline

Definition at line 271 of file NodeManager.h.

template<typename NodeT, Index LEVEL>
template<typename ParentT >
void openvdb::OPENVDB_VERSION_NAME::tree::NodeManagerLink< NodeT, LEVEL >::rebuild ( ParentT &  parent)
inline

Definition at line 262 of file NodeManager.h.

template<typename NodeT, Index LEVEL>
template<typename NodeOp >
void openvdb::OPENVDB_VERSION_NAME::tree::NodeManagerLink< NodeT, LEVEL >::reduceBottomUp ( NodeOp &  op,
bool  threaded,
size_t  grainSize 
)
inline

Definition at line 291 of file NodeManager.h.

template<typename NodeT, Index LEVEL>
template<typename NodeOp >
void openvdb::OPENVDB_VERSION_NAME::tree::NodeManagerLink< NodeT, LEVEL >::reduceTopDown ( NodeOp &  op,
bool  threaded,
size_t  grainSize 
)
inline

Definition at line 298 of file NodeManager.h.

Member Data Documentation

template<typename NodeT, Index LEVEL>
NodeList<NodeT> openvdb::OPENVDB_VERSION_NAME::tree::NodeManagerLink< NodeT, LEVEL >::mList
protected

Definition at line 305 of file NodeManager.h.

template<typename NodeT, Index LEVEL>
NodeManagerLink<typename NodeT::ChildNodeType, LEVEL-1> openvdb::OPENVDB_VERSION_NAME::tree::NodeManagerLink< NodeT, LEVEL >::mNext
protected

Definition at line 306 of file NodeManager.h.


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