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


Member Typedef Documentation

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

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]
template<typename I >
void mln::transform::internal::closest_point_functor_with_indexes< I >::init_p ( const P  )  [inline]
template<typename I >
void mln::transform::internal::closest_point_functor_with_indexes< I >::init_p_ ( unsigned   )  [inline]
template<typename I >
bool mln::transform::internal::closest_point_functor_with_indexes< I >::inqueue_p_wrt_input_n ( const V input_n  )  [inline]
template<typename I >
bool mln::transform::internal::closest_point_functor_with_indexes< I >::inqueue_p_wrt_input_n_ ( const V input_n  )  [inline]
template<typename I >
bool mln::transform::internal::closest_point_functor_with_indexes< I >::inqueue_p_wrt_input_p ( const V input_p  )  [inline]
template<typename I >
bool mln::transform::internal::closest_point_functor_with_indexes< I >::inqueue_p_wrt_input_p_ ( const V input_p  )  [inline]
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]

Member Data Documentation