Extends the domain of an image with a function. More...
#include <extension_fun.hh>
Inherits image_identity< I, I::domain_t, extension_fun< I, F > >.
Public Types | |
| typedef I::value | rvalue | 
| Return type of read-only access.   | |
| typedef extension_fun < tag::image_< I > , tag::function_< F > >  | skeleton | 
| Skeleton.   | |
| typedef I::value | value | 
| Image value type.   | |
Public Member Functions | |
| const F & | extension () const | 
| Give the extension function.   | |
| extension_fun (I &ima, const F &fun) | |
Constructor from an image ima and a function fun.   | |
| extension_fun () | |
| 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;.   | |
Extends the domain of an image with a function.
Definition at line 99 of file extension_fun.hh.
| typedef I ::value mln::extension_fun< I, F >::rvalue | 
Return type of read-only access.
Definition at line 112 of file extension_fun.hh.
| typedef extension_fun< tag::image_<I>, tag::function_<F> > mln::extension_fun< I, F >::skeleton | 
Skeleton.
Definition at line 106 of file extension_fun.hh.
| typedef I ::value mln::extension_fun< I, F >::value | 
Image value type.
Definition at line 109 of file extension_fun.hh.
| mln::extension_fun< I, F >::extension_fun | ( | ) |  [inline] | 
        
Constructor without argument.
Definition at line 178 of file extension_fun.hh.
| mln::extension_fun< I, F >::extension_fun | ( | I & | ima, | |
| const F & | fun | |||
| ) |  [inline] | 
        
Constructor from an image ima and a function fun. 
Definition at line 184 of file extension_fun.hh.
| const F & mln::extension_fun< I, F >::extension | ( | ) |  const [inline] | 
        
Give the extension function.
Definition at line 243 of file extension_fun.hh.
| bool mln::extension_fun< I, F >::has | ( | const P & | p | ) |  const [inline] | 
        
Test if p is valid. 
It returns always true, assuming that the function is valid for any p. 
Definition at line 201 of file extension_fun.hh.
| internal::morpher_lvalue_< I >::ret mln::extension_fun< I, F >::operator() | ( | const typename I::psite & | p | ) |  [inline] | 
        
Read-write access to the image value located at site p. 
Definition at line 223 of file extension_fun.hh.
| I::value mln::extension_fun< I, F >::operator() | ( | const typename I::psite & | p | ) |  const [inline] | 
        
Read-only access to the image value located at site p;. 
Definition at line 209 of file extension_fun.hh.
 1.7.1