13 #ifndef mitkVtkAnnotation2D_h
14 #define mitkVtkAnnotation2D_h
18 #include <vtkSmartPointer.h>
#define MITKANNOTATION_EXPORT
The VtkAnnotation2D class is the basis for all VTK based Annotation which create a vtkActor2D element...
void SetOffsetVector(const Point2D &OffsetVector)
Point2D GetPosition2D() const
virtual void UpdateVtkAnnotation2D(BaseRenderer *renderer)=0
Point2D GetOffsetVector() const
virtual vtkActor2D * GetVtkActor2D(BaseRenderer *renderer) const =0
~VtkAnnotation2D() override
virtual destructor in order to derive from this class
vtkProp * GetVtkProp(BaseRenderer *renderer) const override
This method is implemented by the specific VTKAnnotation in order to create the element as a vtkProp.
Annotation::Bounds GetBoundsOnDisplay(BaseRenderer *renderer) const override
Returns position and size of the Annotation on the display.
void UpdateVtkAnnotation(BaseRenderer *renderer) override
void SetBoundsOnDisplay(BaseRenderer *renderer, const Bounds &bounds) override
Sets position and size of the Annotation on the display.
void SetPosition2D(const Point2D &position2D)
mitkClassMacro(VtkAnnotation2D, VtkAnnotation)
VtkAnnotation2D()
explicit constructor which disallows implicit conversions
The VtkAnnotation class is the base for all Annotation which are using the VTK framework to render th...
Find image slices visible on a given plane.
Container for position and size on the display.