Hugintrunk  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
HuginBase::PTOVariableConverterFDiff2D< code_x1, code_y1, code_x2, code_y2 > Class Template Reference

Object to group conversion functions for PTO format variables representing a hugin_utils::FDiff2D variable in SrcPanoImg. More...

#include <ImageVariableTranslate.h>

Static Public Member Functions

static bool checkApplicability (const std::string &name)
 
static double getValueFromVariable (const std::string &name, const ImageVariable< hugin_utils::FDiff2D > &var)
 
static void setValueFromVariable (const std::string &name, ImageVariable< hugin_utils::FDiff2D > &var, const double value)
 
static void addToVariableMap (const ImageVariable< hugin_utils::FDiff2D > &var, VariableMap &map)
 

Detailed Description

template<char code_x1, char code_y1, char code_x2 = '\0', char code_y2 = '\0'>
class HuginBase::PTOVariableConverterFDiff2D< code_x1, code_y1, code_x2, code_y2 >

Object to group conversion functions for PTO format variables representing a hugin_utils::FDiff2D variable in SrcPanoImg.

Each element must have a pto file format code that is 1 or 2 characters in length.

Template Parameters
code_xThe PTO format code that matches the x memeber in the FDiff2D.
code_yThe PTO format code that matches the y memeber in the FDiff2D.

Definition at line 241 of file ImageVariableTranslate.h.

Member Function Documentation

template<char code_x1, char code_y1, char code_x2 = '\0', char code_y2 = '\0'>
static void HuginBase::PTOVariableConverterFDiff2D< code_x1, code_y1, code_x2, code_y2 >::addToVariableMap ( const ImageVariable< hugin_utils::FDiff2D > &  var,
VariableMap map 
)
inlinestatic
template<char code_x1, char code_y1, char code_x2 = '\0', char code_y2 = '\0'>
static bool HuginBase::PTOVariableConverterFDiff2D< code_x1, code_y1, code_x2, code_y2 >::checkApplicability ( const std::string &  name)
inlinestatic

Definition at line 244 of file ImageVariableTranslate.h.

template<char code_x1, char code_y1, char code_x2 = '\0', char code_y2 = '\0'>
static double HuginBase::PTOVariableConverterFDiff2D< code_x1, code_y1, code_x2, code_y2 >::getValueFromVariable ( const std::string &  name,
const ImageVariable< hugin_utils::FDiff2D > &  var 
)
inlinestatic
template<char code_x1, char code_y1, char code_x2 = '\0', char code_y2 = '\0'>
static void HuginBase::PTOVariableConverterFDiff2D< code_x1, code_y1, code_x2, code_y2 >::setValueFromVariable ( const std::string &  name,
ImageVariable< hugin_utils::FDiff2D > &  var,
const double  value 
)
inlinestatic

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