#include <extension_ima.hh>
Inherits mln::internal::image_identity< I, I::domain_t, mln::extension_ima< I, J > >.
Public Types | |
typedef I::value | rvalue |
Return type of read-only access. | |
typedef extension_ima < tag::image_< I >, tag::ext_ < J > > | skeleton |
Skeleton. | |
typedef I::value | value |
Image value type. | |
Public Member Functions | |
const J & | extension () const |
Read-only access to the extension domain (image). | |
extension_ima (I &ima, const J &ext) | |
Constructor from an image ima and a function ext . | |
extension_ima () | |
Constructor without argument. | |
template<typename P> | |
bool | has (const P &p) const |
Test if p is valid. | |
internal::morpher_lvalue_< I >::ret | operator() (const typename I::psite &p) |
Read-write access to the image value located at site p . | |
I::value | operator() (const typename I::psite &p) const |
Read-only access to the image value located at site p ;. |
typedef I ::value mln::extension_ima< I, J >::rvalue |
Return type of read-only access.
typedef extension_ima< tag::image_<I>, tag::ext_<J> > mln::extension_ima< I, J >::skeleton |
Skeleton.
typedef I ::value mln::extension_ima< I, J >::value |
mln::extension_ima< I, J >::extension_ima | ( | ) | [inline] |
Constructor without argument.
mln::extension_ima< I, J >::extension_ima | ( | I & | ima, | |
const J & | ext | |||
) | [inline] |
Constructor from an image ima
and a function ext
.
const J & mln::extension_ima< I, J >::extension | ( | ) | const [inline] |
Read-only access to the extension domain (image).
bool mln::extension_ima< I, J >::has | ( | const P & | p | ) | const [inline] |
internal::morpher_lvalue_< I >::ret mln::extension_ima< I, J >::operator() | ( | const typename I::psite & | p | ) | [inline] |
Read-write access to the image value located at site p
.
References mln::extension_ima< I, J >::has().
I::value mln::extension_ima< I, J >::operator() | ( | const typename I::psite & | p | ) | const [inline] |
Read-only access to the image value located at site p
;.
References mln::extension_ima< I, J >::has().