HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
openvdb::OPENVDB_VERSION_NAME::tree::NodeList< NodeT > Class Template Reference

This class caches tree nodes of a specific type in a linear array. More...

#include <NodeManager.h>

Classes

class  NodeRange
 

Public Types

typedef NodeT * value_type
 
typedef std::deque< value_typeListT
 

Public Member Functions

 NodeList ()
 
void push_back (NodeT *node)
 
NodeT & operator() (size_t n) const
 
NodeT *& operator[] (size_t n)
 
Index64 nodeCount () const
 
void clear ()
 
void resize (size_t n)
 
NodeRange nodeRange (size_t grainsize=1) const
 Return a TBB-compatible NodeRange. More...
 
template<typename NodeOp >
void foreach (const NodeOp &op, bool threaded=true, size_t grainSize=1)
 
template<typename NodeOp >
void reduce (NodeOp &op, bool threaded=true, size_t grainSize=1)
 

Protected Attributes

ListT mList
 

Detailed Description

template<typename NodeT>
class openvdb::OPENVDB_VERSION_NAME::tree::NodeList< NodeT >

This class 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 67 of file NodeManager.h.

Member Typedef Documentation

template<typename NodeT>
typedef std::deque<value_type> openvdb::OPENVDB_VERSION_NAME::tree::NodeList< NodeT >::ListT

Definition at line 71 of file NodeManager.h.

template<typename NodeT>
typedef NodeT* openvdb::OPENVDB_VERSION_NAME::tree::NodeList< NodeT >::value_type

Definition at line 70 of file NodeManager.h.

Constructor & Destructor Documentation

template<typename NodeT>
openvdb::OPENVDB_VERSION_NAME::tree::NodeList< NodeT >::NodeList ( )
inline

Definition at line 73 of file NodeManager.h.

Member Function Documentation

template<typename NodeT>
void openvdb::OPENVDB_VERSION_NAME::tree::NodeList< NodeT >::clear ( void  )
inline

Definition at line 83 of file NodeManager.h.

template<typename NodeT>
template<typename NodeOp >
void openvdb::OPENVDB_VERSION_NAME::tree::NodeList< NodeT >::foreach ( const NodeOp &  op,
bool  threaded = true,
size_t  grainSize = 1 
)
inline

Definition at line 168 of file NodeManager.h.

template<typename NodeT>
Index64 openvdb::OPENVDB_VERSION_NAME::tree::NodeList< NodeT >::nodeCount ( ) const
inline

Definition at line 81 of file NodeManager.h.

template<typename NodeT>
NodeRange openvdb::OPENVDB_VERSION_NAME::tree::NodeList< NodeT >::nodeRange ( size_t  grainsize = 1) const
inline

Return a TBB-compatible NodeRange.

Definition at line 162 of file NodeManager.h.

template<typename NodeT>
NodeT& openvdb::OPENVDB_VERSION_NAME::tree::NodeList< NodeT >::operator() ( size_t  n) const
inline

Definition at line 77 of file NodeManager.h.

template<typename NodeT>
NodeT*& openvdb::OPENVDB_VERSION_NAME::tree::NodeList< NodeT >::operator[] ( size_t  n)
inline

Definition at line 79 of file NodeManager.h.

template<typename NodeT>
void openvdb::OPENVDB_VERSION_NAME::tree::NodeList< NodeT >::push_back ( NodeT *  node)
inline

Definition at line 75 of file NodeManager.h.

template<typename NodeT>
template<typename NodeOp >
void openvdb::OPENVDB_VERSION_NAME::tree::NodeList< NodeT >::reduce ( NodeOp &  op,
bool  threaded = true,
size_t  grainSize = 1 
)
inline

Definition at line 175 of file NodeManager.h.

template<typename NodeT>
void openvdb::OPENVDB_VERSION_NAME::tree::NodeList< NodeT >::resize ( size_t  n)
inline

Definition at line 85 of file NodeManager.h.

Member Data Documentation

template<typename NodeT>
ListT openvdb::OPENVDB_VERSION_NAME::tree::NodeList< NodeT >::mList
protected

Definition at line 232 of file NodeManager.h.


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