#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. | |
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.
Definition at line 41 of file ImageVariableTranslate.h.
|
||||||||||||||||
|
Add all PTO format variables specifed by an image variable in SrcPanoImg to a VariableMap.
Definition at line 105 of file ImageVariableTranslate.h. |
|
|
Check if a given pto format variable name applies to this image variable.
Definition at line 51 of file ImageVariableTranslate.h. |
|
||||||||||||||||
|
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.
Definition at line 70 of file ImageVariableTranslate.h. |
|
||||||||||||||||||||
|
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.
Definition at line 89 of file ImageVariableTranslate.h. |
1.3.9.1