38 if (
internal.isEmpty())
39 return "<no coordinate system>";
42 if(
internal ==
"reference")
43 return "data reference";
44 if(
internal ==
"data")
45 return "data (image/mesh)";
46 if(
internal ==
"patient reference")
47 return "patient/tool reference";
48 if(
internal ==
"tool")
50 if(
internal ==
"sensor")
51 return "tools sensor";
62 mTrackingService = trackingService;
63 mCoordinateSystem = csCOUNT;
69 return "Select coordinate system";
74 mCoordinateSystem = string2enum<COORDINATE_SYSTEM>(value);
86 return "Select a coordinate system";
89 void StringPropertySelectCoordinateSystem::setDefaultSlot()
StringPropertySelectCoordinateSystem(TrackingServicePtr trackingService)
QString qstring_cast(const T &val)
virtual QString getHelp() const
return a descriptive help string for the data, used for example as a tool tip.
boost::shared_ptr< class TrackingService > TrackingServicePtr
csSENSOR
a tools sensor space (s)
virtual QStringList getValueRange() const
csREF
the data reference space (r) using LPS (left-posterior-superior) coordinates.
virtual bool setValue(const QString &value)
set the data value.
csPATIENTREF
the patient/tool reference space (pr)
virtual QString convertInternal2Display(QString internal)
range of value. Use if data is constrained to a set.
void changed()
emit when the underlying data value is changed: The user interface will be updated.
virtual QString getValue() const
get the data value.
virtual QString getDisplayName() const
name of data entity. Used for display to user.
virtual bool setValue(const QString &value)=0
set the data value.
StringPropertySelectCoordinateSystemBase()
Namespace for all CustusX production code.