Medical Imaging Interaction Toolkit
2016.11.0
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) | |
virtual void | OnMouseWheelForward () override |
Called when scrolling forwards with the mouse-wheel. More... | |
virtual void | OnMouseWheelBackward () override |
Called when scrolling backwards with the mouse-wheel. More... | |
Static Public Member Functions | |
static mitkVtkInteractorStyle * | New () |
Protected Member Functions | |
mitkVtkInteractorStyle () | |
~mitkVtkInteractorStyle () | |
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 35 of file mitkVtkInteractorStyle.h.
|
protected |
Definition at line 24 of file mitkVtkInteractorStyle.cxx.
|
protected |
Definition at line 28 of file mitkVtkInteractorStyle.cxx.
|
static |
|
overridevirtual |
Called when scrolling backwards with the mouse-wheel.
Definition at line 40 of file mitkVtkInteractorStyle.cxx.
|
overridevirtual |
Called when scrolling forwards with the mouse-wheel.
Definition at line 32 of file mitkVtkInteractorStyle.cxx.
mitkVtkInteractorStyle::vtkTypeMacro | ( | mitkVtkInteractorStyle | , |
vtkInteractorStyleUser | |||
) |