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::PTOVariableConverterSingle< code1, code2, code3, T > Class Template Reference

Object to group conversion functions for PTO format variables of up to three characters representing a single 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< T > &var)
 
static void setValueFromVariable (const std::string &name, ImageVariable< T > &var, const double value)
 
static void addToVariableMap (const ImageVariable< T > &var, VariableMap &map)
 

Detailed Description

template<char code1, char code2 = '\0', char code3 = '\0', class T = double>
class HuginBase::PTOVariableConverterSingle< code1, code2, code3, T >

Object to group conversion functions for PTO format variables of up to three characters representing a single variable in SrcPanoImg.

Template Parameters
code11st character of identifier used in PTO file format.
code22nd character of identifier used in PTO file format (or '/0').
code33rd character of identifier used in PTO file format (or '/0').
Ttype used in the ImageVariable. Should really be double, but some are small integers or enumerations.

Definition at line 122 of file ImageVariableTranslate.h.

Member Function Documentation

template<char code1, char code2 = '\0', char code3 = '\0', class T = double>
static void HuginBase::PTOVariableConverterSingle< code1, code2, code3, T >::addToVariableMap ( const ImageVariable< T > &  var,
VariableMap map 
)
inlinestatic
template<char code1, char code2 = '\0', char code3 = '\0', class T = double>
static bool HuginBase::PTOVariableConverterSingle< code1, code2, code3, T >::checkApplicability ( const std::string &  name)
inlinestatic

Definition at line 125 of file ImageVariableTranslate.h.

template<char code1, char code2 = '\0', char code3 = '\0', class T = double>
static double HuginBase::PTOVariableConverterSingle< code1, code2, code3, T >::getValueFromVariable ( const std::string &  name,
const ImageVariable< T > &  var 
)
inlinestatic
template<char code1, char code2 = '\0', char code3 = '\0', class T = double>
static void HuginBase::PTOVariableConverterSingle< code1, code2, code3, T >::setValueFromVariable ( const std::string &  name,
ImageVariable< T > &  var,
const double  value 
)
inlinestatic

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