Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkEventFactory.cpp File Reference
#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...
 

Function Documentation

static std::string GetPositionInWorld ( mitk::InteractionEvent event)
static

GetPosition Return World Position as String.

Parameters
event
Returns

Definition at line 217 of file mitkEventFactory.cpp.

References mitk::InteractionPositionEvent::GetPositionInWorld().

Referenced by mitk::EventFactory::EventToXML().

static std::string GetPositionOnScreen ( mitk::InteractionEvent event)
static

GetPositionOnScreen Return PositionOnScreen as String.

Parameters
event
Returns

Definition at line 234 of file mitkEventFactory.cpp.

References mitk::InteractionPositionEvent::GetPointerPositionOnScreen().

Referenced by mitk::EventFactory::EventToXML().