Hugin trunk 0.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
HuginBase::Nona::ReduceToDifferenceFunctor< VALUETYPE > Struct Template Reference

Difference reduce functor. More...

#include <Stitcher.h>

Public Types

typedef VALUETYPE argument_type
 
typedef VALUETYPE result_type
 
typedef vigra::NumericTraits< argument_typeTraits
 
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 637 of file Stitcher.h.

Member Typedef Documentation

◆ argument_type

Definition at line 639 of file Stitcher.h.

◆ float_type

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

Definition at line 642 of file Stitcher.h.

◆ result_type

Definition at line 640 of file Stitcher.h.

◆ Traits

Definition at line 641 of file Stitcher.h.

Constructor & Destructor Documentation

◆ ReduceToDifferenceFunctor()

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

Member Function Documentation

◆ operator()() [1/2]

◆ operator()() [2/2]

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

◆ reset()

Member Data Documentation

◆ sum

◆ values


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