OpenVDB
9.0.1
|
#include <openvdb/tree/LeafManager.h>
Public Member Functions | |
Iterator (const LeafRange &range, size_t pos) | |
Iterator (const Iterator &)=default | |
Iterator & | operator= (const Iterator &)=default |
Iterator & | operator++ () |
Advance to the next leaf node. More... | |
LeafType & | operator* () const |
Return a reference to the leaf node to which this iterator is pointing. More... | |
LeafType * | operator-> () const |
Return a pointer to the leaf node to which this iterator is pointing. More... | |
BufferType & | buffer (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. More... | |
size_t | pos () const |
Return the index into the leaf array of the current leaf node. More... | |
bool | isValid () const |
Return true if the position of this iterator is in a valid range. More... | |
bool | test () const |
Return true if this iterator is not yet exhausted. More... | |
operator bool () const | |
Return true if this iterator is not yet exhausted. More... | |
bool | empty () const |
Return true if this iterator is exhausted. More... | |
bool | operator!= (const Iterator &other) const |
bool | operator== (const Iterator &other) const |
const LeafRange & | leafRange () const |
|
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.
|
inline |
Return true
if this iterator is exhausted.
|
inline |
Return true
if the position of this iterator is in a valid range.
|
inline |
|
inline |
Return true
if this iterator is not yet exhausted.
|
inline |
|
inline |
Return a reference to the leaf node to which this iterator is pointing.
|
inline |
Advance to the next leaf node.
|
inline |
Return a pointer to the leaf node to which this iterator is pointing.
|
inline |
|
inline |
Return the index into the leaf array of the current leaf node.
|
inline |
Return true
if this iterator is not yet exhausted.