33 #ifndef CXVECTOR3DPROPERTY_H_
34 #define CXVECTOR3DPROPERTY_H_
36 #include "cxResourceExport.h"
38 #include <QDomElement>
39 #include <QStringList>
68 DoubleRange range,
int decimals, QDomNode root = QDomNode());
69 void setInternal2Display(
double factor);
73 virtual QString getDisplayName()
const;
74 virtual QString getUid()
const;
75 virtual bool setValue(
const Vector3D& value);
77 virtual QString getHelp()
const;
80 virtual int getValueDecimals()
const;
83 return mFactor *
internal;
87 return display / mFactor;
Utility class for describing a bounded numeric range.
Helper class for storing one string value in an xml document.
Abstract interface for interaction with internal Vector3D-valued data.
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
boost::shared_ptr< class Vector3DProperty > Vector3DPropertyPtr
virtual double convertDisplay2Internal(double display)
conversion from internal value to display value
virtual double convertInternal2Display(double internal)
conversion from internal value to display value (for example between 0..1 and percent) ...
Represents one option of the double type.