19 #include <vtkCommand.h>
20 #include <vtkObjectFactory.h>
34 if (this->HasObserver(vtkCommand::MouseWheelForwardEvent))
36 this->InvokeEvent(vtkCommand::MouseWheelForwardEvent, NULL);
42 if (this->HasObserver(vtkCommand::MouseWheelBackwardEvent))
44 this->InvokeEvent(vtkCommand::MouseWheelBackwardEvent, NULL);
vtkStandardNewMacro(mitkVtkInteractorStyle)
Implements the handling of events that are missing for MITK interaction.
virtual void OnMouseWheelBackward() override
Called when scrolling backwards with the mouse-wheel.
~mitkVtkInteractorStyle()
virtual void OnMouseWheelForward() override
Called when scrolling forwards with the mouse-wheel.