Medical Imaging Interaction Toolkit  2022.04.99-685cdc74
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 VTKAnnotation3D_H
14 #define VTKAnnotation3D_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 
31  Point3D GetPosition3D() const;
32 
33  void SetOffsetVector(const Point3D &OffsetVector);
34 
35  Point3D GetOffsetVector() const;
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 // Annotation_H
#define MITKANNOTATION_EXPORT
Organizes the rendering process.
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
The VtkAnnotation3D class is the basis for all VTK based Annotation which create any 3D element as a ...
The VtkAnnotation class is the base for all Annotation which are using the VTK framework to render th...