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>
Public Member Functions | |
vtkTypeMacro (vtkEventProvider, vtkInteractorObserver) | |
virtual void | SetEnabled (int) override |
virtual void | SetInteractor (vtkRenderWindowInteractor *iren) override |
virtual void | SetMitkRenderWindow (mitk::RenderWindow *renWin) |
mitk::RenderWindow * | GetRenderWindow () |
Static Public Member Functions | |
static vtkEventProvider * | New () |
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::RenderWindow * | m_RenderWindow |
InteractionEventsVectorType | m_InteractionEventsVector |
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.
|
protected |
Definition at line 59 of file mitkVtkEventProvider.h.
|
protected |
Definition at line 38 of file mitkVtkEventProvider.cpp.
References AddInteractionEvent(), and ProcessEvents().
|
protected |
Definition at line 69 of file mitkVtkEventProvider.cpp.
|
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 |
Referenced by mitk::RenderWindow::RenderWindow().
|
staticprotected |
Definition at line 153 of file mitkVtkEventProvider.cpp.
References mitk::VtkEventAdapter::AdaptInteractionKeyEvent(), mitk::VtkEventAdapter::AdaptMouseMoveEvent(), mitk::VtkEventAdapter::AdaptMousePressEvent(), mitk::VtkEventAdapter::AdaptMouseReleaseEvent(), mitk::VtkEventAdapter::AdaptMouseWheelEvent(), mitk::BaseRenderer::GetInstance(), VTKEVENTPROVIDER_DEBUG, and VTKEVENTPROVIDER_INFO.
Referenced by vtkEventProvider().
|
protected |
Definition at line 224 of file mitkVtkEventProvider.cpp.
|
overridevirtual |
Definition at line 84 of file mitkVtkEventProvider.cpp.
References VTKEVENTPROVIDER_DEBUG, and VTKEVENTPROVIDER_ERROR.
Referenced by mitk::RenderWindow::RenderWindow().
|
overridevirtual |
Definition at line 137 of file mitkVtkEventProvider.cpp.
Referenced by mitk::RenderWindow::RenderWindow().
|
virtual |
Definition at line 74 of file mitkVtkEventProvider.cpp.
Referenced by mitk::RenderWindow::RenderWindow().
mitk::vtkEventProvider::vtkTypeMacro | ( | vtkEventProvider | , |
vtkInteractorObserver | |||
) |
|
protected |
Definition at line 60 of file mitkVtkEventProvider.h.
|
protected |
Definition at line 53 of file mitkVtkEventProvider.h.