#include <graph_elt_window_if.hh>
Public Types | |
typedef Window< void > | category |
typedef E | exact_t |
typedef I | mask_t |
The type of the image used as mask. | |
typedef graph_window_if_piter < target, self_, nbh_bkd_iter_ > | bkd_qiter |
Site_Iterator type to browse the psites of the window w.r.t. | |
typedef graph_window_if_piter < target, self_, nbh_fwd_iter_ > | fwd_qiter |
Site_Iterator type to browse the psites of the window w.r.t. | |
typedef target::psite | psite |
The type of psite corresponding to the window. | |
typedef fwd_qiter | qiter |
The default qiter type. | |
typedef S | target |
@} | |
typedef void | dpsite |
typedef P | site |
Associated types. | |
Public Member Functions | |
void | change_mask (const Image< I > &mask) |
Change mask image. | |
graph_elt_window_if (const Image< I > &mask) | |
graph_elt_window_if () | |
Constructor. | |
bool | is_valid () const |
Return true by default. | |
const I & | mask () const |
Return the graph image used as mask. | |
unsigned | delta () const |
Return the maximum coordinate gap between the window center and a window point. | |
bool | is_centered () const |
Is the window centered? | |
bool | is_empty () const |
Interface of the concept Window. | |
bool | is_neighbable_ () const |
Is the window neighbable? | |
bool | is_symmetric () const |
Is the window symmetric? | |
self_ & | sym () |
Apply a central symmetry to the target window. | |
Package Types | |
typedef super_::nbh_bkd_iter_ | nbh_bkd_iter_ |
typedef super_::nbh_fwd_iter_ | nbh_fwd_iter_ |
Package Attributes | |
__pad0__:graph_window_if_iter_dispatch<G | |
S | super_ |
Private Types | |
typedef graph_elt_window_if< G, S, I > | self_ |
Private Attributes | |
I | mask_ |
It is defined thanks to a mask.
G
is the graph type. S
is the image site set. I
is the graph image the type used as mask.
Definition at line 105 of file graph_elt_window_if.hh.
typedef graph_window_if_piter<target,self_,nbh_bkd_iter_> mln::graph_elt_window_if< G, S, I >::bkd_qiter |
Site_Iterator type to browse the psites of the window w.r.t.
the reverse ordering of vertices.
Definition at line 147 of file graph_elt_window_if.hh.
typedef Window<void> mln::Window< E >::category [inherited] |
typedef void mln::graph_window_base< P, E >::dpsite [inherited] |
Definition at line 51 of file graph_window_base.hh.
typedef E mln::Object< E >::exact_t [inherited] |
typedef graph_window_if_piter<target,self_,nbh_fwd_iter_> mln::graph_elt_window_if< G, S, I >::fwd_qiter |
Site_Iterator type to browse the psites of the window w.r.t.
the ordering of vertices.
Definition at line 143 of file graph_elt_window_if.hh.
typedef I mln::graph_elt_window_if< G, S, I >::mask_t |
typedef super_::nbh_bkd_iter_ mln::graph_elt_window_if< G, S, I >::nbh_bkd_iter_ [package] |
Definition at line 115 of file graph_elt_window_if.hh.
typedef super_::nbh_fwd_iter_ mln::graph_elt_window_if< G, S, I >::nbh_fwd_iter_ [package] |
Definition at line 114 of file graph_elt_window_if.hh.
typedef target ::psite mln::graph_elt_window_if< G, S, I >::psite |
The type of psite corresponding to the window.
Definition at line 139 of file graph_elt_window_if.hh.
typedef fwd_qiter mln::graph_elt_window_if< G, S, I >::qiter |
typedef graph_elt_window_if<G,S,I> mln::graph_elt_window_if< G, S, I >::self_ [private] |
Reimplemented from mln::graph_window_base< P, E >.
Definition at line 111 of file graph_elt_window_if.hh.
typedef P mln::graph_window_base< P, E >::site [inherited] |
Associated types.
The type of site corresponding to the window.
Definition at line 48 of file graph_window_base.hh.
typedef S mln::graph_elt_window_if< G, S, I >::target |
@}
Associated types. The image domain on which this window iterates on.
Definition at line 136 of file graph_elt_window_if.hh.
mln::graph_elt_window_if< G, S, I >::graph_elt_window_if | ( | ) | [inline] |
Constructor.
@{ Default. Construct an invalid window.
Definition at line 174 of file graph_elt_window_if.hh.
mln::graph_elt_window_if< G, S, I >::graph_elt_window_if | ( | const Image< I > & | mask | ) | [inline] |
[in] | mask | A graph image of bool. |
Definition at line 181 of file graph_elt_window_if.hh.
void mln::graph_elt_window_if< G, S, I >::change_mask | ( | const Image< I > & | mask | ) | [inline] |
Change mask image.
Definition at line 199 of file graph_elt_window_if.hh.
References mln::exact(), and mln::graph_elt_window_if< G, S, I >::is_valid().
unsigned mln::graph_window_base< P, E >::delta | ( | ) | const [inline, inherited] |
Return the maximum coordinate gap between the window center and a window point.
Definition at line 128 of file graph_window_base.hh.
bool mln::graph_window_base< P, E >::is_centered | ( | ) | const [inline, inherited] |
bool mln::graph_window_base< P, E >::is_empty | ( | ) | const [inline, inherited] |
Interface of the concept Window.
Is the window is empty?
Definition at line 104 of file graph_window_base.hh.
bool mln::graph_window_base< P, E >::is_neighbable_ | ( | ) | const [inline, inherited] |
bool mln::graph_window_base< P, E >::is_symmetric | ( | ) | const [inline, inherited] |
bool mln::graph_elt_window_if< G, S, I >::is_valid | ( | ) | const [inline] |
Return true by default.
Reimplemented from mln::graph_window_base< P, E >.
Definition at line 208 of file graph_elt_window_if.hh.
Referenced by mln::graph_elt_window_if< G, S, I >::change_mask().
const I & mln::graph_elt_window_if< G, S, I >::mask | ( | ) | const [inline] |
graph_window_base< P, E > & mln::graph_window_base< P, E >::sym | ( | ) | [inline, inherited] |
mln::graph_elt_window_if< G, S, I >::__pad0__ [package] |
Definition at line 112 of file graph_elt_window_if.hh.
I mln::graph_elt_window_if< G, S, I >::mask_ [private] |
Definition at line 164 of file graph_elt_window_if.hh.
S mln::graph_elt_window_if< G, S, I >::super_ [package] |
Definition at line 112 of file graph_elt_window_if.hh.