$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_indexes< I > Struct Template Reference

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

Public Member Functions

 closest_point_functor_with_indexes (const p_array< P > &pset)
void init (const I &)
void init_ (const I &input)
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_

Public Types

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

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 54 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 &  )

Generic version interface.

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

Fast version interface.

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

Member Data Documentation

Definition at line 61 of file closest_point_functor.hh.

template<typename I >
const p_array<P>& mln::transform::internal::closest_point_functor_with_indexes< I >::pset_

Definition at line 62 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 57 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 56 of file closest_point_functor.hh.