Medical Imaging Interaction Toolkit  2023.12.99-63768887
Medical Imaging Interaction Toolkit
mitkVtkInteractorStyle.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 mitkVtkInteractorStyle_h
14 #define mitkVtkInteractorStyle_h
15 
16 #include "MitkCoreExports.h"
17 #include <vtkInteractorStyleUser.h>
18 
19 namespace mitk
20 {
33  class MITKCORE_EXPORT VtkInteractorStyle : public vtkInteractorStyleUser
34  {
35  public:
36  // default VTK c'tor
37  static VtkInteractorStyle* New();
38  vtkTypeMacro(VtkInteractorStyle, vtkInteractorStyleUser);
39 
43  void OnMouseWheelForward() override;
44 
48  void OnMouseWheelBackward() override;
49 
50  protected:
52  ~VtkInteractorStyle() override;
53 
54  VtkInteractorStyle(const VtkInteractorStyle&) = delete;
55  void operator=(const VtkInteractorStyle&) = delete;
56  };
57 }
58 
59 #endif
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MitkCoreExports.h
mitk::VtkInteractorStyle
Implements the handling of events that are missing for MITK interaction.
Definition: mitkVtkInteractorStyle.h:33
MITKCORE_EXPORT
#define MITKCORE_EXPORT
Definition: MitkCoreExports.h:15