Public Types | Public Member Functions

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.

Public Types

typedef Browsing< void > category
typedef snake_vert_t exact_t

Public Member Functions

void final ()
void init ()
template<typename F >
void operator() (F &f) const

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 :

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 83 of file snake_vert.hh.


Member Typedef Documentation

typedef Browsing<void> mln::Browsing< snake_vert_t >::category [inherited]

Reimplemented from mln::Object< snake_vert_t >.

Definition at line 58 of file browsing.hh.

typedef snake_vert_t mln::Object< snake_vert_t >::exact_t [inherited]

Definition at line 173 of file object.hh.


Member Function Documentation

void mln::Browsing< snake_vert_t >::final (  )  [inherited]
void mln::Browsing< snake_vert_t >::init (  )  [inherited]
template<typename F >
void mln::canvas::browsing::snake_vert_t::operator() ( F &  f  )  const [inline]