HDK
|
Base class for tree-traversal iterators over all leaf nodes (but not leaf voxels) More...
#include <TreeIterator.h>
Public Types | |
using | RootIterT = RootChildOnIterT |
using | RootNodeT = typename RootIterT::NodeType |
using | NCRootNodeT = typename RootIterT::NonConstNodeType |
using | InvTreeT = typename iter::InvertedTree< NCRootNodeT, ROOT_LEVEL >::Type |
using | NCLeafNodeT = typename InvTreeT::Front |
using | LeafNodeT = typename CopyConstness< RootNodeT, NCLeafNodeT >::Type |
using | RootIterTraits = IterTraits< NCRootNodeT, RootIterT > |
Public Member Functions | |
LeafIteratorBase () | |
LeafIteratorBase (TreeT &tree) | |
LeafIteratorBase (const LeafIteratorBase &other) | |
LeafIteratorBase & | operator= (const LeafIteratorBase &other) |
bool | test () const |
operator bool () const | |
void | increment (Index n) |
Increment the iterator n times. More... | |
TreeT * | getTree () const |
LeafNodeT * | getLeaf () const |
Return the leaf node to which the iterator is pointing. More... | |
LeafNodeT & | operator* () const |
Return the leaf node to which the iterator is pointing. More... | |
LeafNodeT * | operator-> () const |
Return the leaf node to which the iterator is pointing. More... | |
bool | next () |
Advance the iterator to the next leaf node. More... | |
void | increment () |
Advance the iterator to the next leaf node. More... | |
LeafIteratorBase & | operator++ () |
Advance the iterator to the next leaf node. More... | |
Static Public Attributes | |
static const Index | ROOT_LEVEL = RootNodeT::LEVEL |
static const Index | LEAF_LEVEL = 0 |
static const Index | LEAF_PARENT_LEVEL = LEAF_LEVEL + 1 |
Base class for tree-traversal iterators over all leaf nodes (but not leaf voxels)
Definition at line 1186 of file TreeIterator.h.
using openvdb::OPENVDB_VERSION_NAME::tree::LeafIteratorBase< TreeT, RootChildOnIterT >::InvTreeT = typename iter::InvertedTree<NCRootNodeT, ROOT_LEVEL>::Type |
Definition at line 1193 of file TreeIterator.h.
using openvdb::OPENVDB_VERSION_NAME::tree::LeafIteratorBase< TreeT, RootChildOnIterT >::LeafNodeT = typename CopyConstness<RootNodeT, NCLeafNodeT>::Type |
Definition at line 1195 of file TreeIterator.h.
using openvdb::OPENVDB_VERSION_NAME::tree::LeafIteratorBase< TreeT, RootChildOnIterT >::NCLeafNodeT = typename InvTreeT::Front |
Definition at line 1194 of file TreeIterator.h.
using openvdb::OPENVDB_VERSION_NAME::tree::LeafIteratorBase< TreeT, RootChildOnIterT >::NCRootNodeT = typename RootIterT::NonConstNodeType |
Definition at line 1191 of file TreeIterator.h.
using openvdb::OPENVDB_VERSION_NAME::tree::LeafIteratorBase< TreeT, RootChildOnIterT >::RootIterT = RootChildOnIterT |
Definition at line 1189 of file TreeIterator.h.
using openvdb::OPENVDB_VERSION_NAME::tree::LeafIteratorBase< TreeT, RootChildOnIterT >::RootIterTraits = IterTraits<NCRootNodeT, RootIterT> |
Definition at line 1198 of file TreeIterator.h.
using openvdb::OPENVDB_VERSION_NAME::tree::LeafIteratorBase< TreeT, RootChildOnIterT >::RootNodeT = typename RootIterT::NodeType |
Definition at line 1190 of file TreeIterator.h.
|
inline |
Definition at line 1200 of file TreeIterator.h.
|
inline |
Definition at line 1202 of file TreeIterator.h.
|
inline |
Definition at line 1213 of file TreeIterator.h.
|
inline |
Return the leaf node to which the iterator is pointing.
Definition at line 1229 of file TreeIterator.h.
|
inline |
Definition at line 1251 of file TreeIterator.h.
|
inline |
Advance the iterator to the next leaf node.
Definition at line 1245 of file TreeIterator.h.
|
inline |
Increment the iterator n times.
Definition at line 1249 of file TreeIterator.h.
|
inline |
Advance the iterator to the next leaf node.
Definition at line 1266 of file TreeIterator.h.
|
inline |
Definition at line 1240 of file TreeIterator.h.
|
inline |
Return the leaf node to which the iterator is pointing.
Definition at line 1235 of file TreeIterator.h.
|
inline |
Advance the iterator to the next leaf node.
Definition at line 1246 of file TreeIterator.h.
|
inline |
Return the leaf node to which the iterator is pointing.
Definition at line 1236 of file TreeIterator.h.
|
inline |
Definition at line 1217 of file TreeIterator.h.
|
inline |
Definition at line 1239 of file TreeIterator.h.
|
static |
Definition at line 1196 of file TreeIterator.h.
|
static |
Definition at line 1196 of file TreeIterator.h.
|
static |
Definition at line 1192 of file TreeIterator.h.