vigra_ext::LinearTransform< DestValueType > Struct Template Reference

#include <utils.h>

List of all members.

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 459 of file utils.h.


Member Typedef Documentation

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

Definition at line 465 of file utils.h.

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

Definition at line 469 of file utils.h.


Constructor & Destructor Documentation

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

Definition at line 473 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]

Definition at line 477 of file utils.h.

References vigra_ext::LinearTransform< DestValueType >::offset_, and vigra_ext::LinearTransform< DestValueType >::scale_.


Member Data Documentation

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

Definition at line 484 of file utils.h.

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

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

Definition at line 483 of file utils.h.

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


The documentation for this struct was generated from the following file:
Generated on 24 Oct 2014 for Hugintrunk by  doxygen 1.4.7