Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkVtkInteractorStyle Class Reference

Implements the handling of events that are missing for MITK interaction. More...

#include <mitkVtkInteractorStyle.h>

Inheritance diagram for mitkVtkInteractorStyle:
Collaboration diagram for mitkVtkInteractorStyle:

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 mitkVtkInteractorStyleNew ()
 

Protected Member Functions

 mitkVtkInteractorStyle ()
 
 ~mitkVtkInteractorStyle ()
 

Detailed Description

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.

Constructor & Destructor Documentation

mitkVtkInteractorStyle::mitkVtkInteractorStyle ( )
protected

Definition at line 24 of file mitkVtkInteractorStyle.cxx.

mitkVtkInteractorStyle::~mitkVtkInteractorStyle ( )
protected

Definition at line 28 of file mitkVtkInteractorStyle.cxx.

Member Function Documentation

static mitkVtkInteractorStyle* mitkVtkInteractorStyle::New ( )
static
void mitkVtkInteractorStyle::OnMouseWheelBackward ( )
overridevirtual

Called when scrolling backwards with the mouse-wheel.

Definition at line 40 of file mitkVtkInteractorStyle.cxx.

void mitkVtkInteractorStyle::OnMouseWheelForward ( )
overridevirtual

Called when scrolling forwards with the mouse-wheel.

Definition at line 32 of file mitkVtkInteractorStyle.cxx.

mitkVtkInteractorStyle::vtkTypeMacro ( mitkVtkInteractorStyle  ,
vtkInteractorStyleUser   
)

The documentation for this class was generated from the following files: