HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
openvdb::OPENVDB_VERSION_NAME::tree::NodeManager< TreeOrLeafManagerT, 0 > Class Template Reference

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 RootNodeTyperoot () 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 >
OPENVDB_DEPRECATED void processBottomUp (const NodeOp &op, bool, size_t)
 
template<typename NodeOp >
OPENVDB_DEPRECATED void processTopDown (const NodeOp &op, bool, size_t)
 
template<typename NodeOp >
void foreachBottomUp (const NodeOp &op, bool, size_t)
 
template<typename NodeOp >
void foreachTopDown (const NodeOp &op, bool, size_t)
 
template<typename NodeOp >
void reduceBottomUp (NodeOp &op, bool, size_t)
 
template<typename NodeOp >
void reduceTopDown (NodeOp &op, bool, size_t)
 

Static Public Attributes

static const Index LEVELS = 0
 

Protected Attributes

RootNodeTypemRoot
 

Detailed Description

template<typename TreeOrLeafManagerT>
class openvdb::OPENVDB_VERSION_NAME::tree::NodeManager< TreeOrLeafManagerT, 0 >

Template specialization of the NodeManager with no caching of nodes.

Definition at line 602 of file NodeManager.h.

Member Typedef Documentation

template<typename TreeOrLeafManagerT >
typedef TreeOrLeafManagerT::RootNodeType openvdb::OPENVDB_VERSION_NAME::tree::NodeManager< TreeOrLeafManagerT, 0 >::RootNodeType

Definition at line 605 of file NodeManager.h.

Constructor & Destructor Documentation

template<typename TreeOrLeafManagerT >
openvdb::OPENVDB_VERSION_NAME::tree::NodeManager< TreeOrLeafManagerT, 0 >::NodeManager ( TreeOrLeafManagerT &  tree)
inline

Definition at line 608 of file NodeManager.h.

template<typename TreeOrLeafManagerT >
virtual openvdb::OPENVDB_VERSION_NAME::tree::NodeManager< TreeOrLeafManagerT, 0 >::~NodeManager ( )
inlinevirtual

Definition at line 610 of file NodeManager.h.

Member Function Documentation

template<typename TreeOrLeafManagerT >
void openvdb::OPENVDB_VERSION_NAME::tree::NodeManager< TreeOrLeafManagerT, 0 >::clear ( void  )
inline

Clear all the cached tree nodes.

Definition at line 613 of file NodeManager.h.

template<typename TreeOrLeafManagerT >
template<typename NodeOp >
void openvdb::OPENVDB_VERSION_NAME::tree::NodeManager< TreeOrLeafManagerT, 0 >::foreachBottomUp ( const NodeOp &  op,
bool  ,
size_t   
)
inline

Definition at line 634 of file NodeManager.h.

template<typename TreeOrLeafManagerT >
template<typename NodeOp >
void openvdb::OPENVDB_VERSION_NAME::tree::NodeManager< TreeOrLeafManagerT, 0 >::foreachTopDown ( const NodeOp &  op,
bool  ,
size_t   
)
inline

Definition at line 637 of file NodeManager.h.

template<typename TreeOrLeafManagerT >
Index64 openvdb::OPENVDB_VERSION_NAME::tree::NodeManager< TreeOrLeafManagerT, 0 >::nodeCount ( ) const
inline

Return the total number of cached nodes (excluding the root node)

Definition at line 623 of file NodeManager.h.

template<typename TreeOrLeafManagerT >
Index64 openvdb::OPENVDB_VERSION_NAME::tree::NodeManager< TreeOrLeafManagerT, 0 >::nodeCount ( Index  ) const
inline

Definition at line 625 of file NodeManager.h.

template<typename TreeOrLeafManagerT >
template<typename NodeOp >
OPENVDB_DEPRECATED void openvdb::OPENVDB_VERSION_NAME::tree::NodeManager< TreeOrLeafManagerT, 0 >::processBottomUp ( const NodeOp &  op,
bool  ,
size_t   
)
inline

Definition at line 628 of file NodeManager.h.

template<typename TreeOrLeafManagerT >
template<typename NodeOp >
OPENVDB_DEPRECATED void openvdb::OPENVDB_VERSION_NAME::tree::NodeManager< TreeOrLeafManagerT, 0 >::processTopDown ( const NodeOp &  op,
bool  ,
size_t   
)
inline

Definition at line 631 of file NodeManager.h.

template<typename TreeOrLeafManagerT >
void openvdb::OPENVDB_VERSION_NAME::tree::NodeManager< TreeOrLeafManagerT, 0 >::rebuild ( )
inline

Clear and recache all the tree nodes from the tree. This is required if tree nodes have been added or removed.

Definition at line 617 of file NodeManager.h.

template<typename TreeOrLeafManagerT >
template<typename NodeOp >
void openvdb::OPENVDB_VERSION_NAME::tree::NodeManager< TreeOrLeafManagerT, 0 >::reduceBottomUp ( NodeOp &  op,
bool  ,
size_t   
)
inline

Definition at line 640 of file NodeManager.h.

template<typename TreeOrLeafManagerT >
template<typename NodeOp >
void openvdb::OPENVDB_VERSION_NAME::tree::NodeManager< TreeOrLeafManagerT, 0 >::reduceTopDown ( NodeOp &  op,
bool  ,
size_t   
)
inline

Definition at line 643 of file NodeManager.h.

template<typename TreeOrLeafManagerT >
const RootNodeType& openvdb::OPENVDB_VERSION_NAME::tree::NodeManager< TreeOrLeafManagerT, 0 >::root ( void  ) const
inline

Return a reference to the root node.

Definition at line 620 of file NodeManager.h.

Member Data Documentation

template<typename TreeOrLeafManagerT >
const Index openvdb::OPENVDB_VERSION_NAME::tree::NodeManager< TreeOrLeafManagerT, 0 >::LEVELS = 0
static

Definition at line 606 of file NodeManager.h.

template<typename TreeOrLeafManagerT >
RootNodeType& openvdb::OPENVDB_VERSION_NAME::tree::NodeManager< TreeOrLeafManagerT, 0 >::mRoot
protected

Definition at line 646 of file NodeManager.h.


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