Hugin trunk 0.1
Loading...
Searching...
No Matches
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

◆ argument_type

Definition at line 572 of file utils.h.

◆ result_type

Definition at line 576 of file utils.h.

Constructor & Destructor Documentation

◆ LinearTransform()

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

Definition at line 580 of file utils.h.

Member Function Documentation

◆ operator()()

Member Data Documentation

◆ offset_

Definition at line 591 of file utils.h.

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

◆ scale_

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: