Medical Imaging Interaction Toolkit  2021.02.99-e55a5d2f
Medical Imaging Interaction Toolkit

Integrates into the VTK event mechanism to generate MITK specific events. This class is NON-QT dependent pandon to the current MITK event handling code in QmitkRenderWindow. More...

#include <mitkVtkEventProvider.h>

Inheritance diagram for mitk::vtkEventProvider:
Collaboration diagram for mitk::vtkEventProvider:

Public Member Functions

 vtkTypeMacro (vtkEventProvider, vtkInteractorObserver)
 
void SetEnabled (int) override
 
void SetInteractor (vtkRenderWindowInteractor *iren) override
 
virtual void SetMitkRenderWindow (mitk::RenderWindow *renWin)
 
mitk::RenderWindowGetRenderWindow ()
 

Static Public Member Functions

static vtkEventProviderNew ()
 

Protected Types

typedef std::vector< unsigned long > InteractionEventsVectorType
 

Protected Member Functions

 vtkEventProvider ()
 
 ~vtkEventProvider () override
 
void AddInteractionEvent (unsigned long ievent)
 
void RemoveInteractionEvent (unsigned long ievent)
 

Static Protected Member Functions

static void ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata)
 

Protected Attributes

mitk::RenderWindowm_RenderWindow
 
InteractionEventsVectorType m_InteractionEventsVector
 

Detailed Description

Integrates into the VTK event mechanism to generate MITK specific events. This class is NON-QT dependent pandon to the current MITK event handling code in QmitkRenderWindow.

Definition at line 28 of file mitkVtkEventProvider.h.

Member Typedef Documentation

◆ InteractionEventsVectorType

typedef std::vector<unsigned long> mitk::vtkEventProvider::InteractionEventsVectorType
protected

Definition at line 55 of file mitkVtkEventProvider.h.

Constructor & Destructor Documentation

◆ vtkEventProvider()

mitk::vtkEventProvider::vtkEventProvider ( )
protected

◆ ~vtkEventProvider()

mitk::vtkEventProvider::~vtkEventProvider ( )
overrideprotected

Member Function Documentation

◆ AddInteractionEvent()

void mitk::vtkEventProvider::AddInteractionEvent ( unsigned long  ievent)
protected

◆ GetRenderWindow()

mitk::RenderWindow* mitk::vtkEventProvider::GetRenderWindow ( )

◆ New()

static vtkEventProvider* mitk::vtkEventProvider::New ( )
static

◆ ProcessEvents()

static void mitk::vtkEventProvider::ProcessEvents ( vtkObject *  object,
unsigned long  event,
void *  clientdata,
void *  calldata 
)
staticprotected

◆ RemoveInteractionEvent()

void mitk::vtkEventProvider::RemoveInteractionEvent ( unsigned long  ievent)
protected

◆ SetEnabled()

void mitk::vtkEventProvider::SetEnabled ( int  )
override

◆ SetInteractor()

void mitk::vtkEventProvider::SetInteractor ( vtkRenderWindowInteractor *  iren)
override

◆ SetMitkRenderWindow()

virtual void mitk::vtkEventProvider::SetMitkRenderWindow ( mitk::RenderWindow renWin)
virtual

◆ vtkTypeMacro()

mitk::vtkEventProvider::vtkTypeMacro ( vtkEventProvider  ,
vtkInteractorObserver   
)

Member Data Documentation

◆ m_InteractionEventsVector

InteractionEventsVectorType mitk::vtkEventProvider::m_InteractionEventsVector
protected

Definition at line 56 of file mitkVtkEventProvider.h.

◆ m_RenderWindow

mitk::RenderWindow* mitk::vtkEventProvider::m_RenderWindow
protected

Definition at line 49 of file mitkVtkEventProvider.h.


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