HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
openvdb::OPENVDB_VERSION_NAME::math::CoordBBox::Iterator< ZYX > Class Template Reference

Iterator over Coord domain covered by a CoordBBox. More...

#include <Coord.h>

Public Member Functions

 Iterator (const CoordBBox &b)
 C-tor from a bounding box. More...
 
Iteratoroperator++ ()
 Increments iterator to point to the next coordinate. More...
 
 operator bool () const
 Return true if the iterator still points to a valid coordinate. More...
 
const Coordoperator* () const
 Return a const reference to the coordinate currently pointed to. More...
 

Detailed Description

template<bool ZYX>
class openvdb::OPENVDB_VERSION_NAME::math::CoordBBox::Iterator< ZYX >

Iterator over Coord domain covered by a CoordBBox.

Note
If ZYX is true Z is the fastest moving coordinate, else it is the X coordinate, i.e. XYZ traversal

Definition at line 277 of file Coord.h.

Constructor & Destructor Documentation

C-tor from a bounding box.

Definition at line 280 of file Coord.h.

Member Function Documentation

template<bool ZYX>
openvdb::OPENVDB_VERSION_NAME::math::CoordBBox::Iterator< ZYX >::operator bool ( ) const
inline

Return true if the iterator still points to a valid coordinate.

Definition at line 289 of file Coord.h.

template<bool ZYX>
const Coord& openvdb::OPENVDB_VERSION_NAME::math::CoordBBox::Iterator< ZYX >::operator* ( void  ) const
inline

Return a const reference to the coordinate currently pointed to.

Definition at line 293 of file Coord.h.

template<bool ZYX>
Iterator& openvdb::OPENVDB_VERSION_NAME::math::CoordBBox::Iterator< ZYX >::operator++ ( )
inline

Increments iterator to point to the next coordinate.

Note
Stops a the last + 1 coordinate of the bounding box as defined by the template parameter.

Definition at line 284 of file Coord.h.


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