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:
I;
— as attributes:
dim;
dir; // and test dir < dim
input;
p;
— as methods:
void init();
void next();
void final();
}
modcanvasbrowsing
Definition at line 76 of file hyper_directional.hh.