$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::canvas::browsing::snake_generic_t Struct Reference

#include <mln/canvas/browsing/snake_generic.hh>

Public Member Functions

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

Public Types

typedef Browsing< void > category
typedef snake_generic_t exact_t

Detailed Description

Multidimentional Browsing in a given-way.

F shall feature:

  • As attributes:
    • input
    • p
  • As methods:

    • void init()
    • void *() moves[]
    • dpsite dps[]

    init() is called before browsing

    The snake follow dimension using the delta point site of dps.

    • dps[0] = delta psite following the global dimension (forward)
    • dps[1] = delta psite following the 2nd dimension to follow (forward).
    • dps[2] = delta psite following the 2nd dimension to follow (backward).
    • dps[3] = delta psite following the 3nd dimension to follow (forward).
    • dps[3] = delta psite following the 3nd dimension to follow (backward).

    moves contains pointer to f's members. These members will be called each time the snake progress in the correct dimension: moves[i] is called at each move following the delta psite dps[i].

Definition at line 76 of file snake_generic.hh.

Constructor & Destructor Documentation

mln::canvas::browsing::snake_generic_t::snake_generic_t ( )

Member Function Documentation

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

Member Typedef Documentation

typedef Browsing<void> mln::Browsing< snake_generic_t >::category
inherited

Definition at line 60 of file browsing.hh.

Definition at line 105 of file object.hh.