54 mActiveTool(activeTool)
98 return mTool->getTooltipOffset();
103 mTool->setTooltipOffset(val);
119 mActiveData(activeData)
125 void DoublePropertyActiveImageBase::activeImageChanged()
149 return mImage->getLookupTable2D()->getWindow();
153 mImage->getLookupTable2D()->setWindow(val);
159 double range =
mImage->getRange();
168 return mImage->getLookupTable2D()->getLevel();
172 mImage->getLookupTable2D()->setLevel(val);
179 double max =
mImage->getMax();
190 mPatientModelService(patientModelService)
212 return "Parent Frame";
219 mData->get_rMd_History()->addParentSpace(value);
243 for (std::map<QString, DataPtr>::iterator iter=allData.begin(); iter!=allData.end(); ++iter)
245 if (
mData && (
mData->getUid() == iter->first))
274 mData->get_rMd_History()->setParentSpace(value);
295 mData->setName(value);
302 return mData->getName();
333 return mData->getUid();
348 mPatientModelService(patientModelService)
377 mData->setModality(value);
385 return mData->getModality();
400 retval <<
mData->getModality();
401 retval <<
"CT" <<
"MR" <<
"US";
402 return QStringList::fromSet(QSet<QString>::fromList(retval));
410 mPatientModelService(patientModelService)
439 mData->setImageType(value);
447 return mData->getImageType();
463 retval <<
mData->getImageType();
464 if (
mData->getModality()==
"CT")
466 if (
mData->getModality()==
"MR")
467 retval <<
"T1" <<
"T2" <<
"ANGIO";
468 if (
mData->getModality()==
"US")
469 retval <<
"B-Mode" <<
"Angio";
471 return QStringList::fromSet(QSet<QString>::fromList(retval));
479 mPatientModelService(patientModelService)
501 return "Set glyph orientation array";
508 mData->setOrientationArray(value.toStdString().c_str());
516 return mData->getOrientationArray();
523 return "Select which array to use for orientation of the glyphs.";
534 return mData->getOrientationArrayList();
541 mPatientModelService(patientModelService)
563 return "Set glyph color array";
570 mData->setColorArray(value.toStdString().c_str());
578 return mData->getColorArray();
585 return "Select which array to use for coloring the glyphs.";
596 return mData->getColorArrayList();
604 mPatientModelService(patientModelService)
626 return "Set glyph color LUT";
633 mData->setGlyphLUT(value.toStdString().c_str());
641 return mData->getGlyphLUT();
648 return "Select which color LUT to use for coloring the glyphs.";
663 "Brewer Diverging Purple-Orange"<<
664 "Brewer Diverging Spectral"<<
665 "Brewer Diverging Brown-Blue-Green"<<
667 "Brewer Sequential Blue-Green"<<
668 "Brewer Sequential Yellow-Orange-Brown"<<
669 "Brewer Sequential Blue-Purple"<<
671 "Brewer Qualitative Accent"<<
672 "Brewer Qualitative Dark2"<<
673 "Brewer Qualitative Set2"<<
674 "Brewer Qualitative Pastel2"<<
675 "Brewer Qualitative Pastel1"<<
676 "Brewer Qualitative Set1"<<
677 "Brewer Qualitative Paired"<<
678 "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.
boost::shared_ptr< class Tool > ToolPtr