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

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

Public Member Functions

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

Public Types

typedef Browsing< void > category
typedef
dir_struct_elt_incr_update_t 
exact_t

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 :

  • init() : Will be called at the beginning.
  • init_line() : Will be called at the beginning of each line.
  • add_point(q) : Will be called for taking the new point 'q' into account.
  • remove_point(q): Will be called for untaking the new point 'q' into account.
  • next() : Will be called at each point 'p' (also provided by the functor).
  • final() : Will be called at the end.

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()

Definition at line 87 of file dir_struct_elt_incr_update.hh.

Constructor & Destructor Documentation

mln::canvas::browsing::dir_struct_elt_incr_update_t::dir_struct_elt_incr_update_t ( )

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

Member Typedef Documentation

Definition at line 60 of file browsing.hh.