Public Types | Public Member Functions

mln::canvas::browsing::backdiagonal2d_t Struct Reference

Browsing in a certain direction. More...

#include <backdiagonal2d.hh>

Inheritance diagram for mln::canvas::browsing::backdiagonal2d_t:
Inheritance graph

List of all members.

Public Types

typedef Browsing< void > category
typedef backdiagonal2d_t 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 :

-------> | 4 7 9 | 2 5 8 | 1 3 6

Definition at line 83 of file backdiagonal2d.hh.


Member Typedef Documentation

typedef Browsing<void> mln::Browsing< backdiagonal2d_t >::category [inherited]

Reimplemented from mln::Object< backdiagonal2d_t >.

Definition at line 58 of file browsing.hh.

Definition at line 173 of file object.hh.


Member Function Documentation

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

Definition at line 106 of file backdiagonal2d.hh.

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