13 #ifndef QMITKLESIONTREEMODEL_H 14 #define QMITKLESIONTREEMODEL_H 51 QModelIndex index(
int row,
int column,
const QModelIndex& itemIndex = QModelIndex())
const override;
52 QModelIndex parent(
const QModelIndex& itemIndex)
const override;
54 int rowCount(
const QModelIndex& itemIndex = QModelIndex())
const override;
55 int columnCount(
const QModelIndex& itemIndex = QModelIndex())
const override;
57 QVariant data(
const QModelIndex& index,
int role = Qt::DisplayRole)
const override;
59 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const override;
84 void SetSelectedDataNodesPresence();
98 std::map<mitk::SemanticTypes::ID, bool> m_DataNodePresence;
101 std::shared_ptr<QmitkLesionTreeItem> m_RootItem;
106 #endif // QMITKLESIONTREEMODEL_H
virtual void SetData()=0
This function is called if the model data is updated. It can be used by subclasses to define the way ...
std::vector< Lesion > LesionVector
std::vector< ControlPoint > ControlPointVector
#define MITKSEMANTICRELATIONSUI_EXPORT
virtual void NodeAdded(const mitk::DataNode *node)=0
void NodeRemoved(const mitk::DataNode *) override
void NodeChanged(const mitk::DataNode *) override
void AddLesion(const SemanticTypes::CaseID &caseID, const SemanticTypes::Lesion &lesion)
Class for nodes of the DataTree.
void NodePredicateChanged() override