OpenVDB
12.0.0
|
A forward iterator over array indices from a value iterator (such as ValueOnCIter) More...
#include <openvdb/points/IndexIterator.h>
Public Member Functions | |
ValueIndexIter (const IteratorT &iter) | |
ValueIndexIter (const ValueIndexIter &other) | |
ValueIndexIter & | operator= (const ValueIndexIter &)=default |
Index32 | end () const |
void | reset (Index32 item, Index32 end) |
Index32 | operator* () |
Returns the item to which this iterator is currently pointing. More... | |
Index32 | operator* () const |
operator bool () const | |
Return true if this iterator is not yet exhausted. More... | |
bool | test () const |
ValueIndexIter & | operator++ () |
Advance to the next (valid) item (prefix). More... | |
bool | next () |
Advance to the next (valid) item. More... | |
bool | increment () |
Coord | getCoord () const |
Return the coordinates of the item to which the value iterator is pointing. More... | |
void | getCoord (Coord &xyz) const |
Return in xyz the coordinates of the item to which the value iterator is pointing. More... | |
bool | isValueOn () const |
Return true if this iterator is pointing to an active value. More... | |
const IteratorT & | valueIter () const |
Return the const value iterator. More... | |
bool | operator== (const ValueIndexIter &other) const |
Equality operators. More... | |
bool | operator!= (const ValueIndexIter &other) const |
A forward iterator over array indices from a value iterator (such as ValueOnCIter)
|
inline |
|
inline |
|
inline |
|
inline |
Return the coordinates of the item to which the value iterator is pointing.
|
inline |
Return in xyz the coordinates of the item to which the value iterator is pointing.
|
inline |
|
inline |
Return true
if this iterator is pointing to an active value.
|
inline |
Advance to the next (valid) item.
|
inline |
Return true
if this iterator is not yet exhausted.
|
inline |
|
inline |
Returns the item to which this iterator is currently pointing.
|
inline |
|
inline |
Advance to the next (valid) item (prefix).
|
default |
|
inline |
Equality operators.
|
inline |
|
inline |
Return the const value iterator.