itom
1.0.13
|
class for handling tags for class DataObject This class contains meta-information for the dataObject. In case of a deep copy it is also deep copied. In case of a shallow copy it is also shallow copied. To copy the axis metainformation into another/new object use copyAxisTagsTo to copy m_axisOffsets, m_axisScales, m_axisDescription, m_axisUnit, m_valueOffset, m_valueScale, m_valueDescription, m_valueUnit, m_rotMatrix. To copy the tag-space, e.g. the protocol, use copyTagMapTo to copy m_tags. More...
#include <dataobj.h>
Public Member Functions | |
DataObjectTags (unsigned int totalAxisNum) | |
< Constructor | |
~DataObjectTags () | |
Copy constructor. | |
DataObjectTags (const DataObjectTags ©Constr) | |
Private Attributes | |
std::map< std::string, DataObjectTagType > | m_tags |
std::vector< double > | m_axisOffsets |
std::vector< double > | m_axisScales |
std::vector< std::string > | m_axisDescription |
std::vector< std::string > | m_axisUnit |
double | m_valueOffset |
double | m_valueScale |
std::string | m_valueDescription |
std::string | m_valueUnit |
double | m_rotMatrix [9] |
Friends | |
class | DataObject |
class for handling tags for class DataObject This class contains meta-information for the dataObject. In case of a deep copy it is also deep copied. In case of a shallow copy it is also shallow copied. To copy the axis metainformation into another/new object use copyAxisTagsTo to copy m_axisOffsets, m_axisScales, m_axisDescription, m_axisUnit, m_valueOffset, m_valueScale, m_valueDescription, m_valueUnit, m_rotMatrix. To copy the tag-space, e.g. the protocol, use copyTagMapTo to copy m_tags.
ito::DataObjectTags::DataObjectTags | ( | unsigned int | totalAxisNum | ) | [inline] |
< Constructor
Destructor
std::vector<std::string> ito::DataObjectTags::m_axisDescription [private] |
vector with axis-describtions
std::vector<double> ito::DataObjectTags::m_axisOffsets [private] |
vector with offset-values for each axis (offset in dataObject-Pixel). Describes the distance from pixel [0,0,..0] to coordiante system origin. Unit-Coordinate = ( px-Coordinate - Offset)* Scale
std::vector<double> ito::DataObjectTags::m_axisScales [private] |
vector with scale-values for each axis (unit / px). Unit-Coordinate = ( px-Coordinate - Offset)* Scale. Scale cannot be 0.0
std::vector<std::string> ito::DataObjectTags::m_axisUnit [private] |
vector with axis-units-description (e.g. 'mm')
double ito::DataObjectTags::m_rotMatrix[9] [private] |
array containing the rotiational matrix for the yx-plane
std::map<std::string, DataObjectTagType> ito::DataObjectTags::m_tags [private] |
map for tags with keyword (std::string) and value (either std::string or double)
std::string ito::DataObjectTags::m_valueDescription [private] |
descriptions for the values (e.g. 'Intensity' or 'Heigth')
double ito::DataObjectTags::m_valueOffset [private] |
offset of the values within the dataObject. Currently as read only with value 0.0
double ito::DataObjectTags::m_valueScale [private] |
scale of the values within the dataObject. Currently as read only with value 1.0
std::string ito::DataObjectTags::m_valueUnit [private] |
unit description for the values (e.g. 'mm')