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

Makes the underlying image being accessed with floating coordinates. More...

#include <interpolated.hh>

Inherits mln::internal::image_identity< I, I::domain_t, interpolated< I, F > >.

Public Types

typedef I::lvalue lvalue
 Return type of read-write access.
 
typedef I::psite psite
 Point_Site associated type.
 
typedef I::rvalue rvalue
 Return type of read-only access.
 
typedef interpolated
< tag::image_< I >, F > 
skeleton
 Skeleton.
 
typedef I::value value
 Value associated type.
 

Public Member Functions

template<typename C >
bool has (const mln::algebra::vec< I::psite::dim, C > &v) const
 Test if a pixel value is accessible at v.
 
 interpolated (I &ima)
 Constructors.
 
bool is_valid () const
 Test if this image has been initialized.
 

Detailed Description

template<typename I, template< class > class F>
struct mln::interpolated< I, F >

Makes the underlying image being accessed with floating coordinates.

Definition at line 84 of file interpolated.hh.

Member Typedef Documentation

template<typename I, template< class > class F>
typedef I ::lvalue mln::interpolated< I, F >::lvalue

Return type of read-write access.

Definition at line 98 of file interpolated.hh.

template<typename I, template< class > class F>
typedef I ::psite mln::interpolated< I, F >::psite

Point_Site associated type.

Definition at line 92 of file interpolated.hh.

template<typename I, template< class > class F>
typedef I ::rvalue mln::interpolated< I, F >::rvalue

Return type of read-only access.

Definition at line 101 of file interpolated.hh.

template<typename I, template< class > class F>
typedef interpolated< tag::image_<I>, F > mln::interpolated< I, F >::skeleton

Skeleton.

Definition at line 104 of file interpolated.hh.

template<typename I, template< class > class F>
typedef I ::value mln::interpolated< I, F >::value

Value associated type.

Definition at line 95 of file interpolated.hh.

Constructor & Destructor Documentation

template<typename I , template< class > class F>
interpolated< I, F >::interpolated ( I &  ima)
inline

Constructors.

FIXME: don't we want a 'const' here?

Definition at line 156 of file interpolated.hh.

Member Function Documentation

template<typename I , template< class > class F>
template<typename C >
bool interpolated< I, F >::has ( const mln::algebra::vec< I::psite::dim, C > &  v) const
inline

Test if a pixel value is accessible at v.

Definition at line 189 of file interpolated.hh.

template<typename I , template< class > class F>
bool interpolated< I, F >::is_valid ( ) const
inline

Test if this image has been initialized.

Definition at line 180 of file interpolated.hh.