Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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)
 
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 mitkVtkInteractorStyleNew ()
 

Protected Member Functions

 mitkVtkInteractorStyle ()
 
 ~mitkVtkInteractorStyle () override
 

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 31 of file mitkVtkInteractorStyle.h.

Constructor & Destructor Documentation

◆ mitkVtkInteractorStyle()

mitkVtkInteractorStyle::mitkVtkInteractorStyle ( )
protected

Definition at line 20 of file mitkVtkInteractorStyle.cxx.

◆ ~mitkVtkInteractorStyle()

mitkVtkInteractorStyle::~mitkVtkInteractorStyle ( )
overrideprotected

Definition at line 24 of file mitkVtkInteractorStyle.cxx.

Member Function Documentation

◆ New()

static mitkVtkInteractorStyle* mitkVtkInteractorStyle::New ( )
static

◆ OnMouseWheelBackward()

void mitkVtkInteractorStyle::OnMouseWheelBackward ( )
override

Called when scrolling backwards with the mouse-wheel.

Definition at line 36 of file mitkVtkInteractorStyle.cxx.

◆ OnMouseWheelForward()

void mitkVtkInteractorStyle::OnMouseWheelForward ( )
override

Called when scrolling forwards with the mouse-wheel.

Definition at line 28 of file mitkVtkInteractorStyle.cxx.

◆ vtkTypeMacro()

mitkVtkInteractorStyle::vtkTypeMacro ( mitkVtkInteractorStyle  ,
vtkInteractorStyleUser   
)

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