Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkVtkEventAdapter.h>
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 |
Definition at line 40 of file mitkVtkEventAdapter.h.
|
static |
Definition at line 197 of file mitkVtkEventAdapter.cpp.
References mitk::BS_AltButton, mitk::BS_ControlButton, mitk::BS_ShiftButton, MITK_WARN, and mitk::InteractionKeyEvent::New().
Referenced by mitk::vtkEventProvider::ProcessEvents().
|
static |
Definition at line 28 of file mitkVtkEventAdapter.cpp.
References mitk::InteractionEvent::AltKey, buttonStateMap, mitk::InteractionEvent::ControlKey, MITK_WARN, mitk::MouseMoveEvent::New(), and mitk::InteractionEvent::ShiftKey.
Referenced by mitk::vtkEventProvider::ProcessEvents().
|
static |
New events compatible with the revised interaction scheme
Definition at line 224 of file mitkVtkEventAdapter.cpp.
References mitk::InteractionEvent::AltKey, mitk::InteractionEvent::ControlKey, mitk::InteractionEvent::LeftMouseButton, mitk::InteractionEvent::MiddleMouseButton, mitk::MousePressEvent::New(), mitk::InteractionEvent::RightMouseButton, and mitk::InteractionEvent::ShiftKey.
Referenced by mitk::vtkEventProvider::ProcessEvents().
|
static |
Definition at line 82 of file mitkVtkEventAdapter.cpp.
References mitk::InteractionEvent::AltKey, mitk::InteractionEvent::ControlKey, mitk::InteractionEvent::LeftMouseButton, mitk::InteractionEvent::MiddleMouseButton, mitk::MouseReleaseEvent::New(), mitk::InteractionEvent::RightMouseButton, and mitk::InteractionEvent::ShiftKey.
Referenced by mitk::vtkEventProvider::ProcessEvents().
|
static |
Definition at line 150 of file mitkVtkEventAdapter.cpp.
References mitk::BS_AltButton, mitk::BS_ControlButton, mitk::BS_ShiftButton, and mitk::MouseWheelEvent::New().
Referenced by mitk::vtkEventProvider::ProcessEvents().
|
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().