33 #ifndef CXDOUBLEPAIRPROPERTY_H_
34 #define CXDOUBLEPAIRPROPERTY_H_
36 #include "cxResourceExport.h"
69 DoubleRange range,
int decimals, QDomNode root = QDomNode());
70 void setInternal2Display(
double factor);
74 virtual QString getDisplayName()
const;
75 virtual QString getUid()
const;
76 virtual bool setValue(
const Eigen::Vector2d& value);
77 virtual Eigen::Vector2d getValue()
const;
78 virtual QString getHelp()
const;
81 virtual int getValueDecimals()
const;
84 return mFactor *
internal;
88 return display / mFactor;
100 Eigen::Vector2d mValue;
108 #endif // CXDOUBLEPAIRPROPERTY_H_
Utility class for describing a bounded numeric range.
virtual double convertDisplay2Internal(double display)
conversion from internal value to display value
Helper class for storing one string value in an xml document.
Implementation of DoublePairPropertyBase.
boost::shared_ptr< class DoublePairProperty > DoublePairPropertyPtr
Abstract interface for interaction with internal data structure: A pair of doubles.
virtual double convertInternal2Display(double internal)
conversion from internal value to display value (for example between 0..1 and percent) ...