Medical Imaging Interaction Toolkit  2018.4.99-4c24e3cb
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

◆ GetButtonState()

◆ GetEventButton()

◆ GetModifierState()

◆ GetPositionInWorld()

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

GetPosition Return World Position as String.

Parameters
event
Returns

Definition at line 213 of file mitkEventFactory.cpp.

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

◆ GetPositionOnScreen()

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

GetPositionOnScreen Return PositionOnScreen as String.

Parameters
event
Returns

Definition at line 230 of file mitkEventFactory.cpp.

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