Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 
25 #ifndef __mitkVtkInteractorStyle_h
26 #define __mitkVtkInteractorStyle_h
27 
28 #include "MitkCoreExports.h"
29 #include <vtkInteractorStyleUser.h>
30 
31 class MITKCORE_EXPORT mitkVtkInteractorStyle : public vtkInteractorStyleUser
32 {
33 public:
34  // default VTK c'tor
35  static mitkVtkInteractorStyle *New();
36  vtkTypeMacro(mitkVtkInteractorStyle, vtkInteractorStyleUser);
37 
41  void OnMouseWheelForward() override;
42 
46  void OnMouseWheelBackward() override;
47 
48 protected:
50  ~mitkVtkInteractorStyle() override;
51 
52 private:
53  mitkVtkInteractorStyle(const mitkVtkInteractorStyle &); // Not implemented.
54  void operator=(const mitkVtkInteractorStyle &); // Not implemented.
55 };
56 
57 #endif
#define MITKCORE_EXPORT
Implements the handling of events that are missing for MITK interaction.