[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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>

List of all members.

Static Public Member Functions

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

base_code string used in PTO file format upto the the character. T type used in the ImageVariable. Should really be double, but could be float or something. size The number of letters and the size of the vector.


Member Function Documentation

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

template<class T = double, size_t size = 3>
bool HuginBase::PTOVariableConverterVector< T, size >::checkApplicability const std::string  name  )  [inline, static]
 

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

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


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

Generated on Mon Sep 20 01:01:36 2010 for Hugintrunk by doxygen 1.3.9.1