vigra_ext::Multiply< T > Struct Template Reference

a sample functor that can be used to multiply pixel values with a constant More...

#include <FunctorAccessor.h>

List of all members.

Public Types

typedef T result_type

Public Member Functions

 Multiply (T factor)
template<class PixelType>
PixelType operator() (PixelType const &v) const

Public Attributes

m_factor


Detailed Description

template<class T>
struct vigra_ext::Multiply< T >

a sample functor that can be used to multiply pixel values with a constant

Definition at line 604 of file FunctorAccessor.h.


Member Typedef Documentation

template<class T>
typedef T vigra_ext::Multiply< T >::result_type
 

Definition at line 606 of file FunctorAccessor.h.


Constructor & Destructor Documentation

template<class T>
vigra_ext::Multiply< T >::Multiply factor  )  [inline]
 

Definition at line 608 of file FunctorAccessor.h.


Member Function Documentation

template<class T>
template<class PixelType>
PixelType vigra_ext::Multiply< T >::operator() PixelType const &  v  )  const [inline]
 

Definition at line 613 of file FunctorAccessor.h.


Member Data Documentation

template<class T>
T vigra_ext::Multiply< T >::m_factor
 

Definition at line 618 of file FunctorAccessor.h.


The documentation for this struct was generated from the following file:
Generated on Wed Jul 16 01:25:58 2014 for Hugintrunk by  doxygen 1.3.9.1