#include <p_transformed.hh>

Public Types | |
| typedef p_transformed_piter < typename S::bkd_piter, S, F > | bkd_piter |
| Backward Site_Iterator associated type. | |
| typedef Site_Set< void > | category |
| typedef S::element | element |
| Element associated type. | |
| typedef E | exact_t |
| typedef p_transformed_piter < typename S::fwd_piter, S, F > | fwd_piter |
| Forward Site_Iterator associated type. | |
| typedef fwd_piter | piter |
| Site_Iterator associated type. | |
| typedef S::psite | psite |
| Psite associated type. | |
| typedef subject< P >::ret | site |
| Site associated type. | |
Public Member Functions | |
| const F & | function () const |
| Return the transformation function. | |
| bool | has (const psite &p) const |
Test if p belongs to the subset. | |
| bool | is_empty () const |
| Test if the site set is empty. | |
| bool | is_valid () const |
| Test if this site set is valid. | |
| std::size_t | memory_size () const |
| Return the size of this site set in memory. | |
| p_transformed () | |
| Constructor without argument. | |
| p_transformed (const S &s, const F &f) | |
Constructor with a site set s and a predicate f. | |
| const S & | primary_set () const |
| Return the primary set. | |
Protected Attributes | |
| F | f_ |
| S | s_ |
Package Attributes | |
| __pad0__:site_set_base_<typename F ::result | |
| self_ | super_ |
Private Types | |
| typedef p_transformed< S, F > | self_ |
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. | |
Parameter S is a site set type; parameter F is a function from site to site.
Definition at line 82 of file p_transformed.hh.
| typedef p_transformed_piter<typename S ::bkd_piter, S, F> mln::p_transformed< S, F >::bkd_piter |
typedef Site_Set<void> mln::Site_Set< E >::category [inherited] |
| typedef S ::element mln::p_transformed< S, F >::element |
typedef E mln::Object< E >::exact_t [inherited] |
| typedef p_transformed_piter<typename S ::fwd_piter, S, F> mln::p_transformed< S, F >::fwd_piter |
| typedef fwd_piter mln::p_transformed< S, F >::piter |
| typedef S ::psite mln::p_transformed< S, F >::psite |
typedef p_transformed<S,F> mln::p_transformed< S, F >::self_ [private] |
Definition at line 86 of file p_transformed.hh.
typedef subject<P>::ret mln::internal::site_set_base_< P, E >::site [inherited] |
Site associated type.
Reimplemented in mln::p_centered< W >.
Definition at line 55 of file site_set_base.hh.
| mln::p_transformed< S, F >::p_transformed | ( | const S & | s, | |
| const F & | f | |||
| ) | [inline] |
| mln::p_transformed< S, F >::p_transformed | ( | ) | [inline] |
| const F & mln::p_transformed< S, F >::function | ( | ) | const [inline] |
| bool mln::p_transformed< S, F >::has | ( | const psite & | p | ) | const [inline] |
Test if p belongs to the subset.
Definition at line 172 of file p_transformed.hh.
References mln::convert::from_to().
| 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_transformed< S, F >::is_valid | ( | ) | const [inline] |
| std::size_t mln::p_transformed< S, F >::memory_size | ( | ) | const [inline] |
| const S & mln::p_transformed< S, F >::primary_set | ( | ) | const [inline] |
Return the primary set.
Definition at line 198 of file p_transformed.hh.
Referenced by mln::p_transformed_piter< Pi, S, F >::change_target().
| 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] |
mln::p_transformed< S, F >::__pad0__ [package] |
Definition at line 87 of file p_transformed.hh.
F mln::p_transformed< S, F >::f_ [protected] |
Definition at line 134 of file p_transformed.hh.
S mln::p_transformed< S, F >::s_ [protected] |
Definition at line 133 of file p_transformed.hh.
self_ mln::p_transformed< S, F >::super_ [package] |
Definition at line 87 of file p_transformed.hh.
1.5.6