[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]
Standard 2D random access const iterator for images that store the data as a linear array. More...
#include <vigra/imageiterator.hxx>
Public Member Functions | |
ConstImageIterator (pointer base, int ystride) | |
ConstImageIterator () | |
![]() | |
bool | operator== (ImageIteratorBase const &rhs) const |
bool | operator!= (ImageIteratorBase const &rhs) const |
difference_type | operator- (ImageIteratorBase const &rhs) const |
ConstImageIterator< PIXELTYPE > | operator- (difference_type const &s) const |
ConstImageIterator< PIXELTYPE > & | operator+= (difference_type const &s) |
ConstImageIterator< PIXELTYPE > & | operator-= (difference_type const &s) |
ConstImageIterator< PIXELTYPE > | operator+ (difference_type const &s) const |
reference | operator* () const |
pointer | operator-> () const |
index_reference | operator[] (Diff2D const &d) const |
pointer | operator[] (int dy) const |
index_reference | operator() (int dx, int dy) const |
Standard 2D random access const iterator for images that store the data as a linear array.
Most functions are inherited from ImageIteratorBase.
#include <vigra/imageiterator.hxx>
Namespace: vigra
ConstImageIterator | ( | pointer | base, |
int | ystride | ||
) |
Construct from raw memory with a vertical stride of <TT>ystride</TT>.
ystride
must equal the physical image width (row length), even if the iterator will only be used for a sub image. If the raw memory is encapsulated in an image object this object should have a factory function that constructs the iterator.
Default constructor
© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de) |
html generated using doxygen and Python
|