$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
scribo::primitive::link::internal::link_several_dmax_base< L, E > Class Template Reference

#include <scribo/primitive/link/internal/link_several_dmax_base.hh>

Public Types

typedef Object< void > category
typedef component_set< L > component_set_t
typedef E exact_t
typedef L support

Public Member Functions

 link_several_dmax_base (const component_set< L > &comps, unsigned neighb_max_distance)
const util::array< anchor::Type > & anchors () const
const component_set< L > & components () const
void compute_next_site (P &p)
void compute_next_site_ (P &p)
couple_t finalize_link (unsigned current_object)
couple_t finalize_link_ (unsigned current_object)
void initialize_link (unsigned current_object)
void initialize_link_ (unsigned current_object)
void invalidate_link (unsigned current_object, const P &start_point, const P &p, anchor::Type anchor)
void invalidate_link (unsigned current_object, const P &start_point, const P &p)
void invalidate_link_ (unsigned current_object, const P &start_point, const P &p, anchor::Type anchor)
bool is_potential_link (unsigned current_object, const P &start_point, const P &p) const
bool is_potential_link_ (unsigned current_object, const P &start_point, const P &p) const
const L & labeled_image () const
unsigned link (unsigned object) const
const object_links< L > & links () const
unsigned nanchors () const
L::site start_point (unsigned current_object, anchor::Type anchor)
L::site start_point (unsigned current_object)
L::site start_point_ (unsigned current_object, anchor::Type anchor)
void start_processing_object (unsigned current_object)
void start_processing_object_ (unsigned current_object)
bool valid_link (unsigned current_object, const P &start_point, const P &p, anchor::Type anchor)
bool valid_link_ (unsigned current_object, const P &start_point, const P &p, anchor::Type anchor)
void validate_link (unsigned current_object, const P &start_point, const P &p, anchor::Type anchor)
void validate_link (unsigned current_object, const P &start_point, const P &p)
void validate_link_ (unsigned current_object, const P &start_point, const P &p, anchor::Type anchor)
bool verify_link_criterion (unsigned current_object, const P &start_point, const P &p, anchor::Type anchor) const
bool verify_link_criterion_ (unsigned current_object, const P &start_point, const P &p, anchor::Type anchor) const

Protected Attributes

mln::util::array< anchor::Type > anchors_
const component_set< L > components_
anchor::Direction direction_
float dmax_
const L & labeled_image_
object_links< L > links_
float neighb_max_distance_
mln::util::array< couple_tpotential_links_

Detailed Description

template<typename L, typename E>
class scribo::primitive::link::internal::link_several_dmax_base< L, E >

Base class for link functors using several anchors and a maximum lookup distance.

Definition at line 70 of file link_several_dmax_base.hh.

Member Function Documentation

template<typename L, typename E>
void scribo::primitive::link::internal::link_functor_base< L, E >::invalidate_link ( unsigned  current_object,
const P &  start_point,
const P &  p 
)
inherited

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.anchor is set to anchor::MassCenter.

template<typename L, typename E>
L ::site scribo::primitive::link::internal::link_functor_base< L, E >::start_point ( unsigned  current_object)
inherited

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.anchor is set to anchor::MassCenter.

template<typename L, typename E>
void scribo::primitive::link::internal::link_functor_base< L, E >::validate_link ( unsigned  current_object,
const P &  start_point,
const P &  p 
)
inherited

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.anchor is set to anchor::MassCenter.