Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::VtkEventAdapter Class Reference

#include <mitkVtkEventAdapter.h>

Collaboration diagram for mitk::VtkEventAdapter:

Static Public Member Functions

static mitk::MousePressEvent::Pointer AdaptMousePressEvent (mitk::BaseRenderer *sender, unsigned long vtkCommandEventId, vtkRenderWindowInteractor *rwi)
 
static mitk::MouseMoveEvent::Pointer AdaptMouseMoveEvent (mitk::BaseRenderer *sender, unsigned long vtkCommandEventId, vtkRenderWindowInteractor *rwi)
 
static mitk::MouseReleaseEvent::Pointer AdaptMouseReleaseEvent (mitk::BaseRenderer *sender, unsigned long vtkCommandEventId, vtkRenderWindowInteractor *rwi)
 
static mitk::MouseWheelEvent::Pointer AdaptMouseWheelEvent (mitk::BaseRenderer *sender, unsigned long vtkCommandEventId, vtkRenderWindowInteractor *rwi)
 
static mitk::InteractionKeyEvent::Pointer AdaptInteractionKeyEvent (mitk::BaseRenderer *sender, unsigned long vtkCommandEventId, vtkRenderWindowInteractor *rwi)
 

Static Public Attributes

static std::map< BaseRenderer *, int > buttonStateMap
 

Detailed Description

Definition at line 40 of file mitkVtkEventAdapter.h.

Member Function Documentation

mitk::InteractionKeyEvent::Pointer mitk::VtkEventAdapter::AdaptInteractionKeyEvent ( mitk::BaseRenderer sender,
unsigned long  vtkCommandEventId,
vtkRenderWindowInteractor *  rwi 
)
static
mitk::MouseMoveEvent::Pointer mitk::VtkEventAdapter::AdaptMouseMoveEvent ( mitk::BaseRenderer sender,
unsigned long  vtkCommandEventId,
vtkRenderWindowInteractor *  rwi 
)
static
mitk::MousePressEvent::Pointer mitk::VtkEventAdapter::AdaptMousePressEvent ( mitk::BaseRenderer sender,
unsigned long  vtkCommandEventId,
vtkRenderWindowInteractor *  rwi 
)
static
mitk::MouseWheelEvent::Pointer mitk::VtkEventAdapter::AdaptMouseWheelEvent ( mitk::BaseRenderer sender,
unsigned long  vtkCommandEventId,
vtkRenderWindowInteractor *  rwi 
)
static

Member Data Documentation

std::map< BaseRenderer *, int > mitk::VtkEventAdapter::buttonStateMap
static

Vtk events do not provide a button state for MouseMove events, therefore this map is used to keep a record of the button state, which then can be used to provide information for MITK MouseMove events.

Definition at line 65 of file mitkVtkEventAdapter.h.

Referenced by AdaptMouseMoveEvent().


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