13 #ifndef mitkInteractionEvent_h
14 #define mitkInteractionEvent_h
16 #include <itkLightObject.h>
17 #include <itkObjectFactory.h>
72 virtual bool IsSuperClassOf(
const InteractionEvent::Pointer &baseClass)
const;
82 LeftMouseButton = 0x0001,
83 RightMouseButton = 0x0002,
84 MiddleMouseButton = 0x0004
Organizes the rendering process.
Base class for all interaction events in MITK.
static const std::string KeyPageUp
"PageUp" key constant.
static const std::string KeyPos1
"Pos1" (Home) key constant.
static const std::string KeyF5
"F5" key constant.
static const std::string KeyEnd
"End" key constant.
static const std::string KeyPageDown
"PageDown" key constant.
static const std::string KeyF9
"F9" key constant.
friend MITKCORE_EXPORT bool operator==(const InteractionEvent &, const InteractionEvent &)
static const std::string KeyEnter
"Enter" key constant.
static const std::string KeyF3
"F3" key constant.
~InteractionEvent() override
static const std::string KeyReturn
"Return" key constant.
ModifierKeys
Enumeration of keyboard modifier keys.
virtual bool IsEqual(const InteractionEvent &other) const
static const std::string KeyArrowRight
"ArrowRight" key constant.
static const std::string KeyArrowDown
"ArrowDown" key constant.
static const std::string KeyArrowUp
"ArrowUp" key constant.
static const std::string KeyF2
"F2" key constant.
static const std::string KeyArrowLeft
"ArrowLeft" key constant.
void SetSender(BaseRenderer *sender)
Set the BaseRenderer that sent this event.
static const std::string KeyF10
"F10" key constant.
BaseRenderer * GetSender() const
Get the BaseRenderer that sent this event.
mitkNewMacro1Param(Self, BaseRenderer *)
static const std::string KeyF1
"F1" key constant.
static const std::string KeyF12
"F12" key constant.
static const std::string KeyF11
"F11" key constant.
static const std::string KeyDelete
"Delete" key constant.
InteractionEvent(BaseRenderer *)
static const std::string KeySpace
"Space" key constant.
static const std::string KeyEsc
String constants for special keys used in key events and state machine patterns.
static const std::string KeyF8
"F8" key constant.
static const std::string KeyF7
"F7" key constant.
static const std::string KeyF6
"F6" key constant.
static const std::string KeyInsert
"Insert" key constant.
MouseButtons
Enumeration of mouse button states.
static const std::string KeyF4
"F4" key constant.
mitkClassMacroItkParent(InteractionEvent, itk::LightObject)
virtual bool IsSuperClassOf(const InteractionEvent::Pointer &baseClass) const
Check if the provided event is an instance of this class or a derived class.
Find image slices visible on a given plane.
InteractionEvent::MouseButtons & operator|=(InteractionEvent::MouseButtons &a, InteractionEvent::MouseButtons &b)
InteractionEvent::MouseButtons operator|(InteractionEvent::MouseButtons a, InteractionEvent::MouseButtons b)
MITKCORE_EXPORT bool operator!=(const InteractionEvent &a, const InteractionEvent &b)
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)