ScaleFunctor< T > Struct Template Reference

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

List of all members.

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 146 of file PanoDetectorLogic.cpp.


Member Typedef Documentation

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

Definition at line 148 of file PanoDetectorLogic.cpp.


Constructor & Destructor Documentation

template<class T>
ScaleFunctor< T >::ScaleFunctor ( double  scale  )  [inline, explicit]

Definition at line 149 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 163 of file PanoDetectorLogic.cpp.

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

Definition at line 157 of file PanoDetectorLogic.cpp.

References ScaleFunctor< T >::m_scale.

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

Definition at line 151 of file PanoDetectorLogic.cpp.

References ScaleFunctor< T >::m_scale.


Member Data Documentation

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

Definition at line 169 of file PanoDetectorLogic.cpp.

Referenced by ScaleFunctor< T >::operator()(), and ScaleFunctor< T >::ScaleFunctor().


The documentation for this struct was generated from the following file:
Generated on 23 Jan 2018 for Hugintrunk by  doxygen 1.4.7