Public Types | Public Member Functions | Public Attributes

mln::transform::internal::closest_point_functor_with_indexes< 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_indexes (const p_array< P > &pset)
void init (const I &)
 Generic version interface.
void init_ (const I &input)
 Fast version interface.
void init_p (const P &)
void init_p_ (unsigned)
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,
unsigned >::ret 
cp_ima
const p_array< P > & pset_

Detailed Description

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

Functor to be passed to a canvas.

Computes an image of closest points.

The image values are initialized with pset.nsites().

Definition at line 53 of file closest_point_functor.hh.


Member Typedef Documentation

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

Definition at line 56 of file closest_point_functor.hh.

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

Definition at line 55 of file closest_point_functor.hh.


Constructor & Destructor Documentation


Member Function Documentation

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

Fast version interface.

Definition at line 166 of file closest_point_functor.hh.

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

template<typename I >
void mln::transform::internal::closest_point_functor_with_indexes< I >::init_p ( const P  )  [inline]

Definition at line 142 of file closest_point_functor.hh.

template<typename I >
void mln::transform::internal::closest_point_functor_with_indexes< I >::init_p_ ( unsigned   )  [inline]

Definition at line 181 of file closest_point_functor.hh.

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

Definition at line 149 of file closest_point_functor.hh.

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

Definition at line 188 of file closest_point_functor.hh.

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

Definition at line 134 of file closest_point_functor.hh.

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

Definition at line 174 of file closest_point_functor.hh.

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

Definition at line 196 of file closest_point_functor.hh.


Member Data Documentation

Definition at line 61 of file closest_point_functor.hh.