39 if (
internal.isEmpty())
40 return "<no coordinate system>";
43 if(
internal ==
"reference")
44 return "data reference";
45 if(
internal ==
"data")
46 return "data (image/mesh)";
47 if(
internal ==
"patient reference")
48 return "patient/tool reference";
49 if(
internal ==
"tool")
51 if(
internal ==
"sensor")
52 return "tools sensor";
63 mTrackingService = trackingService;
64 mCoordinateSystem = csCOUNT;
70 return "Select coordinate system";
75 mCoordinateSystem = string2enum<COORDINATE_SYSTEM>(value);
87 return "Select a coordinate system";
90 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.