| 24 | } |
| 25 | |
| 26 | mitk::Annotation::Bounds mitk::VtkAnnotation2D::GetBoundsOnDisplay(mitk::BaseRenderer *renderer) const |
| 27 | { |
| 28 | mitk::Annotation::Bounds bounds; |
| 29 | vtkSmartPointer<vtkActor2D> actor = GetVtkActor2D(renderer); |
| 30 | bounds.Position = actor->GetPosition(); |
| 31 | bounds.Size = actor->GetPosition2(); |
| 32 | return bounds; |
| 33 | } |
| 34 | |
| 35 | void mitk::VtkAnnotation2D::SetBoundsOnDisplay(mitk::BaseRenderer *renderer, const mitk::Annotation::Bounds &bounds) |
| 36 | { |
no test coverage detected