Medical Imaging Interaction Toolkit  2024.06.99-bf8fb9c0
Medical Imaging Interaction Toolkit
mitk::VtkInteractorStyle Class Reference

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

#include <mitkVtkInteractorStyle.h>

Inheritance diagram for mitk::VtkInteractorStyle:
Collaboration diagram for mitk::VtkInteractorStyle:

Public Member Functions

 vtkTypeMacro (VtkInteractorStyle, 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 VtkInteractorStyleNew ()
 

Protected Member Functions

 VtkInteractorStyle ()
 
 ~VtkInteractorStyle () override
 
 VtkInteractorStyle (const VtkInteractorStyle &)=delete
 
void operator= (const VtkInteractorStyle &)=delete
 

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 widgetModified-events (whatever these are) have not been handled so far. This is the purpose of this class.

Definition at line 33 of file mitkVtkInteractorStyle.h.

Constructor & Destructor Documentation

◆ VtkInteractorStyle() [1/2]

mitk::VtkInteractorStyle::VtkInteractorStyle ( )
protected

◆ ~VtkInteractorStyle()

mitk::VtkInteractorStyle::~VtkInteractorStyle ( )
overrideprotected

◆ VtkInteractorStyle() [2/2]

mitk::VtkInteractorStyle::VtkInteractorStyle ( const VtkInteractorStyle )
protecteddelete

Member Function Documentation

◆ New()

static VtkInteractorStyle* mitk::VtkInteractorStyle::New ( )
static

◆ OnMouseWheelBackward()

void mitk::VtkInteractorStyle::OnMouseWheelBackward ( )
override

Called when scrolling backwards with the mouse-wheel.

◆ OnMouseWheelForward()

void mitk::VtkInteractorStyle::OnMouseWheelForward ( )
override

Called when scrolling forwards with the mouse-wheel.

◆ operator=()

void mitk::VtkInteractorStyle::operator= ( const VtkInteractorStyle )
protecteddelete

◆ vtkTypeMacro()

mitk::VtkInteractorStyle::vtkTypeMacro ( VtkInteractorStyle  ,
vtkInteractorStyleUser   
)

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