12 #ifndef CXVECTOR3DPROPERTY_H_ 13 #define CXVECTOR3DPROPERTY_H_ 15 #include "cxResourceExport.h" 17 #include <QDomElement> 18 #include <QStringList> 46 static Vector3DPropertyPtr initialize(
const QString& uid, QString name, QString help,
Vector3D value,
47 DoubleRange range,
int decimals, QDomNode root = QDomNode());
48 void setInternal2Display(
double factor);
52 virtual QString getDisplayName()
const;
53 virtual QString getUid()
const;
54 virtual bool setValue(
const Vector3D& value);
56 virtual QString getHelp()
const;
59 virtual int getValueDecimals()
const;
62 return mFactor *
internal;
66 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.
Namespace for all CustusX production code.