$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::transform::internal::closest_point_functor_with_sites< I > Struct Template Reference

#include <mln/transform/internal/closest_point_functor.hh>

Public Member Functions

 closest_point_functor_with_sites ()
void init (const I &)
void init_ (const I &input)
void init_p (const P &)
void init_p_ (unsigned p)
bool inqueue_p_wrt_input_n (const V &input_n)
bool inqueue_p_wrt_input_n_ (const V &input_n)
bool inqueue_p_wrt_input_p (const V &input_p)
bool inqueue_p_wrt_input_p_ (const V &input_p)
void process (const P &, const P &)
void process_ (unsigned p, unsigned n)

Public Attributes

mln::trait::ch_value< I, P >::ret cp_ima

Public Types

typedef I::psite P
typedef I::value V

Detailed Description

template<typename I>
struct mln::transform::internal::closest_point_functor_with_sites< I >

Functor to be passed to a canvas.

Computes an image of closest points.

The image values are initialized with literal::origin.

Definition at line 84 of file closest_point_functor.hh.

Constructor & Destructor Documentation

Member Function Documentation

template<typename I >
void mln::transform::internal::closest_point_functor_with_sites< I >::init ( const I &  )

Generic version interface.

template<typename I >
void mln::transform::internal::closest_point_functor_with_sites< I >::init_ ( const I &  input)

Fast version interface.

template<typename I >
void mln::transform::internal::closest_point_functor_with_sites< I >::init_p ( const P )
template<typename I >
void mln::transform::internal::closest_point_functor_with_sites< I >::init_p_ ( unsigned  p)
template<typename I >
bool mln::transform::internal::closest_point_functor_with_sites< I >::inqueue_p_wrt_input_n ( const V input_n)
template<typename I >
bool mln::transform::internal::closest_point_functor_with_sites< I >::inqueue_p_wrt_input_n_ ( const V input_n)
template<typename I >
bool mln::transform::internal::closest_point_functor_with_sites< I >::inqueue_p_wrt_input_p ( const V input_p)
template<typename I >
bool mln::transform::internal::closest_point_functor_with_sites< I >::inqueue_p_wrt_input_p_ ( const V input_p)
template<typename I >
void mln::transform::internal::closest_point_functor_with_sites< I >::process ( const P ,
const P  
)
template<typename I >
void mln::transform::internal::closest_point_functor_with_sites< I >::process_ ( unsigned  p,
unsigned  n 
)

Member Data Documentation

Definition at line 91 of file closest_point_functor.hh.

Member Typedef Documentation

template<typename I >
typedef I ::psite mln::transform::internal::closest_point_functor_with_sites< I >::P

Definition at line 87 of file closest_point_functor.hh.

template<typename I >
typedef I ::value mln::transform::internal::closest_point_functor_with_sites< I >::V

Definition at line 86 of file closest_point_functor.hh.