Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
Implements the handling of events that are missing for MITK interaction. More...
#include <mitkVtkInteractorStyle.h>
Public Member Functions | |
vtkTypeMacro (mitkVtkInteractorStyle, vtkInteractorStyleUser) | |
void | OnMouseWheelForward () override |
Called when scrolling forwards with the mouse-wheel. More... | |
void | OnMouseWheelBackward () override |
Called when scrolling backwards with the mouse-wheel. More... | |
Static Public Member Functions | |
static mitkVtkInteractorStyle * | New () |
Protected Member Functions | |
mitkVtkInteractorStyle () | |
~mitkVtkInteractorStyle () override | |
Implements the handling of events that are missing for MITK interaction.
This class inherits from vtkInteractorStyleUser, a class that handles VTK-Events and invokes callbacks by means of an observer pattern.
Most event-types needed for typical MITK interaction have already been implemented in vtkInteractorStyleUser (Mouse-Buttons + Keyboard). However, wheel-events and widgetModifed-events (whatever these are) have not been handled so far. This is the purpose of this class.
Definition at line 31 of file mitkVtkInteractorStyle.h.
|
protected |
Definition at line 20 of file mitkVtkInteractorStyle.cxx.
|
overrideprotected |
Definition at line 24 of file mitkVtkInteractorStyle.cxx.
|
static |
|
override |
Called when scrolling backwards with the mouse-wheel.
Definition at line 36 of file mitkVtkInteractorStyle.cxx.
|
override |
Called when scrolling forwards with the mouse-wheel.
Definition at line 28 of file mitkVtkInteractorStyle.cxx.
mitkVtkInteractorStyle::vtkTypeMacro | ( | mitkVtkInteractorStyle | , |
vtkInteractorStyleUser | |||
) |