| 33 | } |
| 34 | |
| 35 | void mitk::VtkAnnotation2D::SetBoundsOnDisplay(mitk::BaseRenderer *renderer, const mitk::Annotation::Bounds &bounds) |
| 36 | { |
| 37 | vtkSmartPointer<vtkActor2D> actor = GetVtkActor2D(renderer); |
| 38 | actor->SetDisplayPosition(bounds.Position[0], bounds.Position[1]); |
| 39 | actor->SetWidth(bounds.Size[0]); |
| 40 | actor->SetHeight(bounds.Size[1]); |
| 41 | } |
| 42 | |
| 43 | void mitk::VtkAnnotation2D::UpdateVtkAnnotation(mitk::BaseRenderer *renderer) |
| 44 | { |
no outgoing calls
no test coverage detected