Adapter class from window to neighborhood. More...
#include <mixed_neighb.hh>
Public Types | |
typedef mixed_neighb_bkd_niter< W > | bkd_niter |
Backward site iterator associated type. | |
typedef Neighborhood< void > | category |
typedef W::dpsite | dpsite |
Dpsite associated type. | |
typedef mixed_neighb< W > | exact_t |
typedef mixed_neighb_fwd_niter< W > | fwd_niter |
Forward site iterator associated type. | |
typedef fwd_niter | niter |
Site iterator associated type. | |
typedef W::psite | psite |
Psite associated type. | |
typedef W::site | site |
Site associated type. | |
typedef W | window |
Window associated type. | |
Public Member Functions | |
void | change_window (const W &new_win) |
Change the corresponding window. | |
unsigned | delta () const |
Give the maximum coordinate gap between the neighborhood center and a neighboring point. | |
const W::dpsite & | dp (unsigned i) const |
Give the maximum coordinate gap between the neighborhood center and a neighboring point. | |
W & | hook_win_ () |
bool | is_valid () const |
Return true by default. | |
mixed_neighb () | |
Constructor without argument. | |
mixed_neighb (const W &win) | |
Constructor from a window win . | |
unsigned | size () const |
Give the neighborhood size, i.e., the number of elements it contains. | |
const W & | win () const |
Get the corresponding window. | |
Private Types | |
typedef internal::neighb_base < W, mixed_neighb< W > > | super_ |
Adapter class from window to neighborhood.
Definition at line 79 of file mixed_neighb.hh.
typedef mixed_neighb_bkd_niter<W> mln::mixed_neighb< W >::bkd_niter |
Backward site iterator associated type.
Definition at line 91 of file mixed_neighb.hh.
typedef Neighborhood<void> mln::Neighborhood< mixed_neighb< W > >::category [inherited] |
Reimplemented from mln::Object< mixed_neighb< W > >.
Definition at line 68 of file core/concept/neighborhood.hh.
typedef W ::dpsite mln::internal::neighborhood_base< W, mixed_neighb< W > >::dpsite [inherited] |
Dpsite associated type.
Definition at line 125 of file neighborhood_base.hh.
typedef mixed_neighb< W > mln::Object< mixed_neighb< W > >::exact_t [inherited] |
typedef mixed_neighb_fwd_niter<W> mln::mixed_neighb< W >::fwd_niter |
Forward site iterator associated type.
Definition at line 88 of file mixed_neighb.hh.
typedef fwd_niter mln::mixed_neighb< W >::niter |
Site iterator associated type.
Definition at line 94 of file mixed_neighb.hh.
typedef W ::psite mln::internal::neighborhood_base< W, mixed_neighb< W > >::psite [inherited] |
Psite associated type.
Definition at line 128 of file neighborhood_base.hh.
typedef W ::site mln::internal::neighborhood_base< W, mixed_neighb< W > >::site [inherited] |
Site associated type.
Definition at line 131 of file neighborhood_base.hh.
typedef internal::neighb_base<W,mixed_neighb<W> > mln::mixed_neighb< W >::super_ [private] |
Definition at line 83 of file mixed_neighb.hh.
typedef W mln::internal::neighborhood_base< W, mixed_neighb< W > >::window [inherited] |
Window associated type.
Definition at line 122 of file neighborhood_base.hh.
mln::mixed_neighb< W >::mixed_neighb | ( | ) | [inline] |
Constructor without argument.
Definition at line 158 of file mixed_neighb.hh.
mln::mixed_neighb< W >::mixed_neighb | ( | const W & | win | ) | [inline] |
Constructor from a window win
.
Definition at line 164 of file mixed_neighb.hh.
void mln::internal::neighb_base< W, mixed_neighb< W > >::change_window | ( | const W & | new_win | ) | [inherited] |
Change the corresponding window.
Referenced by mln::convert::over_load::from_to_().
unsigned mln::internal::neighborhood_impl< W, mixed_neighb< W > >::delta | ( | ) | const [inherited] |
Give the maximum coordinate gap between the neighborhood center and a neighboring point.
const W ::dpsite& mln::internal::neighborhood_impl< W, mixed_neighb< W > >::dp | ( | unsigned | i | ) | const [inherited] |
Give the maximum coordinate gap between the neighborhood center and a neighboring point.
W& mln::internal::neighb_base< W, mixed_neighb< W > >::hook_win_ | ( | ) | [inherited] |
For internal use only.
Hook to the window.
bool mln::internal::neighborhood_base< W, mixed_neighb< W > >::is_valid | ( | ) | const [inherited] |
Return true by default.
unsigned mln::internal::neighborhood_impl< W, mixed_neighb< W > >::size | ( | ) | const [inherited] |
Give the neighborhood size, i.e., the number of elements it contains.
const W& mln::internal::neighb_base< W, mixed_neighb< W > >::win | ( | ) | const [inherited] |
Get the corresponding window.
Referenced by mln::convert::over_load::from_to_(), mln::mixed_neighb_bkd_niter< W >::mixed_neighb_bkd_niter(), and mln::mixed_neighb_fwd_niter< W >::mixed_neighb_fwd_niter().