18 mBase(base), mIndex(index), mName(name), mHelp(help)
33 return mBase->setValue(vec);
48 return mBase->getValueRange();
53 return mBase->convertInternal2Display(
internal);
58 return mBase->convertDisplay2Internal(display);
63 return mBase->getValueDecimals();
Utility class for describing a bounded numeric range.
virtual double getValue() const
get the data value.
Vector3DPropertyBasePtr mBase
virtual double convertInternal2Display(double internal)
range of value
boost::shared_ptr< Vector3DPropertyBase > Vector3DPropertyBasePtr
Vector3DComponentProperty(Vector3DPropertyBasePtr base, int index, QString name, QString help)
void changed()
emit when the underlying data value is changed: The user interface will be updated.
virtual double convertDisplay2Internal(double display)
conversion from internal value to display value
virtual DoubleRange getValueRange() const
Eigen::Vector3d Vector3D
Vector3D is a representation of a point or vector in 3D.
virtual bool setValue(double value)
set the data value.
virtual QString getHelp() const
return a descriptive help string for the data, used for example as a tool tip.
virtual int getValueDecimals() const
number of relevant decimals in value
virtual QString getDisplayName() const
name of data entity. Used for display to user.
Namespace for all CustusX production code.