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) |
| LeafNodeT * | getLeaf () const |
| Return the leaf node to which the iterator is pointing. | |
| LeafNodeT & | operator* () const |
| LeafNodeT * | operator-> () const |
| bool | test () const |
| operator bool () const | |
| bool | next () |
| Advance the iterator to the next leaf node. | |
| void | increment () |
| LeafIteratorBase & | operator++ () |
| void | increment (Index n) |
| Increment the iterator n times. | |
| TreeT * | getTree () const |
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 |
|
inline |
Increment the iterator n times.
|
inline |
Advance the iterator to the next leaf node.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
|
static |
|
static |