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 205 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 208 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 210 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 232 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 231 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 224 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 236 of file PointPartitioner.h.

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

Returns the item to which this iterator is currently pointing.

Definition at line 220 of file PointPartitioner.h.

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

Definition at line 221 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 228 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 235 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 214 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 217 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 225 of file PointPartitioner.h.


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