#include <p_centered.hh>

Public Types | |
| typedef p_centered_piter< W > | bkd_piter |
| Backward Site_Iterator associated type. | |
| typedef Site_Set< void > | category |
| typedef psite | element |
| Element associated type. | |
| typedef E | exact_t |
| typedef p_centered_piter< W > | fwd_piter |
| Forward Site_Iterator associated type. | |
| typedef fwd_piter | piter |
| Site_Iterator associated type. | |
| typedef W::psite | psite |
| Psite associated type. | |
| typedef W::site | site |
| Site associated type. | |
Public Member Functions | |
| const W::psite & | center () const |
| Give the center of this site set. | |
| template<typename P> | |
| bool | has (const P &p) const |
Test if p belongs to the box. | |
| bool | is_empty () const |
| Test if the site set is empty. | |
| bool | is_valid () const |
| Test if this site set is initialized. | |
| std::size_t | memory_size () const |
| Return the size of this site set in memory. | |
| p_centered (const W &win, const typename W::psite &c) | |
Constructor from a window win and a center c. | |
| p_centered () | |
| Constructor without argument. | |
| const W & | window () const |
| Give the window this site set is defined upon. | |
Protected Attributes | |
| W::psite | c_ |
| W | win_ |
Related Functions | |
| (Note that these are not member functions.) | |
| template<typename Sl, typename Sr> | |
| p_set< typename Sl::site > | diff (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
Set theoretic difference of lhs and rhs. | |
| template<typename Sl, typename Sr> | |
| p_set< typename Sl::site > | inter (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
| Intersection between a couple of point sets. | |
| template<typename Sl, typename Sr> | |
| bool | operator< (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
Strict inclusion test between site sets lhs and rhs. | |
| template<typename S> | |
| std::ostream & | operator<< (std::ostream &ostr, const Site_Set< S > &set) |
Print a site set set into the output stream ostr. | |
| template<typename Sl, typename Sr> | |
| bool | operator<= (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
Inclusion test between site sets lhs and rhs. | |
| template<typename Sl, typename Sr> | |
| bool | operator== (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
Equality test between site sets lhs and rhs. | |
| template<typename Sl, typename Sr> | |
| p_set< typename Sl::site > | sym_diff (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
Set theoretic symmetrical difference of lhs and rhs. | |
| template<typename Sl, typename Sr> | |
| p_set< typename Sl::site > | uni (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
| Union of a couple of point sets. | |
| template<typename S> | |
| p_set< typename S::site > | unique (const Site_Set< S > &s) |
Give the unique set of s. | |
Definition at line 77 of file p_centered.hh.
| typedef p_centered_piter<W> mln::p_centered< W >::bkd_piter |
typedef Site_Set<void> mln::Site_Set< E >::category [inherited] |
| typedef psite mln::p_centered< W >::element |
typedef E mln::Object< E >::exact_t [inherited] |
| typedef p_centered_piter<W> mln::p_centered< W >::fwd_piter |
| typedef fwd_piter mln::p_centered< W >::piter |
| typedef W ::psite mln::p_centered< W >::psite |
| typedef W ::site mln::p_centered< W >::site |
Site associated type.
Reimplemented from mln::internal::site_set_base_< P, E >.
Definition at line 86 of file p_centered.hh.
| mln::p_centered< W >::p_centered | ( | ) | [inline] |
| mln::p_centered< W >::p_centered | ( | const W & | win, | |
| const typename W::psite & | c | |||
| ) | [inline] |
Constructor from a window win and a center c.
Definition at line 188 of file p_centered.hh.
References mln::p_centered< W >::is_valid().
| const W::psite & mln::p_centered< W >::center | ( | ) | const [inline] |
Give the center of this site set.
Definition at line 216 of file p_centered.hh.
Referenced by mln::p_centered_piter< W >::p_centered_piter().
| bool mln::p_centered< W >::has | ( | const P & | p | ) | const [inline] |
Test if p belongs to the box.
Definition at line 199 of file p_centered.hh.
References mln::p_centered< W >::is_valid().
| bool mln::internal::site_set_base_< P, E >::is_empty | ( | ) | const [inline, inherited] |
Test if the site set is empty.
This final method dispatches to is_empty_ whose default implementation relies on the 'nsites' method.
Definition at line 84 of file site_set_base.hh.
References mln::exact().
Referenced by mln::canvas::labeling::impl::generic::blobs(), mln::p_set_of< S >::clear(), mln::p_mutable_array_of< S >::clear(), mln::p_array< P >::clear(), mln::canvas::impl::generic::distance_geodesic(), mln::morpho::watershed::impl::generic::flooding(), mln::morpho::watershed::impl::flooding_fastest(), mln::p_queue_fast< P >::front(), mln::p_queue< P >::front(), mln::p_priority< P, Q >::front(), mln::p_priority< P, Q >::highest_priority(), mln::registration::icp(), mln::influence_zones(), mln::p_priority< P, Q >::lowest_priority(), mln::morpho::meyer_wst(), mln::p_queue_fast< P >::pop(), mln::p_queue< P >::pop(), mln::p_priority< P, Q >::pop(), mln::p_queue_fast< P >::pop_front(), mln::p_queue< P >::pop_front(), mln::p_priority< P, Q >::pop_front(), mln::registration::internal::registration_tests(), mln::geom::impl::seeds2tiling(), mln::geom::impl::seeds2tiling_roundness(), mln::morpho::skeleton_constrained(), and mln::morpho::watershed::topological().
| bool mln::p_centered< W >::is_valid | ( | ) | const [inline] |
Test if this site set is initialized.
Definition at line 175 of file p_centered.hh.
Referenced by mln::p_centered< W >::has(), and mln::p_centered< W >::p_centered().
| std::size_t mln::p_centered< W >::memory_size | ( | ) | const [inline] |
| const W & mln::p_centered< W >::window | ( | ) | const [inline] |
| bool operator< | ( | const Site_Set< Sl > & | lhs, | |
| const Site_Set< Sr > & | rhs | |||
| ) | [related, inherited] |
| std::ostream & operator<< | ( | std::ostream & | ostr, | |
| const Site_Set< S > & | set | |||
| ) | [related, inherited] |
| bool operator<= | ( | const Site_Set< Sl > & | lhs, | |
| const Site_Set< Sr > & | rhs | |||
| ) | [related, inherited] |
| bool operator== | ( | const Site_Set< Sl > & | lhs, | |
| const Site_Set< Sr > & | rhs | |||
| ) | [related, inherited] |
W ::psite mln::p_centered< W >::c_ [protected] |
Definition at line 129 of file p_centered.hh.
W mln::p_centered< W >::win_ [protected] |
Definition at line 128 of file p_centered.hh.
1.5.6