| 452 | } |
| 453 | |
| 454 | bool mitk::ContourModel::RemoveVertexAt(int index, TimeStepType timestep) |
| 455 | { |
| 456 | if (!this->IsEmptyTimeStep(timestep)) |
| 457 | { |
| 458 | if (this->m_ContourSeries[timestep]->RemoveVertexAt(index)) |
| 459 | { |
| 460 | this->Modified(); |
| 461 | this->m_UpdateBoundingBox = true; |
| 462 | this->InvokeEvent(ContourModelSizeChangeEvent()); |
| 463 | return true; |
| 464 | } |
| 465 | } |
| 466 | return false; |
| 467 | } |
| 468 | |
| 469 | bool mitk::ContourModel::RemoveVertexAt(Point3D &point, float eps, TimeStepType timestep) |
| 470 | { |