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 0 0
2 0 0
3 0 0
4 0 0
5 0 0
6 0 0
7 0 0
8 0 0
9 0 0
Definition at line 91 of file directional.hh.