26 m_EventButton(eventButton),
27 m_ButtonStates(buttonStates),
28 m_Modifiers(modifiers)
39 m_EventButton = buttons;
49 return m_ButtonStates;
54 m_Modifiers = modifiers;
59 m_ButtonStates = buttons;
70 this->GetButtonStates() == mpe.
GetButtonStates() && Superclass::IsEqual(interactionEvent));
75 return (dynamic_cast<MousePressEvent *>(baseClass.GetPointer()) != NULL);
virtual ~MousePressEvent()
Super class for all position events.
ModifierKeys GetModifiers() const
void SetModifiers(ModifierKeys modifiers)
Organizes the rendering process.
virtual bool IsSuperClassOf(const InteractionEvent::Pointer &baseClass) const override
static std::string GetEventButton(mitk::InteractionEvent *event)
GetEventButton Return EventButton as String.
void SetEventButton(MouseButtons buttons)
virtual bool IsEqual(const InteractionEvent &) const override
void SetButtonStates(MouseButtons buttons)
MouseButtons GetButtonStates() const
MouseButtons GetEventButton() const
MousePressEvent(BaseRenderer *, const Point2D &=Point2D(), MouseButtons buttonStates=NoButton, ModifierKeys modifiers=NoKey, MouseButtons eventButton=NoButton)