27 #ifndef IMG_EXTENT_ITERATOR_H
28 #define IMG_EXTENT_ITERATOR_H
33 namespace ost {
namespace img {
108 Point start_, end_, current_,startpos_;
Defines lower and upper valid indices.
ExtentIterator & ToEnd()
Reset to end.
ExtentIterator operator++(int)
Postfix increase operator.
void Inc()
Skip ahead to next point.
ExtentIterator & operator=(const ExtentIterator &p)
assignement op
Extent GetExtent() const
Retrieve original extent.
const Point & GetEnd() const
Retrieve end point.
ExtentIterator operator--(int)
Postfix decrease operator.
ExtentIterator(const Extent &b, unsigned int domain=SPATIAL)
Initialize with Extent.
bool AtEnd() const
Returns true if iterator has reached end.
const Point & GetStart() const
Retrieve start point.
ExtentIterator(const ExtentIterator &i)
copy ctor
ExtentIterator & operator--()
Prefix decrease operator.
ExtentIterator & ToStart()
Reset to start.
int operator[](int i) const
element access
void Dec()
Go back to previous point.
ExtentIterator & operator++()
Prefix increase operator.
bool AtStart() const
Returns true if iterator is at the start.
class encapsulating 1D to 3D point
#define DLLEXPORT_OST_IMG_BASE