mln::complex_image< D, G, V > Class Template Reference
[Basic types]

Image based on a complex. More...

#include <complex_image.hh>

Inherits mln::internal::image_primary< V, mln::p_complex< D, G >, mln::complex_image< D, G, V > >.

List of all members.

Public Types

typedef G geom
 The geometry type of the complex.
typedef V & lvalue
 Return type of read-write access.
typedef const V & rvalue
 Return type of read-only access.
typedef complex_image< D,
tag::psite_< G >, tag::value_
< V > > 
skeleton
 Skeleton.
typedef V value
 Value associated type.

Public Member Functions

lvalue operator() (const complex_psite< D, G > &p)
 Read-write access of face value at point site p.
rvalue operator() (const complex_psite< D, G > &p) const
 Read-only access of face value at point site p.
 complex_image ()
 Constructors.
const p_complex< D, G > & domain () const
 Accessors.
const metal::vec< D+1,
std::vector< mlc_unbool(V) > > & 
values () const
 Return the array of values associated to the faces.

Static Public Attributes

static const unsigned dim = D
 The dimension of the complex.


Detailed Description

template<unsigned D, typename G, typename V>
class mln::complex_image< D, G, V >

Image based on a complex.

Values attached to each face of the complex.

Template Parameters:
D The dimension of the complex.
G The geometry type of the complex.
V The value type of the image.

Member Typedef Documentation

template<unsigned D, typename G, typename V>
typedef G mln::complex_image< D, G, V >::geom

The geometry type of the complex.

template<unsigned D, typename G, typename V>
typedef V& mln::complex_image< D, G, V >::lvalue

Return type of read-write access.

template<unsigned D, typename G, typename V>
typedef const V& mln::complex_image< D, G, V >::rvalue

Return type of read-only access.

template<unsigned D, typename G, typename V>
typedef complex_image< D, tag::psite_<G>, tag::value_<V> > mln::complex_image< D, G, V >::skeleton

Skeleton.

template<unsigned D, typename G, typename V>
typedef V mln::complex_image< D, G, V >::value

Value associated type.


Constructor & Destructor Documentation

template<unsigned D, typename G, typename V>
mln::complex_image< D, G, V >::complex_image (  )  [inline]

Constructors.


Member Function Documentation

template<unsigned D, typename G, typename V>
const p_complex< D, G > & mln::complex_image< D, G, V >::domain (  )  const [inline]

Accessors.

Return the domain of psites od the image.

template<unsigned D, typename G, typename V>
complex_image< D, G, V >::lvalue mln::complex_image< D, G, V >::operator() ( const complex_psite< D, G > &  p  )  [inline]

Read-write access of face value at point site p.

References mln::complex_psite< D, G >::face_id(), and mln::complex_psite< D, G >::n().

template<unsigned D, typename G, typename V>
complex_image< D, G, V >::rvalue mln::complex_image< D, G, V >::operator() ( const complex_psite< D, G > &  p  )  const [inline]

Read-only access of face value at point site p.

References mln::complex_psite< D, G >::face_id(), and mln::complex_psite< D, G >::n().

template<unsigned D, typename G, typename V>
const metal::vec< D+1, std::vector< mlc_unbool(V) > > & mln::complex_image< D, G, V >::values (  )  const [inline]

Return the array of values associated to the faces.


Member Data Documentation

template<unsigned D, typename G, typename V>
const unsigned mln::complex_image< D, G, V >::dim = D [static]

The dimension of the complex.


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