#include <snake_fwd.hh>
Public Types | |
typedef Browsing< void > | category |
typedef E | exact_t |
Public Member Functions | |
void | final () |
void | init () |
template<typename F> | |
void | operator() (F &f) const |
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 fwd();
void bkd();
}
Definition at line 83 of file snake_fwd.hh.
typedef Browsing<void> mln::Browsing< E >::category [inherited] |
typedef E mln::Object< E >::exact_t [inherited] |
void mln::Browsing< E >::final | ( | ) | [inline, inherited] |
Definition at line 84 of file browsing.hh.
void mln::Browsing< E >::init | ( | ) | [inline, inherited] |
Definition at line 78 of file browsing.hh.
void mln::canvas::browsing::snake_fwd_t::operator() | ( | F & | f | ) | const [inline] |
Definition at line 98 of file snake_fwd.hh.
References mln::trace::entering(), mln::trace::exiting(), mln::canvas::browsing::fwd, mln::geom::max_col(), mln::geom::max_row(), mln::geom::min_col(), and mln::geom::min_row().