Public Types | Public Member Functions | Public Attributes

mln::transform::internal::closest_point_functor_with_sites< I > Struct Template Reference

Functor to be passed to a canvas. More...

#include <closest_point_functor.hh>

List of all members.

Public Types

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

Public Member Functions

 closest_point_functor_with_sites ()
 /// closest_point_functor_with_sites /// /
void init (const I &)
 Generic version interface.
void init_ (const I &input)
 Fast version interface.
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

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 83 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 86 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 85 of file closest_point_functor.hh.


Constructor & Destructor Documentation

/// closest_point_functor_with_sites /// /

Definition at line 209 of file closest_point_functor.hh.


Member Function Documentation

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

Fast version interface.

Definition at line 259 of file closest_point_functor.hh.

References mln::transform::internal::closest_point_functor_with_sites< I >::init().

template<typename I >
void mln::transform::internal::closest_point_functor_with_sites< I >::init_p ( const P p  )  [inline]
template<typename I >
void mln::transform::internal::closest_point_functor_with_sites< I >::init_p_ ( unsigned  p  )  [inline]

Definition at line 274 of file closest_point_functor.hh.

template<typename I >
bool mln::transform::internal::closest_point_functor_with_sites< I >::inqueue_p_wrt_input_n ( const V input_n  )  [inline]

Definition at line 241 of file closest_point_functor.hh.

template<typename I >
bool mln::transform::internal::closest_point_functor_with_sites< I >::inqueue_p_wrt_input_n_ ( const V input_n  )  [inline]

Definition at line 282 of file closest_point_functor.hh.

template<typename I >
bool mln::transform::internal::closest_point_functor_with_sites< I >::inqueue_p_wrt_input_p ( const V input_p  )  [inline]

Definition at line 225 of file closest_point_functor.hh.

template<typename I >
bool mln::transform::internal::closest_point_functor_with_sites< I >::inqueue_p_wrt_input_p_ ( const V input_p  )  [inline]

Definition at line 267 of file closest_point_functor.hh.

template<typename I >
void mln::transform::internal::closest_point_functor_with_sites< I >::process ( const P p,
const P n 
) [inline]
template<typename I >
void mln::transform::internal::closest_point_functor_with_sites< I >::process_ ( unsigned  p,
unsigned  n 
) [inline]

Definition at line 290 of file closest_point_functor.hh.


Member Data Documentation