Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include "mitkEventFactory.h"
#include <algorithm>
#include <mitkInteractionEventConst.h>
#include <mitkInteractionKeyEvent.h>
#include <mitkInteractionPositionEvent.h>
#include <mitkInternalEvent.h>
#include <mitkMouseDoubleClickEvent.h>
#include <mitkMouseMoveEvent.h>
#include <mitkMousePressEvent.h>
#include <mitkMouseReleaseEvent.h>
#include <mitkMouseWheelEvent.h>
#include <sstream>
#include <string>
Go to the source code of this file.
Functions | |
static std::string | GetButtonState (mitk::InteractionEvent *event) |
GetEventButton Return EventButton as String. More... | |
static std::string | GetModifierState (mitk::InteractionEvent *event) |
GetModifierState Return ModifierState as String. More... | |
static std::string | GetEventButton (mitk::InteractionEvent *event) |
GetEventButton Return EventButton as String. More... | |
static std::string | GetPositionInWorld (mitk::InteractionEvent *event) |
GetPosition Return World Position as String. More... | |
static std::string | GetPositionOnScreen (mitk::InteractionEvent *event) |
GetPositionOnScreen Return PositionOnScreen as String. More... | |
|
static |
GetEventButton Return EventButton as String.
event |
Definition at line 56 of file mitkEventFactory.cpp.
References mitk::MouseMoveEvent::GetButtonStates(), mitk::MousePressEvent::GetButtonStates(), mitk::MouseDoubleClickEvent::GetButtonStates(), mitk::MouseReleaseEvent::GetButtonStates(), mitk::MouseWheelEvent::GetButtonStates(), mitk::InteractionEvent::LeftMouseButton, mitk::InteractionEvent::MiddleMouseButton, mitk::InteractionEvent::NoButton, and mitk::InteractionEvent::RightMouseButton.
Referenced by mitk::EventFactory::EventToXML().
|
static |
GetEventButton Return EventButton as String.
event |
Definition at line 174 of file mitkEventFactory.cpp.
References mitk::MousePressEvent::GetEventButton(), mitk::MouseDoubleClickEvent::GetEventButton(), mitk::MouseReleaseEvent::GetEventButton(), mitk::InteractionEvent::LeftMouseButton, mitk::InteractionEvent::MiddleMouseButton, mitk::InteractionEvent::NoButton, and mitk::InteractionEvent::RightMouseButton.
Referenced by mitk::EventFactory::EventToXML(), mitk::MouseReleaseEvent::IsEqual(), mitk::MousePressEvent::IsEqual(), and mitk::MouseDoubleClickEvent::IsEqual().
|
static |
GetModifierState Return ModifierState as String.
event |
Definition at line 115 of file mitkEventFactory.cpp.
References mitk::InteractionEvent::AltKey, mitk::InteractionEvent::ControlKey, mitk::MouseMoveEvent::GetModifiers(), mitk::MousePressEvent::GetModifiers(), mitk::MouseDoubleClickEvent::GetModifiers(), mitk::MouseReleaseEvent::GetModifiers(), mitk::MouseWheelEvent::GetModifiers(), mitk::InteractionEvent::NoKey, and mitk::InteractionEvent::ShiftKey.
Referenced by mitk::EventFactory::EventToXML().
|
static |
GetPosition Return World Position as String.
event |
Definition at line 217 of file mitkEventFactory.cpp.
References mitk::InteractionPositionEvent::GetPositionInWorld().
Referenced by mitk::EventFactory::EventToXML().
|
static |
GetPositionOnScreen Return PositionOnScreen as String.
event |
Definition at line 234 of file mitkEventFactory.cpp.
References mitk::InteractionPositionEvent::GetPointerPositionOnScreen().
Referenced by mitk::EventFactory::EventToXML().