11 #ifndef CXDATAINTERFACE_H_ 12 #define CXDATAINTERFACE_H_ 14 #include "cxGuiExport.h" 39 static boost::shared_ptr<DoublePropertyActiveToolOffset>
create(ActiveToolProxyPtr activeTool)
49 return "Tool tip virtual offset, in mm.";
51 virtual double getValue()
const;
52 virtual bool setValue(
double val);
77 return "Tool tip virtual offset, in mm.";
79 virtual double getValue()
const;
80 virtual bool setValue(
double val);
99 virtual double getValue()
const;
100 virtual bool setValue(
double val);
103 void activeImageChanged();
105 virtual double getValueInternal()
const = 0;
106 virtual void setValueInternal(
double val) = 0;
121 virtual double getValueInternal()
const;
122 virtual void setValueInternal(
double val);
135 virtual double getValueInternal()
const;
136 virtual void setValueInternal(
double val);
155 virtual QString getDisplayName()
const;
156 virtual bool setValue(
const QString& value);
157 virtual QString getValue()
const;
160 virtual QString getHelp()
const;
161 virtual QStringList getValueRange()
const;
162 virtual QString convertInternal2Display(QString
internal);
183 virtual bool setValue(
const QString& value);
186 void parentChanged();
201 virtual void setData(
DataPtr data);
205 virtual QString getDisplayName()
const;
206 virtual bool setValue(
const QString& value);
207 virtual QString getValue()
const;
228 virtual void setData(
DataPtr data);
232 virtual QString getDisplayName()
const;
233 virtual bool setValue(
const QString& value);
234 virtual QString getValue()
const;
257 virtual QString getDisplayName()
const;
258 virtual bool setValue(
const QString& value);
259 virtual QString getValue()
const;
262 virtual QString getHelp()
const;
263 virtual QStringList getValueRange()
const;
285 virtual QString getDisplayName()
const;
286 virtual bool setValue(
const QString& value);
287 virtual QString getValue()
const;
290 virtual QString getHelp()
const;
291 virtual QStringList getValueRange()
const;
314 virtual QString getDisplayName()
const;
315 virtual bool setValue(
const QString& value);
316 virtual QString getValue()
const;
319 virtual QString getHelp()
const;
320 virtual QStringList getValueRange()
const;
343 virtual QString getDisplayName()
const;
344 virtual bool setValue(
const QString& value);
345 virtual QString getValue()
const;
348 virtual QString getHelp()
const;
349 virtual QStringList getValueRange()
const;
373 virtual QString getDisplayName()
const;
374 virtual bool setValue(
const QString& value);
375 virtual QString getValue()
const;
378 virtual QString getHelp()
const;
379 virtual QStringList getValueRange()
const;
ActiveDataPtr mActiveData
virtual bool isReadOnly() const
static StringPropertyParentFramePtr New(PatientModelServicePtr patientModelService)
boost::shared_ptr< class StringPropertyDataUidEditable > StringPropertyDataUidEditablePtr
DataInterface implementation for the LUT 2D window value.
Superclass for all doubles interacting with the active image.
Adapter that selects the glyph orientation array.
boost::shared_ptr< class StringPropertyParentFrame > StringPropertyParentFramePtr
virtual ~StringPropertyDataNameEditable()
boost::shared_ptr< class StringPropertyImageType > StringPropertyImageTypePtr
boost::shared_ptr< class StringPropertyGlyphColorArray > StringPropertyGlyphColorArrayPtr
static StringPropertyDataModalityPtr New(PatientModelServicePtr patientModelService)
virtual bool isReadOnly() const
Utility class for describing a bounded numeric range.
boost::shared_ptr< class Image > ImagePtr
boost::shared_ptr< class StringPropertyDataNameEditable > StringPropertyDataNameEditablePtr
boost::shared_ptr< class ActiveImageProxy > ActiveImageProxyPtr
static StringPropertyGlyphLUTPtr New(PatientModelServicePtr patientModelService)
boost::shared_ptr< class ActiveData > ActiveDataPtr
virtual bool getAllowOnlyValuesInRange() const
static StringPropertyGlyphColorArrayPtr New(PatientModelServicePtr patientModelService)
static StringPropertyDataUidEditablePtr New()
virtual ~DoubleProperty2DLevel()
Abstract interface for interaction with internal string-valued data.
boost::shared_ptr< class StringPropertySetParentFrame > StringPropertySetParentFramePtr
boost::shared_ptr< class StringPropertyGlyphOrientationArray > StringPropertyGlyphOrientationArrayPtr
boost::shared_ptr< class Data > DataPtr
virtual QString getDisplayName() const
name of data entity. Used for display to user.
static StringPropertyImageTypePtr New(PatientModelServicePtr patientModelService)
Adapter that selects the parent frame of the given Data.
Adapter that selects the image type of the given Data.
DataInterface implementation for the LUT 2D level value.
static StringPropertyDataNameEditablePtr New()
Adapter that selects the modality of the given Data.
Adapter for displaying and changing name of a Data.
virtual void connectValueSignals(bool on)
virtual ~StringPropertyDataUidEditable()
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
boost::shared_ptr< class StringPropertyGlyphLUT > StringPropertyGlyphLUTPtr
static StringPropertyGlyphOrientationArrayPtr New(PatientModelServicePtr patientModelService)
virtual ~DoubleProperty2DWindow()
Adapter that selects the glyph color LUT.
Adapter for displaying and changing name of a Data.
virtual ~StringPropertySetParentFrame()
static StringPropertySetParentFramePtr New(PatientModelServicePtr patientModelService)
boost::shared_ptr< class StringPropertyDataModality > StringPropertyDataModalityPtr
Adapter that force sets the parent frame of the given Data, i.e. overwriting history. Nice for initial definition.
Adapter that selects the glyph color array.
PatientModelServicePtr mPatientModelService
PatientModelServicePtr mPatientModelService
PatientModelServicePtr mPatientModelService
PatientModelServicePtr mPatientModelService
virtual ~DoublePropertyActiveImageBase()
PatientModelServicePtr mPatientModelService
boost::shared_ptr< class Mesh > MeshPtr
ActiveImageProxyPtr mActiveImageProxy
virtual bool getAllowOnlyValuesInRange() const
PatientModelServicePtr mPatientModelService
Namespace for all CustusX production code.
virtual QString getDisplayName() const
name of data entity. Used for display to user.
boost::shared_ptr< class Tool > ToolPtr