Milena (Olena)  User documentation 2.0a Id
 All Classes Namespaces Functions Variables Typedefs Enumerator Groups Pages
mln::vertex_image< P, V, G > Class Template Reference

Image based on graph vertices. More...

#include <vertex_image.hh>

Inherits mln::pw::internal::image_base< fun::i2v::array< V >, p_vertices< G, internal::vfsite_selector< P, G >::site_function_t >, vertex_image< P, V, G > >.

Public Types

typedef G graph_t
 The type of the underlying graph.
 
typedef vertex_nbh_t nbh_t
 Neighborhood type.
 
typedef
internal::vfsite_selector< P,
G >::site_function_t 
site_function_t
 Function mapping graph elements to sites.
 
typedef vertex_image
< tag::psite_< P >
, tag::value_< V >
, tag::graph_< G > > 
skeleton
 Skeleton type.
 
typedef vertex_win_t win_t
 Window type.
 

Public Member Functions

 vertex_image ()
 Constructors.
 
rvalue operator() (unsigned v_id) const
 Value accessors/operators overloads.
 

Detailed Description

template<typename P, typename V, typename G = util::graph>
class mln::vertex_image< P, V, G >

Image based on graph vertices.

Definition at line 126 of file core/image/vertex_image.hh.

Member Typedef Documentation

template<typename P, typename V, typename G = util::graph>
typedef G mln::vertex_image< P, V, G >::graph_t

The type of the underlying graph.

Definition at line 141 of file core/image/vertex_image.hh.

template<typename P, typename V, typename G = util::graph>
typedef vertex_nbh_t mln::vertex_image< P, V, G >::nbh_t

Neighborhood type.

Definition at line 165 of file core/image/vertex_image.hh.

template<typename P, typename V, typename G = util::graph>
typedef internal::vfsite_selector<P,G>::site_function_t mln::vertex_image< P, V, G >::site_function_t

Function mapping graph elements to sites.

Definition at line 145 of file core/image/vertex_image.hh.

template<typename P, typename V, typename G = util::graph>
typedef vertex_image< tag::psite_<P>, tag::value_<V>, tag::graph_<G> > mln::vertex_image< P, V, G >::skeleton

Skeleton type.

Definition at line 152 of file core/image/vertex_image.hh.

template<typename P, typename V, typename G = util::graph>
typedef vertex_win_t mln::vertex_image< P, V, G >::win_t

Window type.

Definition at line 163 of file core/image/vertex_image.hh.

Constructor & Destructor Documentation

template<typename P , typename V , typename G >
vertex_image< P, V, G >::vertex_image ( )
inline

Constructors.

Definition at line 247 of file core/image/vertex_image.hh.

Member Function Documentation

template<typename P , typename V , typename G >
vertex_image< P, V, G >::rvalue vertex_image< P, V, G >::operator() ( unsigned  v_id) const

Value accessors/operators overloads.

Definition at line 292 of file core/image/vertex_image.hh.