mln::graph_elt_window< G, S > Class Template Reference

Elementary window on graph class. More...

#include <graph_elt_window.hh>

Inheritance diagram for mln::graph_elt_window< G, S >:

Inheritance graph

List of all members.

Public Types

typedef graph_window_piter< S,
self_, nbh_bkd_iter_ > 
bkd_qiter
 Site_Iterator type to browse the psites of the window w.r.t.
typedef S::psite center_t
 Type of the window center element.
typedef graph_window_piter< S,
self_, nbh_fwd_iter_ > 
fwd_qiter
 Site_Iterator type to browse the psites of the window w.r.t.
typedef S::graph_element graph_element
 Type of the graph element pointed by this iterator.
typedef S::psite psite
 The type of psite corresponding to the window.
typedef fwd_qiter qiter
 The default qiter type.
typedef S target
 Associated types.
typedef P site
 Associated types.

Public Member Functions

bool is_valid () const
 Return true by default.
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_symmetric () const
 Is the window symmetric?
self_sym ()
 Apply a central symmetry to the target window.


Detailed Description

template<typename G, typename S>
class mln::graph_elt_window< G, S >

Elementary window on graph class.

G is the graph type. S is an image site set from where the center is extracted. S2 is an image site set from where the neighbors are extracted.


Member Typedef Documentation

template<typename G, typename S>
typedef graph_window_piter<S,self_,nbh_bkd_iter_> mln::graph_elt_window< G, S >::bkd_qiter

Site_Iterator type to browse the psites of the window w.r.t.

the reverse ordering of vertices.

template<typename G, typename S>
typedef S ::psite mln::graph_elt_window< G, S >::center_t

Type of the window center element.

template<typename G, typename S>
typedef graph_window_piter<S,self_,nbh_fwd_iter_> mln::graph_elt_window< G, S >::fwd_qiter

Site_Iterator type to browse the psites of the window w.r.t.

the ordering of vertices.

template<typename G, typename S>
typedef S ::graph_element mln::graph_elt_window< G, S >::graph_element

Type of the graph element pointed by this iterator.

template<typename G, typename S>
typedef S ::psite mln::graph_elt_window< G, S >::psite

The type of psite corresponding to the window.

template<typename G, typename S>
typedef fwd_qiter mln::graph_elt_window< G, S >::qiter

The default qiter type.

template<typename P, typename E>
typedef P mln::graph_window_base< P, E >::site [inherited]

Associated types.

The type of site corresponding to the window.

template<typename G, typename S>
typedef S mln::graph_elt_window< G, S >::target

Associated types.


Member Function Documentation

template<typename P, typename E>
unsigned mln::graph_window_base< P, E >::delta (  )  const [inline, inherited]

Return the maximum coordinate gap between the window center and a window point.

template<typename P, typename E>
bool mln::graph_window_base< P, E >::is_centered (  )  const [inline, inherited]

Is the window centered?

template<typename P, typename E>
bool mln::graph_window_base< P, E >::is_empty (  )  const [inline, inherited]

Interface of the concept Window.

Is the window is empty?

template<typename P, typename E>
bool mln::graph_window_base< P, E >::is_symmetric (  )  const [inline, inherited]

Is the window symmetric?

template<typename P, typename E>
bool mln::graph_window_base< P, E >::is_valid (  )  const [inline, inherited]

Return true by default.

Reimplemented in mln::graph_elt_window_if< G, S, I >.

template<typename P, typename E>
graph_window_base< P, E > & mln::graph_window_base< P, E >::sym (  )  [inline, inherited]

Apply a central symmetry to the target window.


Generated on Thu Sep 9 19:30:32 2010 for Milena (Olena) by  doxygen 1.5.6