Public Types | Public Member Functions

mln::canvas::browsing::dir_struct_elt_incr_update_t Struct Reference

Browsing in a certain direction with a segment. More...

#include <dir_struct_elt_incr_update.hh>

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

List of all members.

Public Types

typedef Browsing< void > category
typedef
dir_struct_elt_incr_update_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 with a segment.

This canvas browse all the point of an image 'input' of type 'I', of dimension 'dim' in the direction 'dir' with considering weigh the 'length' nearest points.

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

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


Member Typedef Documentation


Member Function Documentation

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