32 #ifndef CXDATAINTERFACE_H_
33 #define CXDATAINTERFACE_H_
35 #include "cxGuiExport.h"
70 return "Tool tip virtual offset, in mm.";
72 virtual double getValue()
const;
73 virtual bool setValue(
double val);
98 return "Tool tip virtual offset, in mm.";
100 virtual double getValue()
const;
101 virtual bool setValue(
double val);
120 virtual double getValue()
const;
121 virtual bool setValue(
double val);
124 void activeImageChanged();
126 virtual double getValueInternal()
const = 0;
127 virtual void setValueInternal(
double val) = 0;
142 virtual double getValueInternal()
const;
143 virtual void setValueInternal(
double val);
156 virtual double getValueInternal()
const;
157 virtual void setValueInternal(
double val);
176 virtual QString getDisplayName()
const;
177 virtual bool setValue(
const QString& value);
178 virtual QString getValue()
const;
181 virtual QString getHelp()
const;
182 virtual QStringList getValueRange()
const;
183 virtual QString convertInternal2Display(QString
internal);
204 virtual bool setValue(
const QString& value);
219 virtual void setData(
DataPtr data);
223 virtual QString getDisplayName()
const;
224 virtual bool setValue(
const QString& value);
225 virtual QString getValue()
const;
246 virtual void setData(
DataPtr data);
250 virtual QString getDisplayName()
const;
251 virtual bool setValue(
const QString& value);
252 virtual QString getValue()
const;
275 virtual QString getDisplayName()
const;
276 virtual bool setValue(
const QString& value);
277 virtual QString getValue()
const;
280 virtual QString getHelp()
const;
281 virtual QStringList getValueRange()
const;
303 virtual QString getDisplayName()
const;
304 virtual bool setValue(
const QString& value);
305 virtual QString getValue()
const;
308 virtual QString getHelp()
const;
309 virtual QStringList getValueRange()
const;
332 virtual QString getDisplayName()
const;
333 virtual bool setValue(
const QString& value);
334 virtual QString getValue()
const;
337 virtual QString getHelp()
const;
338 virtual QStringList getValueRange()
const;
361 virtual QString getDisplayName()
const;
362 virtual bool setValue(
const QString& value);
363 virtual QString getValue()
const;
366 virtual QString getHelp()
const;
367 virtual QStringList getValueRange()
const;
391 virtual QString getDisplayName()
const;
392 virtual bool setValue(
const QString& value);
393 virtual QString getValue()
const;
396 virtual QString getHelp()
const;
397 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
virtual QString getDisplayName() const
name of data entity. Used for display to user.
boost::shared_ptr< class Tool > ToolPtr