| 131 | } |
| 132 | |
| 133 | void mitk::ContourModel::InsertVertexAtIndex(const Point3D &vertex, int index, bool isControlPoint, TimeStepType timestep) |
| 134 | { |
| 135 | if (!this->IsEmptyTimeStep(timestep)) |
| 136 | { |
| 137 | if (index >= 0 && this->m_ContourSeries[timestep]->GetSize() >= ContourElement::VertexSizeType(index)) |
| 138 | { |
| 139 | this->m_ContourSeries[timestep]->InsertVertexAtIndex(vertex, isControlPoint, index); |
| 140 | this->InvokeEvent(ContourModelSizeChangeEvent()); |
| 141 | this->Modified(); |
| 142 | this->m_UpdateBoundingBox = true; |
| 143 | } |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | void mitk::ContourModel::UpdateContour(const ContourModel* sourceModel, TimeStepType destinationTimeStep, TimeStepType sourceTimeStep) |
| 148 | { |
no test coverage detected