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

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

#include <snake_vert.hh>

Inheritance diagram for mln::canvas::browsing::snake_vert_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.
  • up() : Will ba called after each moving up.
  • fwd() : Will be called after each moving right. (will also be called once at the first point).

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 up();
void fwd();
}

Definition at line 84 of file snake_vert.hh.

 All Classes Namespaces Functions Variables Typedefs Enumerator