[ VIGRA Homepage | Class Index | Function Index | File Index | Main Page ]
![]() |
ConstValueIterator Class Template Reference | ![]() |
---|
Iterator that always returns the constant specified in the constructor. More...
#include "vigra/imageiterator.hxx"
Public Types | |
typedef PIXELTYPE | value_type |
typedef PIXELTYPE | PixelType |
typedef PIXELTYPE const & | reference |
typedef PIXELTYPE const & | index_reference |
typedef PIXELTYPE const * | pointer |
typedef Diff2D | difference_type |
typedef image_traverser_tag | iterator_category |
typedef IteratorAdaptor< ConstValueIteratorPolicy< PIXELTYPE > > | row_iterator |
typedef IteratorAdaptor< ConstValueIteratorPolicy< PIXELTYPE > > | column_iterator |
typedef int | MoveX |
typedef int | MoveY |
Public Methods | |
ConstValueIterator () | |
ConstValueIterator (PixelType const &v) | |
ConstValueIterator (ConstValueIterator const &v) | |
ConstValueIterator & | operator= (ConstValueIterator const &v) |
ConstValueIterator & | operator+= (Diff2D const &d) |
ConstValueIterator & | operator-= (Diff2D const &d) |
ConstValueIterator | operator+ (Diff2D const &d) const |
ConstValueIterator | operator- (Diff2D const &d) const |
Diff2D | operator- (ConstValueIterator const &r) const |
bool | operator== (ConstValueIterator const &r) const |
bool | operator!= (ConstValueIterator const &r) const |
reference | operator * () const |
pointer | operator-> () const |
index_reference | operator() (int const &, int const &) const |
index_reference | operator[] (Diff2D const &) const |
row_iterator | rowIterator () const |
column_iterator | columnIterator () const |
Public Attributes | |
Specify coordinate direction for navigation commands | |
int | x |
refer to x coordinate | |
int | y |
refer to y coordinate |
Detailed Description |
This iterator can be used to simulate an image that does not actually exist.
#include "vigra/imageiterator.hxx"
Namespace: vigra
|
The associated column iterator. |
|
the iterator's difference type (argument type of |
|
the iterator's index reference type (return type of |
|
the iterator tag (image traverser) |
|
Let operations act in X direction |
|
Let operations act in Y direction |
|
The type of the constant the iterator holds. |
|
the iterator's pointer type (return type of |
|
the iterator's reference type (return type of |
|
The associated row iterator. |
|
The type of the constant the iterator holds. |
|
Default Constructor. (the constant is set to |
|
Construct with given constant. |
|
Copy Constructor. |
|
Get column iterator at current position (which will also hold the constant). |
|
Read current pixel (return specified constant). |
|
Inequality. |
|
Read pixel at a distance (return specified constant). |
|
Create iterator at specified distance. |
|
Move iterator by specified distance. |
|
Compute distance between two iterators |
|
Create iterator at specified distance. |
|
Move iterator by specified distance. |
|
Call member function for stored constant. |
|
Copy Assigment. |
|
Equality. |
|
Read pixel at a distance (return specified constant). |
|
Get row iterator at current position (which will also hold the constant). |
© Ullrich Köthe (koethe@informatik.uni-hamburg.de) |
html generated using doxygen and Python
|