| 136 | } |
| 137 | |
| 138 | int QmitkPointListModel::rowCount(const QModelIndex &) const |
| 139 | { |
| 140 | mitk::PointSet::Pointer pointSet = this->CheckForPointSetInNode(m_PointSetNode); |
| 141 | if (pointSet.IsNotNull()) |
| 142 | { |
| 143 | return pointSet->GetSize(m_TimeStep); |
| 144 | } |
| 145 | else |
| 146 | { |
| 147 | return 0; |
| 148 | } |
| 149 | } |
| 150 | |
| 151 | QVariant QmitkPointListModel::data(const QModelIndex &index, int role) const |
| 152 | { |
nothing calls this directly
no test coverage detected