Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Attributes | List of all members
vigra_ext::LinearTransform< DestValueType > Struct Template Reference

#include <utils.h>

Public Types

typedef DestValueType argument_type
 
typedef DestValueType result_type
 

Public Member Functions

 LinearTransform (float scale, float offset)
 
template<class SrcValueType >
result_type operator() (SrcValueType const &s) const
 

Private Attributes

float scale_
 
float offset_
 

Detailed Description

template<class DestValueType>
struct vigra_ext::LinearTransform< DestValueType >

Definition at line 566 of file utils.h.

Member Typedef Documentation

template<class DestValueType >
typedef DestValueType vigra_ext::LinearTransform< DestValueType >::argument_type

Definition at line 572 of file utils.h.

template<class DestValueType >
typedef DestValueType vigra_ext::LinearTransform< DestValueType >::result_type

Definition at line 576 of file utils.h.

Constructor & Destructor Documentation

template<class DestValueType >
vigra_ext::LinearTransform< DestValueType >::LinearTransform ( float  scale,
float  offset 
)
inline

Definition at line 580 of file utils.h.

Member Function Documentation

template<class DestValueType >
template<class SrcValueType >
result_type vigra_ext::LinearTransform< DestValueType >::operator() ( SrcValueType const &  s) const
inline

Member Data Documentation

template<class DestValueType >
float vigra_ext::LinearTransform< DestValueType >::offset_
private

Definition at line 591 of file utils.h.

Referenced by vigra_ext::LinearTransform< DestValueType >::operator()().

template<class DestValueType >
float vigra_ext::LinearTransform< DestValueType >::scale_
private

Definition at line 590 of file utils.h.

Referenced by vigra_ext::LinearTransform< DestValueType >::operator()().


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