Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkVtkAnnotation3D.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkVtkAnnotation3D_h
14 #define mitkVtkAnnotation3D_h
15 
16 #include "mitkVtkAnnotation.h"
17 #include <MitkAnnotationExports.h>
18 #include <vtkSmartPointer.h>
19 
20 namespace mitk
21 {
27  {
28  public:
29  void SetPosition3D(const Point3D &position3D);
30 
32 
33  void SetOffsetVector(const Point3D &OffsetVector);
34 
36 
38 
39  protected:
40  void UpdateVtkAnnotation(BaseRenderer *renderer) override = 0;
41 
43  explicit VtkAnnotation3D();
44 
46  ~VtkAnnotation3D() override;
47 
48  private:
51 
53  VtkAnnotation3D &operator=(const VtkAnnotation3D &);
54  };
55 
56 } // namespace mitk
57 #endif
#define MITKANNOTATION_EXPORT
The VtkAnnotation3D class is the basis for all VTK based Annotation which create any 3D element as a ...
void SetOffsetVector(const Point3D &OffsetVector)
~VtkAnnotation3D() override
virtual destructor in order to derive from this class
void SetPosition3D(const Point3D &position3D)
mitkClassMacro(VtkAnnotation3D, VtkAnnotation)
void UpdateVtkAnnotation(BaseRenderer *renderer) override=0
Point3D GetOffsetVector() const
Point3D GetPosition3D() const
VtkAnnotation3D()
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.