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