15 #include <vtkCommand.h> 16 #include <vtkObjectFactory.h> 30 if (this->HasObserver(vtkCommand::MouseWheelForwardEvent))
32 this->InvokeEvent(vtkCommand::MouseWheelForwardEvent,
nullptr);
38 if (this->HasObserver(vtkCommand::MouseWheelBackwardEvent))
40 this->InvokeEvent(vtkCommand::MouseWheelBackwardEvent,
nullptr);
~mitkVtkInteractorStyle() override
vtkStandardNewMacro(mitkVtkInteractorStyle)
Implements the handling of events that are missing for MITK interaction.
void OnMouseWheelBackward() override
Called when scrolling backwards with the mouse-wheel.
void OnMouseWheelForward() override
Called when scrolling forwards with the mouse-wheel.