17 #ifndef QMITK_POINTLIST_MODEL_H_INCLUDED
18 #define QMITK_POINTLIST_MODEL_H_INCLUDED
21 #include <QAbstractListModel>
34 Qt::ItemFlags flags(
const QModelIndex &)
const override;
37 int rowCount(
const QModelIndex &parent = QModelIndex())
const override;
40 QVariant data(
const QModelIndex &index,
int role)
const override;
43 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const override;
55 void SetTimeStep(
int t);
58 int GetTimeStep()
const;
61 void OnPointSetChanged(
const itk::EventObject &e);
64 void OnPointSetDeleted(
const itk::EventObject &e);
81 bool GetPointForModelIndex(
const QModelIndex &index,
101 void MoveSelectedPointUp();
103 void MoveSelectedPointDown();
105 void RemoveSelectedPoint();
112 void SignalUpdateSelection();
unsigned int m_PointSetDeletedObserverTag
DataType::PointIdentifier PointIdentifier
Data structure which stores a set of points. Superclass of mitk::Mesh.
unsigned int m_PointSetModifiedObserverTag
mitk::DataNode * m_PointSetNode
Class for nodes of the DataTree.