[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

vigra_ext::ReadFunctorAccessor< Functor, Accessor > Class Template Reference

This class can be used to apply a function when reading the input image. More...

#include <FunctorAccessor.h>

List of all members.

Public Types

typedef Functor::result_type value_type

Public Member Functions

 ReadFunctorAccessor (Functor f, Accessor a)
template<typename ITERATOR_, typename DIFFERENCE_>
Functor::result_type operator() (ITERATOR_ const &i, DIFFERENCE_ d) const
 Get functor result template <class A, class B> void function(A a, B b) { };.
template<class ITERATOR>
Functor::result_type operator() (ITERATOR const &i) const
 Get functor result.

Protected Attributes

Functor m_f
Accessor m_a


Detailed Description

template<class Functor, class Accessor>
class vigra_ext::ReadFunctorAccessor< Functor, Accessor >

This class can be used to apply a function when reading the input image.

Can be used to apply point operations temporarily, like scaling, gamma correction etc.

This is a read only accessor, writing is not supported.


Member Typedef Documentation

template<class Functor, class Accessor>
typedef Functor::result_type vigra_ext::ReadFunctorAccessor< Functor, Accessor >::value_type
 


Constructor & Destructor Documentation

template<class Functor, class Accessor>
vigra_ext::ReadFunctorAccessor< Functor, Accessor >::ReadFunctorAccessor Functor  f,
Accessor  a
[inline]
 


Member Function Documentation

template<class Functor, class Accessor>
template<class ITERATOR>
Functor::result_type vigra_ext::ReadFunctorAccessor< Functor, Accessor >::operator() ITERATOR const &  i  )  const [inline]
 

Get functor result.

template<class Functor, class Accessor>
template<typename ITERATOR_, typename DIFFERENCE_>
Functor::result_type vigra_ext::ReadFunctorAccessor< Functor, Accessor >::operator() ITERATOR_ const &  i,
DIFFERENCE_  d
const [inline]
 

Get functor result template <class A, class B> void function(A a, B b) { };.


Member Data Documentation

template<class Functor, class Accessor>
Accessor vigra_ext::ReadFunctorAccessor< Functor, Accessor >::m_a [protected]
 

template<class Functor, class Accessor>
Functor vigra_ext::ReadFunctorAccessor< Functor, Accessor >::m_f [protected]
 


The documentation for this class was generated from the following file:

Generated on Mon Sep 20 01:01:37 2010 for Hugintrunk by doxygen 1.3.9.1