12 #ifndef CXDOUBLEPAIRPROPERTY_H_
13 #define CXDOUBLEPAIRPROPERTY_H_
15 #include "cxResourceExport.h"
48 DoubleRange range,
int decimals, QDomNode root = QDomNode());
49 void setInternal2Display(
double factor);
53 virtual QString getDisplayName()
const;
54 virtual QString getUid()
const;
55 virtual bool setValue(
const Eigen::Vector2d& value);
56 virtual Eigen::Vector2d getValue()
const;
57 virtual QString getHelp()
const;
60 virtual int getValueDecimals()
const;
61 virtual double convertInternal2Display(
double internal)
63 return mFactor *
internal;
65 virtual double convertDisplay2Internal(
double display)
67 return display / mFactor;
79 Eigen::Vector2d mValue;
87 #endif // CXDOUBLEPAIRPROPERTY_H_