#include <inviwo/core/interaction/events/contextmenuevent.h>
|
| 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 |
|
void | setData (std::any data) |
|
void | setModifiers (KeyModifiers modifiers) |
|
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 (Event &) |
| bool | markAsVisited (Processor *) |
|
virtual void | print (std::ostream &ss) const |
| bool | setUsed (bool isUsed) |
| virtual bool | shouldPropagateTo (Inport *inport, Processor *processor, Outport *source) |
|
|
static constexpr uint64_t | chash () |
|
|
| Event (const Event &rhs)=default |
|
Event & | operator= (const Event &that)=default |
A ContextMenuEvent is triggered when a custom context menu entry is selected.
- See also
- ContextMenuAction
◆ clone()
| virtual ContextMenuEvent * inviwo::ContextMenuEvent::clone |
( |
| ) |
const |
|
overridevirtual |
◆ getId()
| std::string_view inviwo::ContextMenuEvent::getId |
( |
| ) |
const |
ID of the triggered context menu action
◆ hash()
| virtual uint64_t inviwo::ContextMenuEvent::hash |
( |
| ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following file:
- include/inviwo/core/interaction/events/contextmenuevent.h