Browsing in a snake-way, forward. More...
#include <snake_fwd.hh>
Public Types | |
typedef Browsing< void > | category |
typedef snake_fwd_t | exact_t |
Public Member Functions | |
void | final () |
void | init () |
template<typename F > | |
void | operator() (F &f) const |
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 fwd();
void bkd();
}
typedef Browsing<void> mln::Browsing< snake_fwd_t >::category [inherited] |
Reimplemented from mln::Object< snake_fwd_t >.
typedef snake_fwd_t mln::Object< snake_fwd_t >::exact_t [inherited] |
void mln::Browsing< snake_fwd_t >::final | ( | ) | [inherited] |
void mln::Browsing< snake_fwd_t >::init | ( | ) | [inherited] |
void mln::canvas::browsing::snake_fwd_t::operator() | ( | F & | f | ) | const [inline] |