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>

List of all members.

Static Public Member Functions

bool checkApplicability (const std::string name)
double getValueFromVariable (const std::string name, const ImageVariable< T > &var)
void setValueFromVariable (const std::string name, ImageVariable< T > &var, const double value)
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.

code1 1st character of identifier used in PTO file format. code2 2nd character of identifier used in PTO file format (or '/0'). code3 3rd character of identifier used in PTO file format (or '/0'). T type 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>
void HuginBase::PTOVariableConverterSingle< code1, code2, code3, T >::addToVariableMap const ImageVariable< T > &  var,
VariableMap map
[inline, static]
 

Definition at line 141 of file ImageVariableTranslate.h.

References HuginBase::ImageVariable< Type >::getData().

template<char code1, char code2 = '\0', char code3 = '\0', class T = double>
bool HuginBase::PTOVariableConverterSingle< code1, code2, code3, T >::checkApplicability const std::string  name  )  [inline, static]
 

Definition at line 125 of file ImageVariableTranslate.h.

template<char code1, char code2 = '\0', char code3 = '\0', class T = double>
double HuginBase::PTOVariableConverterSingle< code1, code2, code3, T >::getValueFromVariable const std::string  name,
const ImageVariable< T > &  var
[inline, static]
 

Definition at line 131 of file ImageVariableTranslate.h.

References HuginBase::ImageVariable< Type >::getData().

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

Definition at line 136 of file ImageVariableTranslate.h.

References HuginBase::ImageVariable< Type >::setData().


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 01:25:48 2014 for Hugintrunk by  doxygen 1.3.9.1