![]() |
Inviwo 0.9.12-pre
Inviwo documentation
|
#include <inviwo/core/interaction/events/contextmenuevent.h>
Inheritance diagram for inviwo::ContextMenuEvent:Public Member Functions | |
| virtual ContextMenuEvent * | clone () const override |
| ContextMenuEvent (const ContextMenuEvent &rhs)=default | |
| ContextMenuEvent (ContextMenuEvent &&)=default | |
| ContextMenuEvent (std::string_view id, KeyModifiers modifiers, std::any data) | |
| const std::any & | data () const |
| std::string_view | getId () const |
| virtual uint64_t | hash () const override |
| KeyModifiers | modifiers () const |
| ContextMenuEvent & | operator= (const ContextMenuEvent &that)=default |
| ContextMenuEvent & | operator= (ContextMenuEvent &&)=default |
| virtual void | print (fmt::memory_buffer &buff) const override |
| void | setData (std::any data) |
| void | setModifiers (KeyModifiers modifiers) |
Public Member Functions inherited from inviwo::Event | |
| template<typename EventType > | |
| EventType * | getAs () |
| template<typename EventType > | |
| const EventType * | getAs () const |
| const std::vector< Processor * > & | getVisitedProcessors () const |
| bool | hasBeenUsed () const |
| bool | hasVisitedProcessor (Processor *) const |
| bool | markAsUnused () |
| bool | markAsUsed () |
| void | markAsVisited (const Event &) |
| bool | markAsVisited (Processor *) |
| bool | setUsed (bool isUsed) |
| virtual bool | shouldPropagateTo (Inport *inport, Processor *processor, Outport *source) |
Static Public Member Functions | |
| static constexpr uint64_t | chash () |
Additional Inherited Members | |
Protected Member Functions inherited from inviwo::Event | |
| Event (const Event &rhs)=default | |
| Event & | operator= (const Event &that)=default |
A ContextMenuEvent is triggered when a custom context menu entry is selected.
|
overridevirtual |
Implements inviwo::Event.
| std::string_view inviwo::ContextMenuEvent::getId | ( | ) | const |
ID of the triggered context menu action
|
overridevirtual |
Implements inviwo::Event.
|
overridevirtual |
Implements inviwo::Event.