60 if (
internal.isEmpty())
61 return "<no coordinate system>";
64 if(
internal ==
"reference")
65 return "data reference";
66 if(
internal ==
"data")
67 return "data (image/mesh)";
68 if(
internal ==
"patient reference")
69 return "patient/tool reference";
70 if(
internal ==
"tool")
72 if(
internal ==
"sensor")
73 return "tools sensor";
84 mTrackingService = trackingService;
85 mCoordinateSystem = csCOUNT;
91 return "Select coordinate system";
96 mCoordinateSystem = string2enum<COORDINATE_SYSTEM>(value);
108 return "Select a coordinate system";
111 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.