Browsing in a certain direction.
This canvas browse all the point of an image 'input' of type 'I' and of dimension 'dim' in the direction 'dir'.
The functor should provide (In addition to 'input', 'I', 'dim' and 'dir') three methods :
- init() : Will be called at the beginning.
- next() : Will be called at each point 'p' (also provided by the fonctor).
- final(): Will be called at the end.
F shall features :
- As types:
- As attributes:
- dim;
- dir; // and test dir < dim
- input;
- p;
As methods:
Example :
------->
| 1 3 6
| 2 5 8
| 4 7 9
Definition at line 83 of file diagonal2d.hh.