$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::p_runs2d Class Reference

#include <mln/core/alias/p_runs2d.hh>

Public Member Functions

q_box bbox () const
void clear ()
bool has (const psite &p) const
void insert (const p_run< point2d > &s)
bool is_empty () const
bool is_valid () const
std::size_t memory_size () const
unsigned nelements () const
const p_run< point2d > & operator[] (unsigned i) const
const util::set< p_run
< point2d > > & 
set_hook_ () const

Protected Member Functions

void update_bbox_ (const typename p_run< point2d >::site &p)
void update_bbox_ (const Site_Set< S > &s)
void update_nsites_ (const T &)

Protected Attributes

accu::shape::bbox< typename
p_run< point2d >::site
bb_
util::set< p_run< point2d > > s_

Public Types

typedef p_double_piter< self_,
mln_bkd_eiter(set_), typename
p_run< point2d >::bkd_piter
bkd_piter
typedef Site_Set< void > category
typedef p_run< point2delement
typedef p_set_of< p_run
< point2d > > 
exact_t
typedef p_double_piter< self_,
mln_fwd_eiter(set_), typename
p_run< point2d >::fwd_piter
fwd_piter
typedef p_run< point2di_element
typedef fwd_piter piter
typedef p_double_psite< self_,
element
psite
typedef const mln::box
< typename p_run< point2d >
::site > & 
q_box
typedef subject< p_run
< point2d >::site >::ret 
site

Detailed Description

Type alias for a set of runs of 2d points.

Definition at line 6 of file p_runs2d.dox.

Member Function Documentation

q_box mln::internal::site_set_impl__bbox< mln_trait_site_set_bbox(p_run< point2d >) , p_run< point2d > >::bbox ( ) const
inherited
void mln::p_set_of< p_run< point2d > >::clear ( )
inherited

Clear this set.

bool mln::p_set_of< p_run< point2d > >::has ( const psite p) const
inherited

Test if p belongs to this point set.

void mln::p_set_of< p_run< point2d > >::insert ( const p_run< point2d > &  s)
inherited

Insert a site set s.

bool mln::internal::site_set_base_< p_run< point2d >::site , p_set_of< p_run< point2d > > >::is_empty ( ) const
inherited

Test if the site set is empty.

This final method dispatches to is_empty_ whose default implementation relies on the 'nsites' method.

bool mln::p_set_of< p_run< point2d > >::is_valid ( ) const
inherited

Test if this set of runs is valid.

std::size_t mln::p_set_of< p_run< point2d > >::memory_size ( ) const
inherited

Return the size of this site set in memory.

unsigned mln::p_set_of< p_run< point2d > >::nelements ( ) const
inherited

Give the number of elements (site sets) of this composite.

const p_run< point2d > & mln::p_set_of< p_run< point2d > >::operator[] ( unsigned  i) const
inherited

Return the i-th site set.

const util::set<p_run< point2d > >& mln::p_set_of< p_run< point2d > >::set_hook_ ( ) const
inherited

Hook to the set of runs.

void mln::internal::site_set_impl__bbox< mln_trait_site_set_bbox(p_run< point2d >) , p_run< point2d > >::update_bbox_ ( const typename p_run< point2d > ::site p)
protectedinherited
void mln::internal::site_set_impl__bbox< mln_trait_site_set_bbox(p_run< point2d >) , p_run< point2d > >::update_bbox_ ( const Site_Set< S > &  s)
protectedinherited
void mln::internal::site_set_impl__nsites< mln_trait_site_set_nsites(p_run< point2d >) , p_run< point2d > >::update_nsites_ ( const T )
protectedinherited

Member Data Documentation

accu::shape::bbox<typename p_run< point2d > ::site> mln::internal::site_set_impl__bbox< mln_trait_site_set_bbox(p_run< point2d >) , p_run< point2d > >::bb_
protectedinherited

Definition at line 87 of file site_set_impl.hh.

util::set<p_run< point2d > > mln::p_set_of< p_run< point2d > >::s_
protectedinherited

Set of site sets.

Definition at line 148 of file p_set_of.hh.

Member Typedef Documentation

typedef p_double_piter<self_, mln_bkd_eiter(set_), typename p_run< point2d > ::bkd_piter> mln::p_set_of< p_run< point2d > >::bkd_piter
inherited

Backward Site_Iterator associated type.

Definition at line 96 of file p_set_of.hh.

typedef Site_Set<void> mln::Site_Set< p_set_of< p_run< point2d > > >::category
inherited

Definition at line 74 of file core/concept/site_set.hh.

typedef p_run< point2d > mln::p_set_of< p_run< point2d > >::element
inherited

Element associated type.

Definition at line 82 of file p_set_of.hh.

typedef p_set_of< p_run< point2d > > mln::Object< p_set_of< p_run< point2d > > >::exact_t
inherited

Definition at line 105 of file object.hh.

typedef p_double_piter<self_, mln_fwd_eiter(set_), typename p_run< point2d > ::fwd_piter> mln::p_set_of< p_run< point2d > >::fwd_piter
inherited

Forward Site_Iterator associated type.

Definition at line 91 of file p_set_of.hh.

typedef p_run< point2d > mln::p_set_of< p_run< point2d > >::i_element
inherited

Insertion element associated type.

Definition at line 114 of file p_set_of.hh.

typedef fwd_piter mln::p_set_of< p_run< point2d > >::piter
inherited

Site_Iterator associated type.

Definition at line 99 of file p_set_of.hh.

Psite associated type.

Definition at line 86 of file p_set_of.hh.

typedef const mln::box<typename p_run< point2d > ::site>& mln::internal::site_set_impl__bbox< mln_trait_site_set_bbox(p_run< point2d >) , p_run< point2d > >::q_box
inherited

Definition at line 79 of file site_set_impl.hh.

Site associated type.

Definition at line 58 of file site_set_base.hh.