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

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

Public Member Functions

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

Public Types

typedef Browsing< void > category
typedef hyper_directional_t exact_t

Detailed Description

Browsing in a certain direction.

This canvas browse all the point of an image 'input' of type 'I' and of dimension 'dim' in the direction 'dir'.

The functor should provide (In addition to 'input', 'I', 'dim' and 'dir') three methods :

  • init() : Will be called at the beginning.
  • next() : Will be called at each point 'p' (also provided by the fonctor).
  • final(): Will be called at the end.

F shall features :
{
— as types:
I;
— as attributes:
dim;
dir; // and test dir < dim
input;
p;
— as methods:
void init();
void next();
void final();
}

modcanvasbrowsing

Definition at line 76 of file hyper_directional.hh.

Constructor & Destructor Documentation

mln::canvas::browsing::hyper_directional_t::hyper_directional_t ( )

Member Function Documentation

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

Member Typedef Documentation

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

Definition at line 60 of file browsing.hh.

Definition at line 105 of file object.hh.