$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::graph_elt_window< G, S > Class Template Reference

#include <mln/core/image/graph_elt_window.hh>

Public Member Functions

bool is_valid () const
bool is_empty () const
bool is_centered () const
bool is_symmetric () const
unsigned delta () const
self_sym ()
bool is_neighbable_ () const

Public Types

typedef Window< void > category
typedef graph_elt_window< G, S > exact_t
typedef S target
typedef S::psite psite
typedef S::psite center_t
typedef S::graph_element graph_element
typedef graph_window_piter< S,
self_, nbh_fwd_iter_ > 
fwd_qiter
typedef graph_window_piter< S,
self_, nbh_bkd_iter_ > 
bkd_qiter
typedef fwd_qiter qiter
typedef S::fun_t::result site
typedef void dpsite

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.

Definition at line 111 of file graph_elt_window.hh.

Member Function Documentation

unsigned mln::graph_window_base< S::fun_t::result , graph_elt_window< G, S > >::delta ( ) const
inherited

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

bool mln::graph_window_base< S::fun_t::result , graph_elt_window< G, S > >::is_centered ( ) const
inherited

Is the window centered?

bool mln::graph_window_base< S::fun_t::result , graph_elt_window< G, S > >::is_empty ( ) const
inherited

Interface of the concept Window.

Is the window is empty?

bool mln::graph_window_base< S::fun_t::result , graph_elt_window< G, S > >::is_neighbable_ ( ) const
inherited

Is the window neighbable?

bool mln::graph_window_base< S::fun_t::result , graph_elt_window< G, S > >::is_symmetric ( ) const
inherited

Is the window symmetric?

bool mln::graph_window_base< S::fun_t::result , graph_elt_window< G, S > >::is_valid ( ) const
inherited

Return true by default.

self_& mln::graph_window_base< S::fun_t::result , graph_elt_window< G, S > >::sym ( )
inherited

Apply a central symmetry to the target window.

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.

Definition at line 142 of file graph_elt_window.hh.

typedef Window<void> mln::Window< graph_elt_window< G, S > >::category
inherited

Definition at line 95 of file concept/window.hh.

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

Type of the window center element.

Definition at line 131 of file graph_elt_window.hh.

typedef void mln::graph_window_base< S::fun_t::result , graph_elt_window< G, S > >::dpsite
inherited

Definition at line 57 of file graph_window_base.hh.

typedef graph_elt_window< G, S > mln::Object< graph_elt_window< G, S > >::exact_t
inherited

Definition at line 105 of file object.hh.

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.

Definition at line 138 of file graph_elt_window.hh.

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.

Definition at line 134 of file graph_elt_window.hh.

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

The type of psite corresponding to the window.

Definition at line 128 of file graph_elt_window.hh.

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

The default qiter type.

Definition at line 145 of file graph_elt_window.hh.

typedef S::fun_t::result mln::graph_window_base< S::fun_t::result , graph_elt_window< G, S > >::site
inherited

Associated types.

The type of site corresponding to the window.

Definition at line 54 of file graph_window_base.hh.

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

Associated types.

Definition at line 125 of file graph_elt_window.hh.