#include <p_faces.hh>
Public Types | |
typedef Site_Set< void > | category |
typedef E | exact_t |
typedef p_faces< N, D, P > | self_ |
typedef subject< P >::ret | site |
Site associated type. | |
Public Member Functions | |
bool | is_empty () const |
Test if the site set is empty. | |
Package Types | |
typedef p_faces_bkd_piter_< N, D, P > | bkd_piter |
Backward Site_Iterator associated type. | |
typedef super_::site | element |
Associated types. | |
typedef p_faces_fwd_piter_< N, D, P > | fwd_piter |
Forward Site_Iterator associated type. | |
typedef fwd_piter | piter |
Site_Iterator associated type. | |
typedef faces_psite< N, D, P > | psite |
Point_Site associated type. | |
Package Functions | |
bool | has (const psite &p) const |
bool | is_valid () const |
Is this site set valid? | |
std::size_t | memory_size () const |
unsigned | nfaces () const |
Return The number of faces in the complex. | |
unsigned | nsites () const |
Return The number of sites of the set, i.e., the number of faces. | |
p_faces (const p_complex< D, P > &pc) | |
Construct a faces psite set from an mln::p_complex. | |
p_faces (const topo::complex< D > &cplx) | |
Construct a faces psite set from an mln::complex. | |
topo::complex< D > & | cplx () |
Return the complex associated to the p_faces domain (mutable version). | |
topo::complex< D > & | cplx () const |
Accessors. | |
Package Attributes | |
__pad0__:site_set_base_< faces_psite<N | |
D | |
P | |
self_ | super_ |
Private Attributes | |
topo::complex< D > | cplx_ |
The complex on which this pset is built. | |
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_faces.hh.
typedef p_faces_bkd_piter_<N, D, P> mln::p_faces< N, D, P >::bkd_piter [package] |
typedef Site_Set<void> mln::Site_Set< E >::category [inherited] |
typedef E mln::Object< E >::exact_t [inherited] |
typedef p_faces_fwd_piter_<N, D, P> mln::p_faces< N, D, P >::fwd_piter [package] |
typedef fwd_piter mln::p_faces< N, D, P >::piter [package] |
typedef faces_psite<N, D, P> mln::p_faces< N, D, P >::psite [package] |
typedef p_faces<N, D, P> mln::p_faces< N, D, P >::self_ |
Definition at line 81 of file p_faces.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_faces< N, D, P >::p_faces | ( | const topo::complex< D > & | cplx | ) | [inline, package] |
Construct a faces psite set from an mln::complex.
cplx | The complex upon which the complex psite set is built. |
Definition at line 192 of file p_faces.hh.
mln::p_faces< N, D, P >::p_faces | ( | const p_complex< D, P > & | pc | ) | [inline, package] |
Construct a faces psite set from an mln::p_complex.
pc | The complex upon which the complex psite set is built. |
Definition at line 201 of file p_faces.hh.
topo::complex< D > & mln::p_faces< N, D, P >::cplx | ( | ) | [inline, package] |
Return the complex associated to the p_faces domain (mutable version).
Definition at line 265 of file p_faces.hh.
References mln::p_faces< N, D, P >::is_valid().
topo::complex< D > & mln::p_faces< N, D, P >::cplx | ( | ) | const [inline, package] |
Accessors.
Return the complex associated to the p_faces domain (const version).
Definition at line 257 of file p_faces.hh.
References mln::p_faces< N, D, P >::is_valid().
Referenced by mln::faces_psite< N, D, P >::change_target(), and mln::operator==().
bool mln::p_faces< N, D, P >::has | ( | const psite & | p | ) | const [inline, package] |
Definition at line 235 of file p_faces.hh.
References mln::faces_psite< N, D, P >::is_valid(), mln::p_faces< N, D, P >::is_valid(), and mln::faces_psite< N, D, P >::site_set().
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_faces< N, D, P >::is_valid | ( | ) | const [inline, package] |
Is this site set valid?
Definition at line 227 of file p_faces.hh.
Referenced by mln::p_faces< N, D, P >::cplx(), and mln::p_faces< N, D, P >::has().
std::size_t mln::p_faces< N, D, P >::memory_size | ( | ) | const [inline, package] |
Definition at line 248 of file p_faces.hh.
unsigned mln::p_faces< N, D, P >::nfaces | ( | ) | const [inline, package] |
Return The number of faces in the complex.
Definition at line 219 of file p_faces.hh.
Referenced by mln::p_faces< N, D, P >::nsites().
unsigned mln::p_faces< N, D, P >::nsites | ( | ) | const [inline, package] |
Return The number of sites of the set, i.e., the number of faces.
(Required by the mln::Site_Set concept, since the property trait::site_set::nsites::known of this site set is set to `known'.)
Definition at line 211 of file p_faces.hh.
References mln::p_faces< N, D, P >::nfaces().
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_faces< N, D, P >::__pad0__ [package] |
Definition at line 82 of file p_faces.hh.
topo::complex<D> mln::p_faces< N, D, P >::cplx_ [mutable, private] |
mln::p_faces< N, D, P >::D [package] |
Definition at line 82 of file p_faces.hh.
mln::p_faces< N, D, P >::P [package] |
Definition at line 82 of file p_faces.hh.
self_ mln::p_faces< N, D, P >::super_ [package] |
Definition at line 82 of file p_faces.hh.