Medical Imaging Interaction Toolkit  2025.12.02
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
38  vtkTypeMacro(VtkInteractorStyle, vtkInteractorStyleUser);
39 
43  void OnMouseWheelForward() override;
44 
48  void OnMouseWheelBackward() override;
49 
50  protected:
52  ~VtkInteractorStyle() override;
53 
55  void operator=(const VtkInteractorStyle&) = delete;
56  };
57 }
58 
59 #endif
#define MITKCORE_EXPORT
Implements the handling of events that are missing for MITK interaction.
void OnMouseWheelForward() override
Called when scrolling forwards with the mouse-wheel.
~VtkInteractorStyle() override
static VtkInteractorStyle * New()
void operator=(const VtkInteractorStyle &)=delete
VtkInteractorStyle(const VtkInteractorStyle &)=delete
void OnMouseWheelBackward() override
Called when scrolling backwards with the mouse-wheel.
vtkTypeMacro(VtkInteractorStyle, vtkInteractorStyleUser)
Find image slices visible on a given plane.