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
ScaleFunctor< T > Struct Template Reference

functor to scale image on the fly during other operations More...

Public Types

typedef T result_type
 

Public Member Functions

 ScaleFunctor (double scale)
 
operator() (const T &a) const
 
template<class T2 >
T2 operator() (const T2 &a, const hugin_utils::FDiff2D &p) const
 
template<class T2 , class A >
hdrWeight (T2 v, A a) const
 

Private Attributes

double m_scale
 

Detailed Description

template<class T>
struct ScaleFunctor< T >

functor to scale image on the fly during other operations

Definition at line 147 of file PanoDetectorLogic.cpp.

Member Typedef Documentation

template<class T >
typedef T ScaleFunctor< T >::result_type

Definition at line 149 of file PanoDetectorLogic.cpp.

Constructor & Destructor Documentation

template<class T >
ScaleFunctor< T >::ScaleFunctor ( double  scale)
inlineexplicit

Definition at line 150 of file PanoDetectorLogic.cpp.

References ScaleFunctor< T >::m_scale.

Member Function Documentation

template<class T >
template<class T2 , class A >
A ScaleFunctor< T >::hdrWeight ( T2  v,
a 
) const
inline

Definition at line 164 of file PanoDetectorLogic.cpp.

template<class T >
T ScaleFunctor< T >::operator() ( const T &  a) const
inline

Definition at line 152 of file PanoDetectorLogic.cpp.

References ScaleFunctor< T >::m_scale.

template<class T >
template<class T2 >
T2 ScaleFunctor< T >::operator() ( const T2 &  a,
const hugin_utils::FDiff2D p 
) const
inline

Definition at line 158 of file PanoDetectorLogic.cpp.

References ScaleFunctor< T >::m_scale.

Member Data Documentation

template<class T >
double ScaleFunctor< T >::m_scale
private

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