#include <complex_image.hh>
Inherits image_primary< V, p_complex< D, G >, complex_image< D, G, V > >.
Public Types | |
typedef G | geom |
The geometry type of the complex. | |
typedef std::vector< V >::reference | lvalue |
Return type of read-write access. | |
typedef std::vector< V > ::const_reference | 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< 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. |
Values attached to each face of the complex.
D | The dimension of the complex. | |
G | The geometry type of the complex. | |
V | The value type of the image. |
typedef G mln::complex_image< D, G, V >::geom |
The geometry type of the complex.
typedef std::vector<V>::reference mln::complex_image< D, G, V >::lvalue |
typedef std::vector<V>::const_reference mln::complex_image< D, G, V >::rvalue |
Return type of read-only access.
typedef complex_image< D, tag::psite_<G>, tag::value_<V> > mln::complex_image< D, G, V >::skeleton |
Skeleton.
typedef V mln::complex_image< D, G, V >::value |
Value associated type.
mln::complex_image< D, G, V >::complex_image | ( | ) | [inline] |
Constructors.
const p_complex< D, G > & mln::complex_image< D, G, V >::domain | ( | ) | const [inline] |
Accessors.
Return the domain of psites od the image.
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().
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().
const metal::vec< D+1, std::vector< V > > & mln::complex_image< D, G, V >::values | ( | ) | const [inline] |
Return the array of values associated to the faces.
const unsigned mln::complex_image< D, G, V >::dim = D [static] |
The dimension of the complex.