HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
openvdb::OPENVDB_VERSION_NAME::points::ValueVoxelCIter Class Reference

A forward iterator over array indices in a single voxel. More...

#include <IndexIterator.h>

Classes

struct  Parent
 

Public Types

using NodeType = Parent
 

Public Member Functions

 ValueVoxelCIter ()=default
 
 ValueVoxelCIter (Index32 prevOffset, Index32 offset)
 
 ValueVoxelCIter (const ValueVoxelCIter &other)
 
Index32 operator* ()
 Return the item to which this iterator is currently pointing. More...
 
Index32 operator* () const
 
ValueVoxelCIteroperator++ ()
 Advance to the next (valid) item (prefix). More...
 
 operator bool () const
 
bool test () const
 
Index32 end () const
 
void reset (Index32, Index32)
 
Parentparent ()
 
Index32 offset ()
 
bool next ()
 
Coord getCoord () const
 For efficiency, Coord and active state assumed to be readily available when iterating over indices of a single voxel. More...
 
void getCoord (Coord &) const
 
bool isValueOn () const
 
bool operator== (const ValueVoxelCIter &other) const
 Equality operators. More...
 
bool operator!= (const ValueVoxelCIter &other) const
 Equality operators. More...
 

Detailed Description

A forward iterator over array indices in a single voxel.

Definition at line 91 of file IndexIterator.h.

Member Typedef Documentation

Constructor & Destructor Documentation

openvdb::OPENVDB_VERSION_NAME::points::ValueVoxelCIter::ValueVoxelCIter ( )
default
openvdb::OPENVDB_VERSION_NAME::points::ValueVoxelCIter::ValueVoxelCIter ( Index32  prevOffset,
Index32  offset 
)
inline

Definition at line 106 of file IndexIterator.h.

openvdb::OPENVDB_VERSION_NAME::points::ValueVoxelCIter::ValueVoxelCIter ( const ValueVoxelCIter other)
inline

Definition at line 108 of file IndexIterator.h.

Member Function Documentation

Index32 openvdb::OPENVDB_VERSION_NAME::points::ValueVoxelCIter::end ( void  ) const
inline

Definition at line 120 of file IndexIterator.h.

Coord openvdb::OPENVDB_VERSION_NAME::points::ValueVoxelCIter::getCoord ( ) const
inline

For efficiency, Coord and active state assumed to be readily available when iterating over indices of a single voxel.

Definition at line 130 of file IndexIterator.h.

void openvdb::OPENVDB_VERSION_NAME::points::ValueVoxelCIter::getCoord ( Coord &  ) const
inline

Definition at line 133 of file IndexIterator.h.

bool openvdb::OPENVDB_VERSION_NAME::points::ValueVoxelCIter::isValueOn ( ) const
inline

Definition at line 136 of file IndexIterator.h.

bool openvdb::OPENVDB_VERSION_NAME::points::ValueVoxelCIter::next ( )
inline

Definition at line 126 of file IndexIterator.h.

Index32 openvdb::OPENVDB_VERSION_NAME::points::ValueVoxelCIter::offset ( )
inline

Definition at line 125 of file IndexIterator.h.

openvdb::OPENVDB_VERSION_NAME::points::ValueVoxelCIter::operator bool ( ) const
inline

Definition at line 118 of file IndexIterator.h.

Equality operators.

Definition at line 143 of file IndexIterator.h.

Index32 openvdb::OPENVDB_VERSION_NAME::points::ValueVoxelCIter::operator* ( void  )
inline

Return the item to which this iterator is currently pointing.

Definition at line 112 of file IndexIterator.h.

Index32 openvdb::OPENVDB_VERSION_NAME::points::ValueVoxelCIter::operator* ( void  ) const
inline

Definition at line 113 of file IndexIterator.h.

ValueVoxelCIter& openvdb::OPENVDB_VERSION_NAME::points::ValueVoxelCIter::operator++ ( )
inline

Advance to the next (valid) item (prefix).

Definition at line 116 of file IndexIterator.h.

bool openvdb::OPENVDB_VERSION_NAME::points::ValueVoxelCIter::operator== ( const ValueVoxelCIter other) const
inline

Equality operators.

Definition at line 142 of file IndexIterator.h.

Parent& openvdb::OPENVDB_VERSION_NAME::points::ValueVoxelCIter::parent ( void  )
inline

Definition at line 124 of file IndexIterator.h.

void openvdb::OPENVDB_VERSION_NAME::points::ValueVoxelCIter::reset ( Index32  ,
Index32   
)
inline

Definition at line 122 of file IndexIterator.h.

bool openvdb::OPENVDB_VERSION_NAME::points::ValueVoxelCIter::test ( ) const
inline

Definition at line 119 of file IndexIterator.h.


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