mln::canvas::browsing::directional_t Struct Reference

Browsing in a certain direction. More...

#include <directional.hh>

Inheritance diagram for mln::canvas::browsing::directional_t:

Inheritance graph

List of all members.

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


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 :

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

Example :

1 0 0 2 0 0 3 0 0

4 0 0 5 0 0 6 0 0

7 0 0 8 0 0 9 0 0

Definition at line 89 of file directional.hh.


Member Typedef Documentation

template<typename E>
typedef Browsing<void> mln::Browsing< E >::category [inherited]

Reimplemented from mln::Object< E >.

Definition at line 58 of file browsing.hh.

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]

Definition at line 172 of file object.hh.


Member Function Documentation

template<typename E>
void mln::Browsing< E >::final (  )  [inline, inherited]

Definition at line 84 of file browsing.hh.

template<typename E>
void mln::Browsing< E >::init (  )  [inline, inherited]

Definition at line 78 of file browsing.hh.

template<typename F>
void mln::canvas::browsing::directional_t::operator() ( F &  f  )  const [inline]

Definition at line 104 of file directional.hh.

References mln::trace::entering(), and mln::trace::exiting().


Generated on Sun Apr 25 01:57:50 2010 for Milena (Olena) by  doxygen 1.5.6