| 492 | } |
| 493 | |
| 494 | void mitk::ContourModel::ShiftContour(Vector3D &translate, TimeStepType timestep) |
| 495 | { |
| 496 | if (!this->IsEmptyTimeStep(timestep)) |
| 497 | { |
| 498 | // shift all vertices |
| 499 | for (auto vertex : *(this->m_ContourSeries[timestep])) |
| 500 | { |
| 501 | this->ShiftVertex(vertex, translate); |
| 502 | } |
| 503 | |
| 504 | this->Modified(); |
| 505 | this->m_UpdateBoundingBox = true; |
| 506 | this->InvokeEvent(ContourModelShiftEvent()); |
| 507 | } |
| 508 | } |
| 509 | |
| 510 | void mitk::ContourModel::ShiftVertex(VertexType *vertex, Vector3D &vector) |
| 511 | { |
no test coverage detected