HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE > Struct Template Reference

Difference reduce functor. More...

#include <Stitcher.h>

List of all members.

Public Types

typedef VALUETYPE argument_type
typedef VALUETYPE result_type
typedef vigra::NumericTraits<
argument_type
Traits
typedef Traits::RealPromote float_type

Public Member Functions

 ReduceToDifferenceFunctor ()
void reset ()
template<class T, class M>
void operator() (T const &v, M const &a)
float_type operator() () const
 return the result

Public Attributes

std::vector< float_typevalues
float_type sum


Detailed Description

template<class VALUETYPE>
struct HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >

Difference reduce functor.

Definition at line 654 of file Stitcher.h.


Member Typedef Documentation

template<class VALUETYPE>
typedef VALUETYPE HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::argument_type

Definition at line 656 of file Stitcher.h.

template<class VALUETYPE>
typedef Traits::RealPromote HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::float_type

Definition at line 659 of file Stitcher.h.

template<class VALUETYPE>
typedef VALUETYPE HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::result_type

Definition at line 657 of file Stitcher.h.

template<class VALUETYPE>
typedef vigra::NumericTraits<argument_type> HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::Traits

Definition at line 658 of file Stitcher.h.


Constructor & Destructor Documentation

template<class VALUETYPE>
HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::ReduceToDifferenceFunctor (  )  [inline]

Definition at line 662 of file Stitcher.h.

References HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::reset().


Member Function Documentation

template<class VALUETYPE>
float_type HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::operator() (  )  const [inline]

return the result

Definition at line 683 of file Stitcher.h.

References HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::sum, and HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::values.

template<class VALUETYPE>
template<class T, class M>
void HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::operator() ( T const &  v,
M const &  a 
) [inline]

Definition at line 674 of file Stitcher.h.

References HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::sum, and HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::values.

template<class VALUETYPE>
void HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::reset (  )  [inline]

Definition at line 667 of file Stitcher.h.

References HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::sum, and HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::values.

Referenced by HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::ReduceToDifferenceFunctor().


Member Data Documentation

template<class VALUETYPE>
float_type HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::sum

Definition at line 698 of file Stitcher.h.

Referenced by HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::operator()(), and HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::reset().

template<class VALUETYPE>
std::vector<float_type> HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::values

Definition at line 697 of file Stitcher.h.

Referenced by HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::operator()(), and HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE >::reset().


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