OpenVDB  1.1.0
Public Member Functions | List of all members
LeafManager< TreeT >::LeafRange::Iterator Class Reference

#include <LeafManager.h>

Public Member Functions

 Iterator (const LeafRange &range, size_t pos)
Iteratoroperator++ ()
 Advance to the next leaf node.
LeafTypeoperator* () const
 Return a reference to the leaf node to which this iterator is pointing.
LeafTypeoperator-> () const
 Return a pointer to the leaf node to which this iterator is pointing.
BufferTypebuffer (size_t bufferIdx)
 Return the nth buffer for the leaf node to which this iterator is pointing, where n = bufferIdx and n = 0 corresponds to the leaf node's own buffer.
size_t pos () const
 Return the index into the leaf array of the current leaf node.
bool isValid () const
 operator bool () const
 Return true if this iterator is not yet exhausted.
void operator= (const Iterator &other)
bool operator!= (const Iterator &other) const
bool operator== (const Iterator &other) const
const LeafRangeleafRange () const

Constructor & Destructor Documentation

Iterator ( const LeafRange range,
size_t  pos 
)
inline

Member Function Documentation

BufferType& buffer ( size_t  bufferIdx)
inline

Return the nth buffer for the leaf node to which this iterator is pointing, where n = bufferIdx and n = 0 corresponds to the leaf node's own buffer.

bool isValid ( ) const
inline
const LeafRange& leafRange ( ) const
inline
operator bool ( ) const
inline

Return true if this iterator is not yet exhausted.

bool operator!= ( const Iterator other) const
inline
LeafType& operator* ( ) const
inline

Return a reference to the leaf node to which this iterator is pointing.

Iterator& operator++ ( )
inline

Advance to the next leaf node.

LeafType* operator-> ( ) const
inline

Return a pointer to the leaf node to which this iterator is pointing.

void operator= ( const Iterator other)
inline
bool operator== ( const Iterator other) const
inline
size_t pos ( ) const
inline

Return the index into the leaf array of the current leaf node.


The documentation for this class was generated from the following file: