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);
198 virtual void setData(
DataPtr data);
202 virtual QString getDisplayName()
const;
203 virtual bool setValue(
const QString& value);
204 virtual QString getValue()
const;
225 virtual void setData(
DataPtr data);
229 virtual QString getDisplayName()
const;
230 virtual bool setValue(
const QString& value);
231 virtual QString getValue()
const;
254 virtual QString getDisplayName()
const;
255 virtual bool setValue(
const QString& value);
256 virtual QString getValue()
const;
259 virtual QString getHelp()
const;
260 virtual QStringList getValueRange()
const;
282 virtual QString getDisplayName()
const;
283 virtual bool setValue(
const QString& value);
284 virtual QString getValue()
const;
287 virtual QString getHelp()
const;
288 virtual QStringList getValueRange()
const;
311 virtual QString getDisplayName()
const;
312 virtual bool setValue(
const QString& value);
313 virtual QString getValue()
const;
316 virtual QString getHelp()
const;
317 virtual QStringList getValueRange()
const;
340 virtual QString getDisplayName()
const;
341 virtual bool setValue(
const QString& value);
342 virtual QString getValue()
const;
345 virtual QString getHelp()
const;
346 virtual QStringList getValueRange()
const;
370 virtual QString getDisplayName()
const;
371 virtual bool setValue(
const QString& value);
372 virtual QString getValue()
const;
375 virtual QString getHelp()
const;
376 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