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);
274 mData->setName(value);
281 return mData->getName();
312 return mData->getUid();
356 mData->setModality(value);
364 return mData->getModality();
379 retval <<
mData->getModality();
380 retval <<
"CT" <<
"MR" <<
"US";
381 return QStringList::fromSet(QSet<QString>::fromList(retval));
418 mData->setImageType(value);
426 return mData->getImageType();
442 retval <<
mData->getImageType();
443 if (
mData->getModality()==
"CT")
445 if (
mData->getModality()==
"MR")
446 retval <<
"T1" <<
"T2" <<
"ANGIO";
447 if (
mData->getModality()==
"US")
448 retval <<
"B-Mode" <<
"Angio";
450 return QStringList::fromSet(QSet<QString>::fromList(retval));
480 return "Set glyph orientation array";
487 mData->setOrientationArray(value.toStdString().c_str());
495 return mData->getOrientationArray();
502 return "Select which array to use for orientation of the glyphs.";
513 return mData->getOrientationArrayList();
542 return "Set glyph color array";
549 mData->setColorArray(value.toStdString().c_str());
557 return mData->getColorArray();
564 return "Select which array to use for coloring the glyphs.";
575 return mData->getColorArrayList();
605 return "Set glyph color LUT";
612 mData->setGlyphLUT(value.toStdString().c_str());
620 return mData->getGlyphLUT();
627 return "Select which color LUT to use for coloring the glyphs.";
642 "Brewer Diverging Purple-Orange"<<
643 "Brewer Diverging Spectral"<<
644 "Brewer Diverging Brown-Blue-Green"<<
646 "Brewer Sequential Blue-Green"<<
647 "Brewer Sequential Yellow-Orange-Brown"<<
648 "Brewer Sequential Blue-Purple"<<
650 "Brewer Qualitative Accent"<<
651 "Brewer Qualitative Dark2"<<
652 "Brewer Qualitative Set2"<<
653 "Brewer Qualitative Pastel2"<<
654 "Brewer Qualitative Pastel1"<<
655 "Brewer Qualitative Set1"<<
656 "Brewer Qualitative Paired"<<
657 "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
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