HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::tools::PointPartitioner< PointIndexType, BucketLog2Dim >::IndexIterator Class Reference

#include <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
 

Detailed Description

template<typename PointIndexType = uint32_t, Index BucketLog2Dim = 3>
class openvdb::OPENVDB_VERSION_NAME::tools::PointPartitioner< PointIndexType, BucketLog2Dim >::IndexIterator

Definition at line 180 of file PointPartitioner.h.

Member Typedef Documentation

template<typename PointIndexType = uint32_t, Index BucketLog2Dim = 3>
using openvdb::OPENVDB_VERSION_NAME::tools::PointPartitioner< PointIndexType, BucketLog2Dim >::IndexIterator::IndexType = PointIndexType

Definition at line 183 of file PointPartitioner.h.

Constructor & Destructor Documentation

template<typename PointIndexType = uint32_t, Index BucketLog2Dim = 3>
openvdb::OPENVDB_VERSION_NAME::tools::PointPartitioner< PointIndexType, BucketLog2Dim >::IndexIterator::IndexIterator ( IndexType begin = nullptr,
IndexType end = nullptr 
)
inline

Definition at line 185 of file PointPartitioner.h.

Member Function Documentation

template<typename PointIndexType = uint32_t, Index BucketLog2Dim = 3>
bool openvdb::OPENVDB_VERSION_NAME::tools::PointPartitioner< PointIndexType, BucketLog2Dim >::IndexIterator::increment ( )
inline

Definition at line 207 of file PointPartitioner.h.

template<typename PointIndexType = uint32_t, Index BucketLog2Dim = 3>
bool openvdb::OPENVDB_VERSION_NAME::tools::PointPartitioner< PointIndexType, BucketLog2Dim >::IndexIterator::next ( )
inline

Advance to the next item.

Definition at line 206 of file PointPartitioner.h.

template<typename PointIndexType = uint32_t, Index BucketLog2Dim = 3>
openvdb::OPENVDB_VERSION_NAME::tools::PointPartitioner< PointIndexType, BucketLog2Dim >::IndexIterator::operator bool ( ) const
inline

Return true if this iterator is not yet exhausted.

Definition at line 199 of file PointPartitioner.h.

template<typename PointIndexType = uint32_t, Index BucketLog2Dim = 3>
bool openvdb::OPENVDB_VERSION_NAME::tools::PointPartitioner< PointIndexType, BucketLog2Dim >::IndexIterator::operator!= ( const IndexIterator other) const
inline

Definition at line 211 of file PointPartitioner.h.

template<typename PointIndexType = uint32_t, Index BucketLog2Dim = 3>
IndexType& openvdb::OPENVDB_VERSION_NAME::tools::PointPartitioner< PointIndexType, BucketLog2Dim >::IndexIterator::operator* ( )
inline

Returns the item to which this iterator is currently pointing.

Definition at line 195 of file PointPartitioner.h.

template<typename PointIndexType = uint32_t, Index BucketLog2Dim = 3>
const IndexType& openvdb::OPENVDB_VERSION_NAME::tools::PointPartitioner< PointIndexType, BucketLog2Dim >::IndexIterator::operator* ( ) const
inline

Definition at line 196 of file PointPartitioner.h.

template<typename PointIndexType = uint32_t, Index BucketLog2Dim = 3>
IndexIterator& openvdb::OPENVDB_VERSION_NAME::tools::PointPartitioner< PointIndexType, BucketLog2Dim >::IndexIterator::operator++ ( )
inline

Advance to the next item.

Definition at line 203 of file PointPartitioner.h.

template<typename PointIndexType = uint32_t, Index BucketLog2Dim = 3>
bool openvdb::OPENVDB_VERSION_NAME::tools::PointPartitioner< PointIndexType, BucketLog2Dim >::IndexIterator::operator== ( const IndexIterator other) const
inline

Equality operators.

Definition at line 210 of file PointPartitioner.h.

template<typename PointIndexType = uint32_t, Index BucketLog2Dim = 3>
void openvdb::OPENVDB_VERSION_NAME::tools::PointPartitioner< PointIndexType, BucketLog2Dim >::IndexIterator::reset ( void  )
inline

Rewind to first item.

Definition at line 189 of file PointPartitioner.h.

template<typename PointIndexType = uint32_t, Index BucketLog2Dim = 3>
size_t openvdb::OPENVDB_VERSION_NAME::tools::PointPartitioner< PointIndexType, BucketLog2Dim >::IndexIterator::size ( void  ) const
inline

Number of point indices in the iterator range.

Definition at line 192 of file PointPartitioner.h.

template<typename PointIndexType = uint32_t, Index BucketLog2Dim = 3>
bool openvdb::OPENVDB_VERSION_NAME::tools::PointPartitioner< PointIndexType, BucketLog2Dim >::IndexIterator::test ( ) const
inline

Definition at line 200 of file PointPartitioner.h.


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