OpenVDB  12.0.0
Public Types | Public Member Functions | List of all members
PointPartitioner< PointIndexType, BucketLog2Dim >::IndexIterator Class Reference

#include <openvdb/tools/PointPartitioner.h>

Public Types

using IndexType = PointIndexType
 

Public Member Functions

 IndexIterator (IndexType *begin=nullptr, IndexType *end=nullptr)
 
void reset ()
 Rewind to first item. More...
 
size_t size () const
 Number of point indices in the iterator range. More...
 
IndexTypeoperator* ()
 Returns the item to which this iterator is currently pointing. More...
 
const IndexTypeoperator* () const
 
 operator bool () const
 Return true if this iterator is not yet exhausted. More...
 
bool test () const
 
IndexIteratoroperator++ ()
 Advance to the next item. More...
 
bool next ()
 Advance to the next item. More...
 
bool increment ()
 
bool operator== (const IndexIterator &other) const
 Equality operators. More...
 
bool operator!= (const IndexIterator &other) const
 

Member Typedef Documentation

using IndexType = PointIndexType

Constructor & Destructor Documentation

IndexIterator ( IndexType begin = nullptr,
IndexType end = nullptr 
)
inline

Member Function Documentation

bool increment ( )
inline
bool next ( )
inline

Advance to the next item.

operator bool ( ) const
inline

Return true if this iterator is not yet exhausted.

bool operator!= ( const IndexIterator other) const
inline
IndexType& operator* ( )
inline

Returns the item to which this iterator is currently pointing.

const IndexType& operator* ( ) const
inline
IndexIterator& operator++ ( )
inline

Advance to the next item.

bool operator== ( const IndexIterator other) const
inline

Equality operators.

void reset ( )
inline

Rewind to first item.

size_t size ( ) const
inline

Number of point indices in the iterator range.

bool test ( ) const
inline