Medical Imaging Interaction Toolkit  2016.11.0
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,
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 
29 #ifndef __mitkVtkInteractorStyle_h
30 #define __mitkVtkInteractorStyle_h
31 
32 #include "MitkCoreExports.h"
33 #include <vtkInteractorStyleUser.h>
34 
35 class MITKCORE_EXPORT mitkVtkInteractorStyle : public vtkInteractorStyleUser
36 {
37 public:
38  // default VTK c'tor
39  static mitkVtkInteractorStyle *New();
40  vtkTypeMacro(mitkVtkInteractorStyle, vtkInteractorStyleUser);
41 
45  virtual void OnMouseWheelForward() override;
46 
50  virtual void OnMouseWheelBackward() override;
51 
52 protected:
55 
56 private:
57  mitkVtkInteractorStyle(const mitkVtkInteractorStyle &); // Not implemented.
58  void operator=(const mitkVtkInteractorStyle &); // Not implemented.
59 };
60 
61 #endif
#define MITKCORE_EXPORT
Implements the handling of events that are missing for MITK interaction.
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.