Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <QmitkIsoDoseLevelSetModel.h>
Public Slots | |
void | setReferenceDose (double newReferenceDose) |
Slot that can be used to set the prescribed dose. More... | |
void | setShowAbsoluteDose (bool showAbsoluteDose) |
Slot that can be used to adjust whether the dose should be displayed in absolute or relative units. More... | |
void | setVisibilityEditOnly (bool onlyVisibility) |
Slat that can be used to adjust wether the model allows to edit only visibilities (no dose value or color) More... | |
Public Member Functions | |
QmitkIsoDoseLevelSetModel (QObject *parent=NULL) | |
virtual | ~QmitkIsoDoseLevelSetModel () |
void | setIsoDoseLevelSet (mitk::IsoDoseLevelSet *pSet) |
virtual Qt::ItemFlags | flags (const QModelIndex &index) const |
virtual QVariant | data (const QModelIndex &index, int role) const |
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
virtual bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
bool | getShowAbsoluteDose () const |
mitk::DoseValueAbs | getReferenceDose () const |
bool | getVisibilityEditOnly () const |
void | switchVisibilityIsoLines (bool activate) |
void | switchVisibilityColorWash (bool activate) |
void | invertVisibilityIsoLines () |
void | invertVisibilityColorWash () |
void | swapVisibility () |
void | addLevel () |
void | deleteLevel (const QModelIndex &index) |
bool | isModified () |
Model that handles a iso dose level set and allows viewing and editing of its contents. Please see special delegates (QmitkDoseColorDelegate, QmitkDoseValueDelegate, QmitkDoseVisualStyleDelegate) to handle visualization and editing in views that work on this model.
Definition at line 34 of file QmitkIsoDoseLevelSetModel.h.
QmitkIsoDoseLevelSetModel::QmitkIsoDoseLevelSetModel | ( | QObject * | parent = NULL | ) |
Definition at line 23 of file QmitkIsoDoseLevelSetModel.cpp.
References mitk::IsoDoseLevelSet::New().
|
inlinevirtual |
Definition at line 40 of file QmitkIsoDoseLevelSetModel.h.
void QmitkIsoDoseLevelSetModel::addLevel | ( | ) |
Definition at line 419 of file QmitkIsoDoseLevelSetModel.cpp.
References mitk::IsoDoseLevel::New().
|
virtual |
Definition at line 62 of file QmitkIsoDoseLevelSetModel.cpp.
|
virtual |
Definition at line 72 of file QmitkIsoDoseLevelSetModel.cpp.
References mitk::IsoDoseLevel::GetColor(), mitk::IsoDoseLevel::GetDoseValue(), mitk::IsoDoseLevel::GetVisibleColorWash(), and mitk::IsoDoseLevel::GetVisibleIsoLine().
void QmitkIsoDoseLevelSetModel::deleteLevel | ( | const QModelIndex & | index | ) |
Definition at line 436 of file QmitkIsoDoseLevelSetModel.cpp.
|
virtual |
Definition at line 157 of file QmitkIsoDoseLevelSetModel.cpp.
mitk::DoseValueAbs QmitkIsoDoseLevelSetModel::getReferenceDose | ( | ) | const |
Definition at line 325 of file QmitkIsoDoseLevelSetModel.cpp.
bool QmitkIsoDoseLevelSetModel::getShowAbsoluteDose | ( | ) | const |
Definition at line 318 of file QmitkIsoDoseLevelSetModel.cpp.
bool QmitkIsoDoseLevelSetModel::getVisibilityEditOnly | ( | ) | const |
Definition at line 332 of file QmitkIsoDoseLevelSetModel.cpp.
|
virtual |
Definition at line 181 of file QmitkIsoDoseLevelSetModel.cpp.
void QmitkIsoDoseLevelSetModel::invertVisibilityColorWash | ( | ) |
Definition at line 385 of file QmitkIsoDoseLevelSetModel.cpp.
void QmitkIsoDoseLevelSetModel::invertVisibilityIsoLines | ( | ) |
Definition at line 369 of file QmitkIsoDoseLevelSetModel.cpp.
bool QmitkIsoDoseLevelSetModel::isModified | ( | ) |
Indicates if the content of the model was modified since the data was set via setIsoDoseLevelSet()
Definition at line 449 of file QmitkIsoDoseLevelSetModel.cpp.
|
virtual |
Definition at line 50 of file QmitkIsoDoseLevelSetModel.cpp.
|
virtual |
Definition at line 215 of file QmitkIsoDoseLevelSetModel.cpp.
References mitk::IsoDoseLevel::SetColor().
void QmitkIsoDoseLevelSetModel::setIsoDoseLevelSet | ( | mitk::IsoDoseLevelSet * | pSet | ) |
Sets the data handled by the model and resets the modified flag
Definition at line 35 of file QmitkIsoDoseLevelSetModel.cpp.
|
slot |
Slot that can be used to set the prescribed dose.
Definition at line 276 of file QmitkIsoDoseLevelSetModel.cpp.
References mitkThrow.
|
slot |
Slot that can be used to adjust whether the dose should be displayed in absolute or relative units.
Definition at line 295 of file QmitkIsoDoseLevelSetModel.cpp.
|
slot |
Slat that can be used to adjust wether the model allows to edit only visibilities (no dose value or color)
Definition at line 306 of file QmitkIsoDoseLevelSetModel.cpp.
void QmitkIsoDoseLevelSetModel::swapVisibility | ( | ) |
Definition at line 401 of file QmitkIsoDoseLevelSetModel.cpp.
void QmitkIsoDoseLevelSetModel::switchVisibilityColorWash | ( | bool | activate | ) |
Definition at line 353 of file QmitkIsoDoseLevelSetModel.cpp.
void QmitkIsoDoseLevelSetModel::switchVisibilityIsoLines | ( | bool | activate | ) |
Definition at line 337 of file QmitkIsoDoseLevelSetModel.cpp.