OpenVDB
4.0.2
|
Base class for tree-traversal iterators over all leaf nodes (but not leaf voxels) More...
#include <TreeIterator.h>
Public Types | |
typedef RootChildOnIterT | RootIterT |
typedef RootIterT::NodeType | RootNodeT |
typedef RootIterT::NonConstNodeType | NCRootNodeT |
typedef iter::InvertedTree< NCRootNodeT, ROOT_LEVEL >::Type | InvTreeT |
typedef boost::mpl::front< InvTreeT >::type | NCLeafNodeT |
typedef CopyConstness< RootNodeT, NCLeafNodeT >::Type | LeafNodeT |
typedef IterTraits< NCRootNodeT, RootIterT > | RootIterTraits |
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)
typedef iter::InvertedTree<NCRootNodeT, ROOT_LEVEL>::Type InvTreeT |
typedef CopyConstness<RootNodeT, NCLeafNodeT>::Type LeafNodeT |
typedef boost::mpl::front<InvTreeT>::type NCLeafNodeT |
typedef RootIterT::NonConstNodeType NCRootNodeT |
typedef RootChildOnIterT RootIterT |
typedef IterTraits<NCRootNodeT, RootIterT> RootIterTraits |
typedef RootIterT::NodeType RootNodeT |
|
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 |