Milena (Olena)  User documentation 2.0a Id
 All Classes Namespaces Functions Variables Typedefs Enumerator Groups Pages
mln::p2p_image< I, F > Struct Template Reference

FIXME: Doc! More...

#include <p2p_image.hh>

Inherits mln::internal::image_domain_morpher< I, I::domain_t, p2p_image< I, F > >.

Public Types

typedef p2p_image< tag::image_
< I >, tag::function_< F > > 
skeleton
 Skeleton.
 

Public Member Functions

const I::domain_t & domain () const
 Give the definition domain.
 
const F & fun () const
 Give the p2p function.
 
I::rvalue operator() (const typename I::psite &p) const
 Read-only access to the image value located at point p.
 
internal::morpher_lvalue_< I >::ret operator() (const typename I::psite &p)
 Read-write access to the image value located at point p.
 
 p2p_image ()
 Constructor without argument.
 
 p2p_image (I &ima, const F &f)
 Constructor from an image ima and a predicate f.
 

Detailed Description

template<typename I, typename F>
struct mln::p2p_image< I, F >

FIXME: Doc!

Definition at line 90 of file p2p_image.hh.

Member Typedef Documentation

template<typename I, typename F>
typedef p2p_image< tag::image_<I>, tag::function_<F> > mln::p2p_image< I, F >::skeleton

Skeleton.

Definition at line 95 of file p2p_image.hh.

Constructor & Destructor Documentation

template<typename I , typename F >
p2p_image< I, F >::p2p_image ( )
inline

Constructor without argument.

Definition at line 178 of file p2p_image.hh.

template<typename I , typename F >
p2p_image< I, F >::p2p_image ( I &  ima,
const F &  f 
)
inline

Constructor from an image ima and a predicate f.

Definition at line 184 of file p2p_image.hh.

Member Function Documentation

template<typename I , typename F >
const I::domain_t & p2p_image< I, F >::domain ( ) const
inline

Give the definition domain.

Definition at line 201 of file p2p_image.hh.

template<typename I , typename F >
const F & p2p_image< I, F >::fun ( ) const
inline

Give the p2p function.

Definition at line 210 of file p2p_image.hh.

template<typename I , typename F >
I::rvalue p2p_image< I, F >::operator() ( const typename I::psite &  p) const
inline

Read-only access to the image value located at point p.

Definition at line 219 of file p2p_image.hh.

template<typename I , typename F >
internal::morpher_lvalue_< I >::ret p2p_image< I, F >::operator() ( const typename I::psite &  p)
inline

Read-write access to the image value located at point p.

Definition at line 229 of file p2p_image.hh.