Public Types | Public Member Functions

mln::p2p_image< I, F > Struct Template Reference
[Domain morphers]

FIXME: Doc! More...

#include <p2p_image.hh>

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

List of all members.

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 (I &ima, const F &f)
 Constructor from an image ima and a predicate f.
 p2p_image ()
 Constructor without argument.

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 >
mln::p2p_image< I, F >::p2p_image (  )  [inline]

Constructor without argument.

Definition at line 178 of file p2p_image.hh.

template<typename I , typename F >
mln::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 & mln::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 & mln::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 mln::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 mln::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.