Milena (Olena)  User documentation 2.0a Id
mln::canvas::browsing::snake_fwd_t Struct Reference

Browsing in a snake-way, forward. More...

#include <snake_fwd.hh>

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

List of all members.


Detailed Description

Browsing in a snake-way, forward.

This canvas browse all the point of an image 'input' like this :

-------> <------' '------>

The fonctor should provide (In addition to 'input') four methods :

  • init() : Will be called at the beginning.
  • down() : Will be called after each moving down. (will also be called once at the first point).
  • fwd() : Will be called after each moving right.
  • bwd() : Will ba called after each moving left.

This methods should acces to the current working point 'p' also provided by the functor.

Warning: This canvas works only on 2D.

F shall feature:
{
--- as attributes:
input;
p;
--- as methods:
void init();
void down();
void fwd();
void bkd();
}

Definition at line 84 of file snake_fwd.hh.

 All Classes Namespaces Functions Variables Typedefs Enumerator