HuginBase::PTOVariableConverterNoOp Class Reference
Parent class to anything that aids conversion between PTO file variables and the image variables of SrcPanoImg. More...
#include <ImageVariableTranslate.h>
Static Public Member Functions | |
| bool | checkApplicability (const std::string name) |
| Check if a given pto format variable name applies to this image variable. | |
| template<class T> | |
| double | getValueFromVariable (const std::string name, const ImageVariable< T > &var) |
| Get a pto format variable's value, given its name and a reference to the variable in SrcPanoImg. | |
| template<class T> | |
| void | setValueFromVariable (const std::string name, ImageVariable< T > &var, const double value) |
| Set a ImageVariable in SrcPanoImg given the pto format variable. | |
| template<class T> | |
| void | addToVariableMap (const ImageVariable< T > &var, VariableMap &map) |
| Add all PTO format variables specifed by an image variable in SrcPanoImg to a VariableMap. | |
Detailed Description
Parent class to anything that aids conversion between PTO file variables and the image variables of SrcPanoImg.Although this class doesn't really do anything itself, it will be used when the variable in SrcPanoImg is not written to a file.
We derive children of these to handle more specific cases, which are usually templates to handle similar things (e.g. all vectors) We then typedef to make a convertor for each variable in SrcPanoImg.
Member Function Documentation
|
||||||||||||||||
|
Add all PTO format variables specifed by an image variable in SrcPanoImg to a VariableMap.
|
|
|
Check if a given pto format variable name applies to this image variable.
|
|
||||||||||||||||
|
Get a pto format variable's value, given its name and a reference to the variable in SrcPanoImg. It is a precondition of this function that the checkApplicability function returns true when passed name.
|
|
||||||||||||||||||||
|
Set a ImageVariable in SrcPanoImg given the pto format variable. It is a precondition of this function that the checkApplicability function returns true when passed name.
|
The documentation for this class was generated from the following file:
- hugin_base/panodata/ImageVariableTranslate.h
1.3.9.1