|
Milena (Olena)
User documentation 2.0a Id
|
Custom window on graph class. More...
#include <graph_elt_window_if.hh>

Public Types | |
| typedef I | mask_t |
| The type of the image used as mask. | |
| typedef S | target |
| @} | |
| typedef target::psite | psite |
| The type of psite corresponding to the window. | |
| 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 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 fwd_qiter | qiter |
| The default qiter type. | |
| typedef S::fun_t::result | site |
| Associated types. | |
Public Member Functions | |
| void | change_mask (const Image< I > &mask) |
| Change mask image. | |
| graph_elt_window_if () | |
| Constructor. | |
| graph_elt_window_if (const Image< I > &mask) | |
| bool | is_valid () const |
| Return true by default. | |
| const I & | mask () const |
| Return the graph image used as mask. | |
| bool | is_empty () const |
| Interface of the concept Window. | |
| bool | is_centered () const |
| Is the window centered? | |
| bool | is_symmetric () const |
| Is the window symmetric? | |
| unsigned | delta () const |
| Return the maximum coordinate gap between the window center and a window point. | |
| self_ & | sym () |
| Apply a central symmetry to the target window. | |
Custom window on graph class.
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 106 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 148 of file graph_elt_window_if.hh.
| 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 144 of file graph_elt_window_if.hh.
| typedef I mln::graph_elt_window_if< G, S, I >::mask_t |
The type of the image used as mask.
Definition at line 120 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 140 of file graph_elt_window_if.hh.
| typedef fwd_qiter mln::graph_elt_window_if< G, S, I >::qiter |
The default qiter type.
Definition at line 151 of file graph_elt_window_if.hh.
|
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 137 of file graph_elt_window_if.hh.
|
inline |
Constructor.
@{ Default. Construct an invalid window.
Definition at line 175 of file graph_elt_window_if.hh.
|
inline |
| [in] | mask | A graph image of bool. |
Definition at line 182 of file graph_elt_window_if.hh.
|
inline |
Change mask image.
Definition at line 200 of file graph_elt_window_if.hh.
|
inherited |
Return the maximum coordinate gap between the window center and a window point.
|
inherited |
Is the window centered?
|
inherited |
Interface of the concept Window.
Is the window is empty?
|
inherited |
Is the window symmetric?
|
inline |
Return true by default.
Definition at line 209 of file graph_elt_window_if.hh.
|
inline |
Return the graph image used as mask.
Definition at line 191 of file graph_elt_window_if.hh.
|
inherited |
Apply a central symmetry to the target window.