Un-projects an image. More...
#include <unproject_image.hh>

Public Types | |
| typedef D::bkd_piter | bkd_piter |
| Backward Site_Iterator associated type. | |
| typedef Image< void > | category |
| typedef I | delegatee |
| Delegatee associated type. | |
| typedef D | domain_t |
| Site_Set associated type. | |
| typedef unproject_image< I, D, F > | exact_t |
| typedef D::fwd_piter | fwd_piter |
| Forward Site_Iterator associated type. | |
| typedef internal::morpher_lvalue_< I > ::ret | lvalue |
| Return type of read-write access. | |
| typedef fwd_piter | piter |
| Site_Iterator associated type; default definition is fwd_piter. | |
| typedef D::psite | psite |
| Point_Site associated type. | |
| typedef I::rvalue | rvalue |
| Return type of read-only access. | |
| typedef D::site | site |
| Site associated type. | |
| typedef void | skeleton |
| typedef mln::value::set< I::value > | t_eligible_values_set |
| Eligible-value-set associated type. | |
| typedef mln::value::set < typename mln::value::super_value < I::value >::ret > | t_values_space |
| Value space associated type. | |
| typedef I | unmorph |
| Unmorph image associated type. | |
| typedef I::value | value |
| Value associated type. | |
Public Member Functions | |
| mln::metal::const_< I >::ret * | delegatee_ () const |
| Return the delegatee_ pointer; default code. | |
| I * | delegatee_ () |
| Return the delegatee_ pointer (non-const version); default code. | |
| void | destroy () |
| Detach data from an image (free it if nobody else hold it). | |
| const D & | domain () const |
| Give the definition domain. | |
| bool | has (const psite &p) const |
Test if p belongs to the image domain. | |
| const util::tracked_ptr < internal::data < unproject_image< I, D, F > > > & | hook_data_ () const |
| Hook to the image data. | |
| const void * | id_ () const |
| Give an identifier of this image. | |
| unsigned | index_of_point (const P &p) const |
Give the offset of the site p. | |
| void | init_ (I &ima, const D &dom, const F &f) |
| bool | is_valid () const |
| Test if this image has been initialized; default impl. | |
| std::size_t | nsites () const |
| Give the number of sites of the image domain. | |
| I::rvalue | operator() (const typename D::psite &p) const |
Read-only access to the image value located at point p. | |
| internal::morpher_lvalue_< I >::ret | operator() (const typename D::psite &p) |
Read-write access to the image value located at point p. | |
| unproject_image< I, D, F > & | rw () |
| State that the morpher is writable. | |
| mln::metal::const_< I >::ret & | unmorph_ () const |
| Give the morphed image (const version). | |
| I & | unmorph_ () |
| Give the morphed image (mutable version). | |
| unproject_image () | |
| Constructor without argument. | |
| unproject_image (I &ima, const D &dom, const F &f) | |
Constructor from an image ima, a domain dom, and a function f. | |
| const t_eligible_values_set & | values_eligible () const |
| const t_values_space & | values_space () const |
| Return the value space of the image. | |
Protected Attributes | |
| util::tracked_ptr < internal::data < unproject_image< I, D, F > > > | data_ |
Un-projects an image.
typedef D ::bkd_piter mln::internal::image_base< I::value , D , unproject_image< I, D, F > >::bkd_piter [inherited] |
Backward Site_Iterator associated type.
typedef Image<void> mln::Image< unproject_image< I, D, F > >::category [inherited] |
Reimplemented from mln::Object< unproject_image< I, D, F > >.
typedef I mln::internal::image_morpher< I, I::value , D , unproject_image< I, D, F > >::delegatee [inherited] |
Delegatee associated type.
typedef D mln::internal::image_base< I::value , D , unproject_image< I, D, F > >::domain_t [inherited] |
Site_Set associated type.
typedef unproject_image< I, D, F > mln::Object< unproject_image< I, D, F > >::exact_t [inherited] |
typedef D ::fwd_piter mln::internal::image_base< I::value , D , unproject_image< I, D, F > >::fwd_piter [inherited] |
Forward Site_Iterator associated type.
typedef internal::morpher_lvalue_< I >::ret mln::internal::image_domain_morpher< I, D , unproject_image< I, D, F > >::lvalue [inherited] |
Return type of read-write access.
typedef fwd_piter mln::internal::image_base< I::value , D , unproject_image< I, D, F > >::piter [inherited] |
Site_Iterator associated type; default definition is fwd_piter.
typedef D ::psite mln::internal::image_base< I::value , D , unproject_image< I, D, F > >::psite [inherited] |
Point_Site associated type.
typedef I ::rvalue mln::internal::image_domain_morpher< I, D , unproject_image< I, D, F > >::rvalue [inherited] |
Return type of read-only access.
typedef D ::site mln::internal::image_base< I::value , D , unproject_image< I, D, F > >::site [inherited] |
Site associated type.
| typedef void mln::unproject_image< I, D, F >::skeleton |
typedef mln::value::set<I::value > mln::internal::image_base< I::value , D , unproject_image< I, D, F > >::t_eligible_values_set [inherited] |
Eligible-value-set associated type.
typedef mln::value::set< typename mln::value::super_value<I::value >::ret > mln::internal::image_base< I::value , D , unproject_image< I, D, F > >::t_values_space [inherited] |
Value space associated type.
typedef I mln::internal::image_morpher< I, I::value , D , unproject_image< I, D, F > >::unmorph [inherited] |
Unmorph image associated type.
typedef I::value mln::internal::image_base< I::value , D , unproject_image< I, D, F > >::value [inherited] |
Value associated type.
| mln::unproject_image< I, D, F >::unproject_image | ( | ) | [inline] |
Constructor without argument.
| mln::unproject_image< I, D, F >::unproject_image | ( | I & | ima, | |
| const D & | dom, | |||
| const F & | f | |||
| ) | [inline] |
Constructor from an image ima, a domain dom, and a function f.
References mln::unproject_image< I, D, F >::init_().
| mln::metal::const_< I >::ret* mln::internal::image_morpher< I, I::value , D , unproject_image< I, D, F > >::delegatee_ | ( | ) | const [inherited] |
Return the delegatee_ pointer; default code.
| I* mln::internal::image_morpher< I, I::value , D , unproject_image< I, D, F > >::delegatee_ | ( | ) | [inherited] |
Return the delegatee_ pointer (non-const version); default code.
| void mln::internal::image_base< I::value , D , unproject_image< I, D, F > >::destroy | ( | ) | [inherited] |
Detach data from an image (free it if nobody else hold it).
| const D & mln::unproject_image< I, D, F >::domain | ( | ) | const [inline] |
Give the definition domain.
References mln::internal::image_base< I::value, D, unproject_image< I, D, F > >::data_, and mln::internal::image_morpher< I, I::value, D, unproject_image< I, D, F > >::is_valid().
| bool mln::internal::image_base< I::value , D , unproject_image< I, D, F > >::has | ( | const psite & | p | ) | const [inherited] |
Test if p belongs to the image domain.
| const util::tracked_ptr< internal::data<unproject_image< I, D, F > > >& mln::internal::image_base< I::value , D , unproject_image< I, D, F > >::hook_data_ | ( | ) | const [inherited] |
Hook to the image data.
| const void* mln::internal::image_base< I::value , D , unproject_image< I, D, F > >::id_ | ( | ) | const [inherited] |
Give an identifier of this image.
When several image variables designate the same image, they share the same identifier.
| unsigned mln::internal::check::image_fastest_< unproject_image< I, D, F > , mln::metal::equal< mln_trait_image_speed(unproject_image< I, D, F >), trait::image::speed::fastest >::eval >::index_of_point | ( | const P & | p | ) | const [inherited] |
Give the offset of the site p.
| [in] | p | A site. |
p. | void mln::unproject_image< I, D, F >::init_ | ( | I & | ima, | |
| const D & | dom, | |||
| const F & | f | |||
| ) | [inline] |
| bool mln::internal::image_morpher< I, I::value , D , unproject_image< I, D, F > >::is_valid | ( | ) | const [inherited] |
Test if this image has been initialized; default impl.
Reimplemented from mln::internal::image_base< I::value, D, unproject_image< I, D, F > >.
Referenced by mln::unproject_image< I, D, F >::domain(), and mln::unproject_image< I, D, F >::init_().
| std::size_t mln::internal::image_base< I::value , D , unproject_image< I, D, F > >::nsites | ( | ) | const [inherited] |
Give the number of sites of the image domain.
| internal::morpher_lvalue_< I >::ret mln::unproject_image< I, D, F >::operator() | ( | const typename D::psite & | p | ) | [inline] |
Read-write access to the image value located at point p.
Reimplemented from mln::internal::image_domain_morpher< I, D, unproject_image< I, D, F > >.
| I::rvalue mln::unproject_image< I, D, F >::operator() | ( | const typename D::psite & | p | ) | const [inline] |
Read-only access to the image value located at point p.
Reimplemented from mln::internal::image_domain_morpher< I, D, unproject_image< I, D, F > >.
| unproject_image< I, D, F > & mln::internal::image_morpher< I, I::value , D , unproject_image< I, D, F > >::rw | ( | ) | [inherited] |
State that the morpher is writable.
This allows for C++ to use it as a mutable object even if it is a temporary object.
| I& mln::internal::image_morpher< I, I::value , D , unproject_image< I, D, F > >::unmorph_ | ( | ) | [inherited] |
Give the morphed image (mutable version).
| mln::metal::const_< I >::ret& mln::internal::image_morpher< I, I::value , D , unproject_image< I, D, F > >::unmorph_ | ( | ) | const [inherited] |
Give the morphed image (const version).
| const t_eligible_values_set& mln::internal::image_base< I::value , D , unproject_image< I, D, F > >::values_eligible | ( | ) | const [inherited] |
| const t_values_space& mln::internal::image_base< I::value , D , unproject_image< I, D, F > >::values_space | ( | ) | const [inherited] |
Return the value space of the image.
util::tracked_ptr< internal::data<unproject_image< I, D, F > > > mln::internal::image_base< I::value , D , unproject_image< I, D, F > >::data_ [protected, inherited] |
Referenced by mln::unproject_image< I, D, F >::domain(), and mln::unproject_image< I, D, F >::init_().
1.7.1