OpenVDB
12.0.0
|
Base class for tree-traversal iterators over all leaf nodes (but not leaf voxels) More...
#include <openvdb/tree/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)
using InvTreeT = typename iter::InvertedTree<NCRootNodeT, ROOT_LEVEL>::Type |
using LeafNodeT = typename CopyConstness<RootNodeT, NCLeafNodeT>::Type |
using NCLeafNodeT = typename InvTreeT::Front |
using NCRootNodeT = typename RootIterT::NonConstNodeType |
using RootIterT = RootChildOnIterT |
using RootIterTraits = IterTraits<NCRootNodeT, RootIterT> |
using RootNodeT = typename RootIterT::NodeType |
|
inline |
|
inline |
|
inline |
|
inline |
Return the leaf node to which the iterator is pointing.
|
inline |
|
inline |
Advance the iterator to the next leaf node.
|
inline |
Increment the iterator n times.
|
inline |
Advance the iterator to the next leaf node.
|
inline |
|
inline |
Return the leaf node to which the iterator is pointing.
|
inline |
Advance the iterator to the next leaf node.
|
inline |
Return the leaf node to which the iterator is pointing.
|
inline |
|
inline |
|
static |
|
static |
|
static |