13 #ifndef QMITK_POINTLIST_MODEL_H_INCLUDED 14 #define QMITK_POINTLIST_MODEL_H_INCLUDED 17 #include <QAbstractListModel> 30 Qt::ItemFlags flags(
const QModelIndex &)
const override;
33 int rowCount(
const QModelIndex &parent = QModelIndex())
const override;
36 QVariant data(
const QModelIndex &index,
int role)
const override;
39 QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const override;
51 void SetTimeStep(
int t);
54 int GetTimeStep()
const;
57 void OnPointSetChanged(
const itk::EventObject &e);
60 void OnPointSetDeleted(
const itk::EventObject &e);
77 bool GetPointForModelIndex(
const QModelIndex &index,
97 void MoveSelectedPointUp();
99 void MoveSelectedPointDown();
101 void RemoveSelectedPoint();
108 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.