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 64 of file IndexIterator.h.

Member Typedef Documentation

using openvdb::OPENVDB_VERSION_NAME::points::ValueVoxelCIter::NodeType = Parent

Definition at line 76 of file IndexIterator.h.

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 79 of file IndexIterator.h.

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

Definition at line 81 of file IndexIterator.h.

Member Function Documentation

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

Definition at line 93 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 103 of file IndexIterator.h.

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

Definition at line 106 of file IndexIterator.h.

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

Definition at line 109 of file IndexIterator.h.

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

Definition at line 99 of file IndexIterator.h.

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

Definition at line 98 of file IndexIterator.h.

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

Definition at line 91 of file IndexIterator.h.

Equality operators.

Definition at line 116 of file IndexIterator.h.

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

Return the item to which this iterator is currently pointing.

Definition at line 85 of file IndexIterator.h.

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

Definition at line 86 of file IndexIterator.h.

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

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

Definition at line 89 of file IndexIterator.h.

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

Equality operators.

Definition at line 115 of file IndexIterator.h.

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

Definition at line 97 of file IndexIterator.h.

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

Definition at line 95 of file IndexIterator.h.

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

Definition at line 92 of file IndexIterator.h.


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