Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
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 36 of file mitkVtkEventAdapter.h.

Member Function Documentation

◆ AdaptInteractionKeyEvent()

static mitk::InteractionKeyEvent::Pointer mitk::VtkEventAdapter::AdaptInteractionKeyEvent ( mitk::BaseRenderer sender,
unsigned long  vtkCommandEventId,
vtkRenderWindowInteractor *  rwi 
)
static

◆ AdaptMouseMoveEvent()

static mitk::MouseMoveEvent::Pointer mitk::VtkEventAdapter::AdaptMouseMoveEvent ( mitk::BaseRenderer sender,
unsigned long  vtkCommandEventId,
vtkRenderWindowInteractor *  rwi 
)
static

◆ AdaptMousePressEvent()

static mitk::MousePressEvent::Pointer mitk::VtkEventAdapter::AdaptMousePressEvent ( mitk::BaseRenderer sender,
unsigned long  vtkCommandEventId,
vtkRenderWindowInteractor *  rwi 
)
static

New events compatible with the revised interaction scheme

◆ AdaptMouseReleaseEvent()

static mitk::MouseReleaseEvent::Pointer mitk::VtkEventAdapter::AdaptMouseReleaseEvent ( mitk::BaseRenderer sender,
unsigned long  vtkCommandEventId,
vtkRenderWindowInteractor *  rwi 
)
static

◆ AdaptMouseWheelEvent()

static mitk::MouseWheelEvent::Pointer mitk::VtkEventAdapter::AdaptMouseWheelEvent ( mitk::BaseRenderer sender,
unsigned long  vtkCommandEventId,
vtkRenderWindowInteractor *  rwi 
)
static

Member Data Documentation

◆ buttonStateMap

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 61 of file mitkVtkEventAdapter.h.


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