17 #ifndef QmitkIsoDoseLevelSetModel_h
18 #define QmitkIsoDoseLevelSetModel_h
20 #include <QAbstractTableModel>
45 virtual Qt::ItemFlags flags(
const QModelIndex &index)
const;
46 virtual QVariant data(
const QModelIndex &index,
int role)
const;
47 virtual QVariant headerData(
int section, Qt::Orientation orientation,
int role)
const;
48 virtual int rowCount(
const QModelIndex &parent = QModelIndex())
const;
49 virtual int columnCount(
const QModelIndex &parent = QModelIndex())
const;
50 virtual bool setData(
const QModelIndex &index,
const QVariant &value,
int role = Qt::EditRole);
52 bool getShowAbsoluteDose()
const;
55 bool getVisibilityEditOnly()
const;
57 void switchVisibilityIsoLines(
bool activate);
58 void switchVisibilityColorWash(
bool activate);
59 void invertVisibilityIsoLines();
60 void invertVisibilityColorWash();
61 void swapVisibility();
64 void deleteLevel(
const QModelIndex &index);
73 void setReferenceDose(
double newReferenceDose);
77 void setShowAbsoluteDose(
bool showAbsoluteDose);
82 void setVisibilityEditOnly(
bool onlyVisibility);
87 bool m_showAbsoluteDose;
88 bool m_visibilityEditOnly;
97 #endif // QmitkIsoDoseLevelSetModel_h
virtual ~QmitkIsoDoseLevelSetModel()
itk::SmartPointer< Self > Pointer
Stores values needed for the representation/visualization of dose iso levels.
double DoseValueAbs
Represents absolute dose values (in Gy).