#include <complex_psite.hh>
G::site | p_ |
void | update_ () |
Site-related members. | |
Public Types | |
typedef Pseudo_Site< void > | category |
typedef E | exact_t |
typedef mln::metal::unqualif < q_site_ >::ret | site |
typedef p_complex< D, G > | target |
typedef p_complex< D, G > | target_t |
Public Member Functions | |
bool | has_target () const |
const site & | to_site () const |
void | change_target (const target &new_target) |
Set the target site_set. | |
const target & | site_set () const |
Site set manipulators. | |
const target * | target_ () const |
Get a pointer to the target site_set. | |
complex_psite (const p_complex< D, G > &pc, unsigned n, unsigned face_id) | |
complex_psite (const p_complex< D, G > &pc, const topo::face< D > &face) | |
complex_psite () | |
Construction and assignment. | |
const topo::face< D > & | face () const |
Face handle manipulators. | |
unsigned | face_id () const |
Return the id of the face of this psite. | |
unsigned | n () const |
Return the dimension of the face of this psite. | |
void | invalidate () |
Invalidate this psite. | |
bool | is_valid () const |
Psite manipulators. | |
const G::site & | subj_ () |
Proxy manipulators. | |
Private Attributes | |
topo::face< D > | face_ |
The handle of the face this psite is pointing towards. | |
const target * | pc_ |
Complex-related members. |
D | The dimension of the complex this psite belongs to. | |
G | The geometry of the complex. |
Definition at line 60 of file complex_psite.hh.
typedef Pseudo_Site<void> mln::Pseudo_Site< E >::category [inherited] |
typedef E mln::Object< E >::exact_t [inherited] |
typedef mln::metal::unqualif< q_site_ >::ret mln::internal::pseudo_site_base_< P, E >::site [inherited] |
Definition at line 57 of file pseudo_site_base.hh.
typedef p_complex<D, G> mln::complex_psite< D, G >::target |
Definition at line 66 of file complex_psite.hh.
typedef p_complex<D, G> mln::complex_psite< D, G >::target_t |
Definition at line 68 of file complex_psite.hh.
mln::complex_psite< D, G >::complex_psite | ( | ) | [inline] |
Construction and assignment.
Definition at line 203 of file complex_psite.hh.
References mln::complex_psite< D, G >::invalidate().
mln::complex_psite< D, G >::complex_psite | ( | const p_complex< D, G > & | pc, | |
const topo::face< D > & | face | |||
) | [inline] |
Definition at line 211 of file complex_psite.hh.
References mln::topo::face< D >::cplx(), mln::p_complex< D, G >::cplx(), mln::complex_psite< D, G >::is_valid(), and mln::complex_psite< D, G >::update_().
mln::complex_psite< D, G >::complex_psite | ( | const p_complex< D, G > & | pc, | |
unsigned | n, | |||
unsigned | face_id | |||
) | [inline] |
Definition at line 227 of file complex_psite.hh.
References mln::complex_psite< D, G >::is_valid(), and mln::complex_psite< D, G >::update_().
void mln::complex_psite< D, G >::change_target | ( | const target & | new_target | ) | [inline] |
Set the target site_set.
Definition at line 280 of file complex_psite.hh.
References mln::p_complex< D, G >::cplx(), and mln::complex_psite< D, G >::invalidate().
const topo::face< D > & mln::complex_psite< D, G >::face | ( | ) | const [inline] |
Face handle manipulators.
Return the face handle of this point site.
Definition at line 301 of file complex_psite.hh.
Referenced by mln::operator!=(), and mln::operator==().
unsigned mln::complex_psite< D, G >::face_id | ( | ) | const [inline] |
Return the id of the face of this psite.
Definition at line 317 of file complex_psite.hh.
Referenced by mln::complex_image< D, G, V >::operator()().
bool mln::Pseudo_Site< E >::has_target | ( | ) | const [inline, inherited] |
void mln::complex_psite< D, G >::invalidate | ( | ) | [inline] |
Invalidate this psite.
Definition at line 251 of file complex_psite.hh.
Referenced by mln::complex_psite< D, G >::change_target(), and mln::complex_psite< D, G >::complex_psite().
bool mln::complex_psite< D, G >::is_valid | ( | ) | const [inline] |
Psite manipulators.
Is this psite valid?
Definition at line 239 of file complex_psite.hh.
References mln::p_complex< D, G >::cplx().
Referenced by mln::complex_psite< D, G >::complex_psite(), mln::p_complex< D, G >::has(), and mln::complex_psite< D, G >::update_().
unsigned mln::complex_psite< D, G >::n | ( | ) | const [inline] |
Return the dimension of the face of this psite.
Definition at line 309 of file complex_psite.hh.
Referenced by mln::make::cell(), and mln::complex_image< D, G, V >::operator()().
const p_complex< D, G > & mln::complex_psite< D, G >::site_set | ( | ) | const [inline] |
Return the mln::p_complex this site is built on. (shortcut for *target()).
Definition at line 259 of file complex_psite.hh.
References mln::complex_psite< D, G >::target_().
Referenced by mln::p_complex< D, G >::has(), mln::operator!=(), mln::operator==(), and mln::complex_psite< D, G >::update_().
const G::site & mln::complex_psite< D, G >::subj_ | ( | ) | [inline] |
Proxy manipulators.
Return the site corresponding to this psite.
Definition at line 293 of file complex_psite.hh.
const p_complex< D, G > * mln::complex_psite< D, G >::target_ | ( | ) | const [inline] |
Get a pointer to the target site_set.
Definition at line 268 of file complex_psite.hh.
References mln::p_complex< D, G >::cplx().
Referenced by mln::complex_psite< D, G >::site_set().
const pseudo_site_base_< P, E >::site & mln::internal::pseudo_site_base_< P, E >::to_site | ( | ) | const [inline, inherited] |
Definition at line 78 of file pseudo_site_base.hh.
Referenced by mln::p_set< P >::has(), mln::p_run< P >::has(), mln::p_queue< P >::has(), and mln::p_line2d::has().
void mln::complex_psite< D, G >::update_ | ( | ) | [inline, private] |
Site-related members.
Update the site corresponding to this psite.
Definition at line 325 of file complex_psite.hh.
References mln::p_complex< D, G >::cplx(), mln::p_complex< D, G >::geom(), mln::complex_psite< D, G >::is_valid(), and mln::complex_psite< D, G >::site_set().
Referenced by mln::complex_psite< D, G >::complex_psite().
topo::face<D> mln::complex_psite< D, G >::face_ [private] |
The handle of the face this psite is pointing towards.
Definition at line 145 of file complex_psite.hh.
G ::site mln::complex_psite< D, G >::p_ [private] |
Definition at line 124 of file complex_psite.hh.
const target* mln::complex_psite< D, G >::pc_ [private] |
Complex-related members.
The mln::p_faces this point site belongs to.
Definition at line 143 of file complex_psite.hh.