20 const std::string &key,
43 return (this->GetModifiers() == keyEvent.
GetModifiers() && this->GetKey() == keyEvent.
GetKey() &&
44 Superclass::IsEqual(interactionEvent));
49 return (dynamic_cast<InteractionKeyEvent *>(baseClass.GetPointer()) != NULL);
Organizes the rendering process.
virtual bool IsEqual(const InteractionEvent &) const override
InteractionKeyEvent(BaseRenderer *, const std::string &key, ModifierKeys modifiers)
virtual ~InteractionKeyEvent()
ModifierKeys GetModifiers() const
bool IsSuperClassOf(const InteractionEvent::Pointer &baseClass) const override
Handles key events. Takes a std::string for pressed key or special key description, mitk::ModifierKeys for modifiers
std::string GetKey() const