Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkVtkOverlay3D.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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef VTKOVERLAY3D_H
18 #define VTKOVERLAY3D_H
19 
20 #include "mitkVtkOverlay.h"
21 #include <MitkCoreExports.h>
22 #include <vtkSmartPointer.h>
23 
24 namespace mitk
25 {
31  {
32  public:
33  void SetPosition3D(const Point3D &position3D, mitk::BaseRenderer *renderer = NULL);
34 
35  Point3D GetPosition3D(mitk::BaseRenderer *renderer = NULL) const;
36 
37  void SetOffsetVector(const Point3D &OffsetVector, mitk::BaseRenderer *renderer = NULL);
38 
39  Point3D GetOffsetVector(mitk::BaseRenderer *renderer = NULL) const;
40 
42 
43  protected:
44  virtual void UpdateVtkOverlay(BaseRenderer *renderer) override = 0;
45 
47  explicit VtkOverlay3D();
48 
50  virtual ~VtkOverlay3D();
51 
52  private:
54  VtkOverlay3D(const VtkOverlay3D &);
55 
57  VtkOverlay3D &operator=(const VtkOverlay3D &);
58  };
59 
60 } // namespace mitk
61 #endif // OVERLAY_H
#define MITKCORE_EXPORT
The VtkOverlay class is the base for all Overlays which are using the VTK framework to render the ele...
Organizes the rendering process.
DataCollection - Class to facilitate loading/accessing structured data.
The VtkOverlay3D class is the basis for all VTK based Overlays which create any 3D element as a vtkPr...
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44