Iterator over the Coord domain covered by a CoordBBox.
More...
#include <openvdb/math/Coord.h>
|
| Iterator (const CoordBBox &b) |
| C-tor from a bounding box.
|
|
Iterator & | operator++ () |
| Increment the iterator to point to the next coordinate.
|
|
| operator bool () const |
| Return true if the iterator still points to a valid coordinate.
|
|
const Coord & | operator* () const |
| Return a const reference to the coordinate currently pointed to.
|
|
bool | operator== (const Iterator &other) const |
| Return true if this iterator and the given iterator point to the same coordinate.
|
|
bool | operator!= (const Iterator &other) const |
| Return true if this iterator and the given iterator point to different coordinates.
|
|
template<bool ZYXOrder>
class openvdb::v12_0::CoordBBox::Iterator< ZYXOrder >
Iterator over the Coord domain covered by a CoordBBox.
- Note
- If ZYXOrder is
true
, z is the fastest-moving coordinate, otherwise the traversal is in XYZ order (i.e., x is fastest-moving).
◆ Iterator()
C-tor from a bounding box.
◆ operator bool()
Return true
if the iterator still points to a valid coordinate.
◆ operator!=()
template<bool ZYXOrder>
bool operator!= |
( |
const Iterator< ZYXOrder > & | other | ) |
const |
|
inline |
Return true
if this iterator and the given iterator point to different coordinates.
◆ operator*()
template<bool ZYXOrder>
const Coord & operator* |
( |
| ) |
const |
|
inline |
Return a const reference to the coordinate currently pointed to.
◆ operator++()
Increment the iterator to point to the next coordinate.
Iteration stops one past the maximum coordinate along the axis determined by the template parameter.
◆ operator==()
template<bool ZYXOrder>
bool operator== |
( |
const Iterator< ZYXOrder > & | other | ) |
const |
|
inline |
Return true
if this iterator and the given iterator point to the same coordinate.
◆ CoordBBox