33 mActiveTool(activeTool)
77 return mTool->getTooltipOffset();
82 mTool->setTooltipOffset(val);
98 mActiveData(activeData)
104 void DoublePropertyActiveImageBase::activeImageChanged()
128 return mImage->getLookupTable2D()->getWindow();
132 mImage->getLookupTable2D()->setWindow(val);
138 double range =
mImage->getRange();
147 return mImage->getLookupTable2D()->getLevel();
151 mImage->getLookupTable2D()->setLevel(val);
158 double max =
mImage->getMax();
169 mPatientModelService(patientModelService)
191 return "Parent Frame";
198 mData->get_rMd_History()->addParentSpace(value);
222 for (std::map<QString, DataPtr>::iterator iter=allData.begin(); iter!=allData.end(); ++iter)
224 if (
mData && (
mData->getUid() == iter->first))
253 mData->get_rMd_History()->setParentSpace(value);
275 mData->setName(value);
282 return mData->getName();
313 return mData->getUid();
357 mData->setModality(string2enum<IMAGE_MODALITY>(value));
382 return QStringList::fromSet(QSet<QString>::fromList(retval));
419 mData->setImageType(string2enum<IMAGE_SUBTYPE>(value));
451 return QStringList::fromSet(QSet<QString>::fromList(retval));
481 return "Set glyph orientation array";
488 mData->setOrientationArray(value.toStdString().c_str());
496 return mData->getOrientationArray();
503 return "Select which array to use for orientation of the glyphs.";
514 return mData->getOrientationArrayList();
543 return "Set glyph color array";
550 mData->setColorArray(value.toStdString().c_str());
558 return mData->getColorArray();
565 return "Select which array to use for coloring the glyphs.";
576 return mData->getColorArrayList();
606 return "Set glyph color LUT";
613 mData->setGlyphLUT(value.toStdString().c_str());
621 return mData->getGlyphLUT();
628 return "Select which color LUT to use for coloring the glyphs.";
643 "Brewer Diverging Purple-Orange"<<
644 "Brewer Diverging Spectral"<<
645 "Brewer Diverging Brown-Blue-Green"<<
647 "Brewer Sequential Blue-Green"<<
648 "Brewer Sequential Yellow-Orange-Brown"<<
649 "Brewer Sequential Blue-Purple"<<
651 "Brewer Qualitative Accent"<<
652 "Brewer Qualitative Dark2"<<
653 "Brewer Qualitative Set2"<<
654 "Brewer Qualitative Pastel2"<<
655 "Brewer Qualitative Pastel1"<<
656 "Brewer Qualitative Set1"<<
657 "Brewer Qualitative Paired"<<
658 "Brewer Qualitative Set3";
virtual QString getHelp() const
return a descriptive help string for the data, used for example as a tool tip.
ActiveDataPtr mActiveData
QString qstring_cast(const T &val)
virtual ~StringPropertyGlyphColorArray()
void setData(MeshPtr data)
StringPropertyParentFrame(PatientModelServicePtr patientModelService)
StringPropertyGlyphOrientationArray(PatientModelServicePtr patientModelService)
virtual QString getDisplayName() const
name of data entity. Used for display to user.
virtual void setValueInternal(double val)
virtual QStringList getValueRange() const
void setData(MeshPtr data)
StringPropertyDataNameEditable()
virtual QString getDisplayName() const
name of data entity. Used for display to user.
virtual QString getValue() const
get the data value.
virtual QString getHelp() const
return a descriptive help string for the data, used for example as a tool tip.
virtual DoubleRange getValueRange() const
virtual bool setValue(const QString &value)
set the data value.
virtual ~StringPropertyDataModality()
virtual bool setValue(const QString &value)
set the data value.
void dataAddedOrRemoved()
virtual QString getValue() const
get the data value.
StringPropertyDataModality(PatientModelServicePtr patientModelService)
virtual bool setValue(const QString &value)
set the data value.
void propertiesChanged()
emitted when one of the metadata properties (uid, name etc) changes
virtual QString getHelp() const
return a descriptive help string for the data, used for example as a tool tip.
void transformChanged()
emitted when transform is changed
Utility class for describing a bounded numeric range.
boost::shared_ptr< class Image > ImagePtr
void setData(ImagePtr data)
virtual QString getDisplayName() const
name of data entity. Used for display to user.
boost::shared_ptr< class ActiveData > ActiveDataPtr
virtual bool setValue(const QString &value)
set the data value.
void setData(MeshPtr data)
virtual double getValueInternal() const =0
StringPropertyGlyphLUT(PatientModelServicePtr patientModelService)
virtual QString getHelp() const
return a descriptive help string for the data, used for example as a tool tip.
DoublePropertyActiveImageBase(ActiveDataPtr activeData)
virtual QString getValue() const
get the data value.
void transferFunctionsChanged()
virtual bool setValue(const QString &value)
set the data value.
virtual void setValueInternal(double val)=0
virtual QString getDisplayName() const
name of data entity. Used for display to user.
void setData(ImagePtr data)
virtual bool setValue(const QString &value)
set the data value.
virtual QString getDisplayName() const
name of data entity. Used for display to user.
boost::shared_ptr< class Data > DataPtr
virtual double getValueInternal() const
Adapter that selects the parent frame of the given Data.
virtual ~StringPropertyParentFrame()
static ActiveImageProxyPtr New(ActiveDataPtr activeData)
StringPropertyDataUidEditable()
virtual QString getValue() const
get the data value.
virtual double getValueInternal() const
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
virtual QString getValue() const
get the data value.
virtual bool setValue(const QString &value)
set the data value.
virtual QString getValue() const
get the data value.
virtual QString getDisplayName() const
name of data entity. Used for display to user.
virtual void setData(DataPtr data)
virtual QString getDisplayName() const
name of data entity. Used for display to user.
virtual QString getHelp() const
return a descriptive help string for the data, used for example as a tool tip.
void changed()
emit when the underlying data value is changed: The user interface will be updated.
virtual QStringList getValueRange() const
virtual QStringList getValueRange() const
virtual QString getValue() const
get the data value.
virtual QStringList getValueRange() const
virtual QString getHelp() const
return a descriptive help string for the data, used for example as a tool tip.
virtual QStringList getValueRange() const
StringPropertyGlyphColorArray(PatientModelServicePtr patientModelService)
virtual double getValue() const
get the data value.
StringPropertyImageType(PatientModelServicePtr patientModelService)
void setData(DataPtr data)
PatientModelServicePtr mPatientModelService
PatientModelServicePtr mPatientModelService
PatientModelServicePtr mPatientModelService
PatientModelServicePtr mPatientModelService
virtual ~StringPropertyImageType()
virtual QString convertInternal2Display(QString internal)
range of value. Use if data is constrained to a set.
virtual bool setValue(double val)
set the data value.
StringPropertySetParentFrame(PatientModelServicePtr patientModelService)
virtual QStringList getValueRange() const
virtual QString getDisplayName() const
name of data entity. Used for display to user.
virtual bool setValue(const QString &value)
set the data value.
PatientModelServicePtr mPatientModelService
void activeImageChanged(const QString &uid)
The original image changed signal from DataManager.
boost::shared_ptr< class Mesh > MeshPtr
virtual void setData(DataPtr data)
ActiveImageProxyPtr mActiveImageProxy
virtual DoubleRange getValueRange() const
QString enum2string(const ENUM &val)
virtual ~StringPropertyGlyphLUT()
virtual void setValueInternal(double val)
PatientModelServicePtr mPatientModelService
virtual bool setValue(const QString &value)
set the data value.
virtual ~StringPropertyGlyphOrientationArray()
virtual QString getValue() const
get the data value.
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr