|
NorMIT-nav
22.09
An IGT application
|
Go to the documentation of this file.
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();
328 mPatientModelService(patientModelService)
357 mData->setModality(string2enum<IMAGE_MODALITY>(value));
382 return QStringList::fromSet(QSet<QString>::fromList(retval));
390 mPatientModelService(patientModelService)
419 mData->setImageType(string2enum<IMAGE_SUBTYPE>(value));
451 return QStringList::fromSet(QSet<QString>::fromList(retval));
459 mPatientModelService(patientModelService)
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();
521 mPatientModelService(patientModelService)
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();
584 mPatientModelService(patientModelService)
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 bool setValue(const QString &value)
set the data value.
virtual QStringList getValueRange() const
virtual QString getValue() const
get the data value.
virtual QStringList getValueRange() const
QString qstring_cast(const T &val)
virtual QString getValue() const
get the data value.
virtual QString getHelp() const
virtual QStringList getValueRange() const
StringPropertyDataNameEditable()
virtual void setData(DataPtr data)
StringPropertyGlyphLUT(PatientModelServicePtr patientModelService)
Namespace for all CustusX production code.
PatientModelServicePtr mPatientModelService
void activeImageChanged(const QString &uid)
The original image changed signal from DataManager.
virtual bool setValue(double val)
set the data value.
virtual double getValueInternal() const =0
virtual bool setValue(const QString &value)
set the data value.
virtual ~StringPropertyParentFrame()
void changed()
emit when the underlying data value is changed: The user interface will be updated.
void setData(ImagePtr data)
virtual QString getDisplayName() const
name of data entity. Used for display to user.
static ActiveImageProxyPtr New(ActiveDataPtr activeData)
PatientModelServicePtr mPatientModelService
StringPropertyDataUidEditable()
virtual QString getValue() const
get the data value.
PatientModelServicePtr mPatientModelService
void setData(ImagePtr data)
virtual QString getDisplayName() const
name of data entity. Used for display to user.
virtual double getValueInternal() const
StringPropertySetParentFrame(PatientModelServicePtr patientModelService)
StringPropertyImageType(PatientModelServicePtr patientModelService)
virtual ~StringPropertyGlyphColorArray()
virtual QString getDisplayName() const
name of data entity. Used for display to user.
void transferFunctionsChanged()
virtual bool setValue(const QString &value)
set the data value.
virtual QString getValue() const
get the data value.
StringPropertyGlyphColorArray(PatientModelServicePtr patientModelService)
virtual bool setValue(const QString &value)
set the data value.
virtual QString getHelp() const
virtual QString getDisplayName() const
name of data entity. Used for display to user.
void transformChanged()
emitted when transform is changed
virtual void setValueInternal(double val)
PatientModelServicePtr mPatientModelService
boost::shared_ptr< class Mesh > MeshPtr
virtual ~StringPropertyImageType()
virtual QString convertInternal2Display(QString internal)
virtual QString getHelp() const
void dataAddedOrRemoved()
void setData(MeshPtr data)
virtual bool setValue(const QString &value)
set the data value.
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
virtual QString getValue() const
get the data value.
boost::shared_ptr< class Data > DataPtr
virtual QString getHelp() const
virtual double getValueInternal() const
ActiveDataPtr mActiveData
virtual double getValue() const
get the data value.
virtual bool setValue(const QString &value)
set the data value.
ActiveImageProxyPtr mActiveImageProxy
virtual QString getDisplayName() const
name of data entity. Used for display to user.
boost::shared_ptr< class Image > ImagePtr
virtual bool setValue(const QString &value)
set the data value.
void setData(DataPtr data)
Adapter that selects the parent frame of the given Data.
virtual ~StringPropertyGlyphLUT()
virtual DoubleRange getValueRange() const
DoublePropertyActiveImageBase(ActiveDataPtr activeData)
virtual QString getValue() const
get the data value.
virtual bool setValue(const QString &value)
set the data value.
void setData(MeshPtr data)
virtual DoubleRange getValueRange() const
PatientModelServicePtr mPatientModelService
StringPropertyDataModality(PatientModelServicePtr patientModelService)
boost::shared_ptr< class Tool > ToolPtr
void propertiesChanged()
emitted when one of the metadata properties (uid, name etc) changes
virtual void setValueInternal(double val)
virtual void setValueInternal(double val)=0
virtual QString getValue() const
get the data value.
QString enum2string(const ENUM &val)
virtual bool setValue(const QString &value)
set the data value.
virtual QStringList getValueRange() const
StringPropertyGlyphOrientationArray(PatientModelServicePtr patientModelService)
Utility class for describing a bounded numeric range.
virtual QStringList getValueRange() const
boost::shared_ptr< class ActiveData > ActiveDataPtr
virtual ~StringPropertyGlyphOrientationArray()
virtual QString getDisplayName() const
name of data entity. Used for display to user.
StringPropertyParentFrame(PatientModelServicePtr patientModelService)
PatientModelServicePtr mPatientModelService
void setData(MeshPtr data)
virtual void setData(DataPtr data)
virtual QString getValue() const
get the data value.
virtual QStringList getValueRange() const
virtual ~StringPropertyDataModality()
virtual QString getHelp() const
virtual QString getDisplayName() const
name of data entity. Used for display to user.
virtual QString getHelp() const
virtual QString getDisplayName() const
name of data entity. Used for display to user.