Template specialization of the NodeManager with one level of nodes.
More...
#include <NodeManager.h>
|
| BOOST_STATIC_ASSERT (RootNodeType::LEVEL > 0) |
|
| 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 RootNodeType & | root () 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 i) const |
| Return the number of cached nodes at level i, where 0 corresponds to the lowest level. More...
|
|
template<typename NodeOp > |
void | foreachBottomUp (const NodeOp &op, bool threaded=true, size_t grainSize=1) |
|
template<typename NodeOp > |
void | foreachTopDown (const NodeOp &op, bool threaded=true, size_t grainSize=1) |
|
template<typename NodeOp > |
OPENVDB_DEPRECATED void | processBottomUp (const NodeOp &op, bool threaded=true, size_t grainSize=1) |
|
template<typename NodeOp > |
OPENVDB_DEPRECATED void | processTopDown (const NodeOp &op, bool threaded=true, size_t grainSize=1) |
|
template<typename NodeOp > |
void | reduceBottomUp (NodeOp &op, bool threaded=true, size_t grainSize=1) |
|
template<typename NodeOp > |
void | reduceTopDown (NodeOp &op, bool threaded=true, size_t grainSize=1) |
|
template<typename TreeOrLeafManagerT>
class openvdb::v4_0_2::tree::NodeManager< TreeOrLeafManagerT, 1 >
Template specialization of the NodeManager with one level of nodes.
◆ ListT0
◆ NodeT0
typedef NodeT1::ChildNodeType NodeT0 |
|
protected |
◆ NodeT1
◆ RootNodeType
◆ NodeManager()
◆ ~NodeManager()
◆ BOOST_STATIC_ASSERT()
BOOST_STATIC_ASSERT |
( |
RootNodeType::LEVEL |
, |
|
|
0 |
|
|
) |
| |
◆ clear()
Clear all the cached tree nodes.
◆ foreachBottomUp()
void foreachBottomUp |
( |
const NodeOp & |
op, |
|
|
bool |
threaded = true , |
|
|
size_t |
grainSize = 1 |
|
) |
| |
|
inline |
◆ foreachTopDown()
void foreachTopDown |
( |
const NodeOp & |
op, |
|
|
bool |
threaded = true , |
|
|
size_t |
grainSize = 1 |
|
) |
| |
|
inline |
◆ nodeCount() [1/2]
Return the total number of cached nodes (excluding the root node)
◆ nodeCount() [2/2]
Return the number of cached nodes at level i, where 0 corresponds to the lowest level.
◆ processBottomUp()
OPENVDB_DEPRECATED void processBottomUp |
( |
const NodeOp & |
op, |
|
|
bool |
threaded = true , |
|
|
size_t |
grainSize = 1 |
|
) |
| |
|
inline |
◆ processTopDown()
OPENVDB_DEPRECATED void processTopDown |
( |
const NodeOp & |
op, |
|
|
bool |
threaded = true , |
|
|
size_t |
grainSize = 1 |
|
) |
| |
|
inline |
◆ rebuild()
Clear and recache all the tree nodes from the tree. This is required if tree nodes have been added or removed.
◆ reduceBottomUp()
void reduceBottomUp |
( |
NodeOp & |
op, |
|
|
bool |
threaded = true , |
|
|
size_t |
grainSize = 1 |
|
) |
| |
|
inline |
◆ reduceTopDown()
void reduceTopDown |
( |
NodeOp & |
op, |
|
|
bool |
threaded = true , |
|
|
size_t |
grainSize = 1 |
|
) |
| |
|
inline |
◆ root()
Return a reference to the root node.
◆ LEVELS
◆ mList0
◆ mRoot
The documentation for this class was generated from the following file: