Base of the implementation of an iterator over the transformation domain This iterator takes care of iterating over the transformation range. X is the fastest changing index. Some methods are abstract and must be defined in derived classes by using the specific transformation model.
More...
#include <mia/2d/transform.hh>
Base of the implementation of an iterator over the transformation domain This iterator takes care of iterating over the transformation range. X is the fastest changing index. Some methods are abstract and must be defined in derived classes by using the specific transformation model.
Definition at line 79 of file 2d/transform.hh.
C2DTransformation::iterator_impl::iterator_impl |
( |
) | |
|
C2DTransformation::iterator_impl::iterator_impl |
( |
const C2DBounds & |
pos, |
|
|
const C2DBounds & |
size |
|
) |
| |
Constructor to initialize the iterator at a certain point
- Parameters
-
pos | current position of the iterator |
size | defines the grid of the domain of the iterator as |
void C2DTransformation::iterator_impl::advance |
( |
unsigned int |
delta) | |
|
fast advance the position
virtual iterator_impl* C2DTransformation::iterator_impl::clone |
( |
) | |
const |
|
pure virtual |
- Returns
- a dynamically allocated copy of the iterator
const C2DBounds& C2DTransformation::iterator_impl::get_pos |
( |
) | |
const |
- Returns
- the cutrrent grid position of the iterator
const C2DBounds& C2DTransformation::iterator_impl::get_size |
( |
) | |
const |
- Returns
- the domain size of the underlying transformation
const C2DFVector& C2DTransformation::iterator_impl::get_value |
( |
) | |
const |
- Returns
- the current value of the transformation iterated over
void C2DTransformation::iterator_impl::increment |
( |
) | |
|
bool C2DTransformation::iterator_impl::operator== |
( |
const iterator_impl & |
other) | |
const |
Compare the iterator to another one
- Parameters
-
- Returns
- true if the positions are equal or both are at the end of the range
void C2DTransformation::iterator_impl::print |
( |
std::ostream & |
os) | |
const |
Print some information about the iteratorto an output stream, mostely used for debugging purpouses
- Parameters
-
The documentation for this class was generated from the following file: