#include <backdiagonal2d.hh>
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 :
F shall features :
{
--- as types:
I;
--- as attributes:
dim;
dir; // and test dir < dim
input;
p;
--- as methods:
void init();
void next();
void final();
}
Example :
-------> | 4 7 9 | 2 5 8 | 1 3 6