Medical Imaging Interaction Toolkit  2016.11.0
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)
 
virtual void SetEnabled (int) override
 
virtual 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 ()
 
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 32 of file mitkVtkEventProvider.h.

Member Typedef Documentation

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

Definition at line 59 of file mitkVtkEventProvider.h.

Constructor & Destructor Documentation

mitk::vtkEventProvider::vtkEventProvider ( )
protected

Definition at line 38 of file mitkVtkEventProvider.cpp.

References AddInteractionEvent(), and ProcessEvents().

mitk::vtkEventProvider::~vtkEventProvider ( )
protected

Definition at line 69 of file mitkVtkEventProvider.cpp.

Member Function Documentation

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

Definition at line 238 of file mitkVtkEventProvider.cpp.

Referenced by vtkEventProvider().

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

Definition at line 79 of file mitkVtkEventProvider.cpp.

static vtkEventProvider* mitk::vtkEventProvider::New ( )
static
void mitk::vtkEventProvider::RemoveInteractionEvent ( unsigned long  ievent)
protected

Definition at line 224 of file mitkVtkEventProvider.cpp.

void mitk::vtkEventProvider::SetEnabled ( int  enabling)
overridevirtual
void mitk::vtkEventProvider::SetInteractor ( vtkRenderWindowInteractor *  iren)
overridevirtual

Definition at line 137 of file mitkVtkEventProvider.cpp.

Referenced by mitk::RenderWindow::RenderWindow().

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

Definition at line 74 of file mitkVtkEventProvider.cpp.

Referenced by mitk::RenderWindow::RenderWindow().

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

Member Data Documentation

InteractionEventsVectorType mitk::vtkEventProvider::m_InteractionEventsVector
protected

Definition at line 60 of file mitkVtkEventProvider.h.

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

Definition at line 53 of file mitkVtkEventProvider.h.


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