mln::canvas::browsing::diagonal2d_t Struct Reference

Browsing in a certain direction. More...

#include <diagonal2d.hh>

Inheritance diagram for mln::canvas::browsing::diagonal2d_t:
Inheritance graph

List of all members.


Detailed Description

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 :

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 :

| 1 3 6 | 2 5 8 | 4 7 9 L------>

Definition at line 82 of file diagonal2d.hh.