Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | List of all members
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>

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: