|
My Project
|
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>
Public Member Functions | |
| void | advance (unsigned int delta) |
| fast advance the position | |
| virtual iterator_impl * | clone () const __attribute__((warn_unused_result))=0 |
| const C2DBounds & | get_pos () const |
| const C2DBounds & | get_size () const |
| const C2DFVector & | get_value () const |
| void | increment () |
| increment the position | |
| iterator_impl () | |
| iterator_impl (const C2DBounds &pos, const C2DBounds &size) | |
| bool | operator== (const iterator_impl &other) const |
| void | print (std::ostream &os) const |
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 80 of file 2d/transform.hh.
| C2DTransformation::iterator_impl::iterator_impl | ( | ) |
Referenced by clone(), and operator==().
Constructor to initialize the iterator at a certain point
| pos | current position of the iterator |
| size | defines the grid of the domain of the iterator as \([pos.x, size.x-1] \times [pos.y, size.y-1]\) |
| void C2DTransformation::iterator_impl::advance | ( | unsigned int | delta | ) |
fast advance the position
|
pure virtual |
References iterator_impl().
| const C2DBounds & C2DTransformation::iterator_impl::get_pos | ( | ) | const |
| const C2DBounds & C2DTransformation::iterator_impl::get_size | ( | ) | const |
References get_size().
Referenced by get_size().
| const C2DFVector & C2DTransformation::iterator_impl::get_value | ( | ) | const |
| void C2DTransformation::iterator_impl::increment | ( | ) |
increment the position
| bool C2DTransformation::iterator_impl::operator== | ( | const iterator_impl & | other | ) | const |
Compare the iterator to another one
| other |
References iterator_impl().
| void C2DTransformation::iterator_impl::print | ( | std::ostream & | os | ) | const |