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::PTOVariableConverterVector< T, size > Class Template Reference

Object to group conversion functions for PTO format variables representing a std::vector variable in SrcPanoImg, using characters stating from 'a'. More...

#include <ImageVariableTranslate.h>

Static Public Member Functions

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

Detailed Description

template<class T = double, size_t size = 3>
class HuginBase::PTOVariableConverterVector< T, size >

Object to group conversion functions for PTO format variables representing a std::vector variable in SrcPanoImg, using characters stating from 'a'.

This can only be used for one variable, and it is RadialDistortion.

Template Parameters
base_codestring used in PTO file format upto the the character.
Ttype used in the ImageVariable. Should really be double, but could be float or something.
sizeThe number of letters and the size of the vector.

Definition at line 203 of file ImageVariableTranslate.h.

Member Function Documentation

template<class T = double, size_t size = 3>
static void HuginBase::PTOVariableConverterVector< T, size >::addToVariableMap ( const ImageVariable< std::vector< T > > &  var,
VariableMap map 
)
inlinestatic

Definition at line 223 of file ImageVariableTranslate.h.

template<class T = double, size_t size = 3>
static bool HuginBase::PTOVariableConverterVector< T, size >::checkApplicability ( const std::string &  name)
inlinestatic

Definition at line 206 of file ImageVariableTranslate.h.

template<class T = double, size_t size = 3>
static double HuginBase::PTOVariableConverterVector< T, size >::getValueFromVariable ( const std::string &  name,
const ImageVariable< std::vector< T > > &  var 
)
inlinestatic

Definition at line 211 of file ImageVariableTranslate.h.

template<class T = double, size_t size = 3>
static void HuginBase::PTOVariableConverterVector< T, size >::setValueFromVariable ( const std::string &  name,
ImageVariable< std::vector< T > > &  var,
const double  value 
)
inlinestatic

Definition at line 216 of file ImageVariableTranslate.h.


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