OpenVDB  12.0.0
Classes | Public Types | Public Member Functions | List of all members
ValueVoxelCIter Class Reference

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

#include <openvdb/points/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.

Member Typedef Documentation

using NodeType = Parent

Constructor & Destructor Documentation

ValueVoxelCIter ( )
default
ValueVoxelCIter ( Index32  prevOffset,
Index32  offset 
)
inline
ValueVoxelCIter ( const ValueVoxelCIter other)
inline

Member Function Documentation

Index32 end ( ) const
inline
Coord getCoord ( ) const
inline

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

void getCoord ( Coord &  ) const
inline
bool isValueOn ( ) const
inline
bool next ( )
inline
Index32 offset ( )
inline
operator bool ( ) const
inline
bool operator!= ( const ValueVoxelCIter other) const
inline

Equality operators.

Index32 operator* ( )
inline

Return the item to which this iterator is currently pointing.

Index32 operator* ( ) const
inline
ValueVoxelCIter& operator++ ( )
inline

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

bool operator== ( const ValueVoxelCIter other) const
inline

Equality operators.

Parent& parent ( )
inline
void reset ( Index32  ,
Index32   
)
inline
bool test ( ) const
inline