|
| MouseEvent (MouseButton button=MouseButton::Left, MouseState state=MouseState::Press, MouseButtons buttonState=MouseButtons(flags::empty), KeyModifiers modifiers=KeyModifiers(flags::empty), dvec2 normalizedPosition=dvec2(0), uvec2 canvasSize=uvec2(0), double depth=1.0) |
|
| MouseEvent (const MouseEvent &rhs)=default |
|
MouseEvent & | operator= (const MouseEvent &that)=default |
|
virtual MouseEvent * | clone () const override |
|
MouseButton | button () const |
|
void | setButton (MouseButton button) |
|
MouseState | state () const |
|
void | setState (MouseState state) |
|
virtual uint64_t | hash () const override |
|
virtual void | print (std::ostream &ss) const override |
|
| MouseInteractionEvent (MouseButtons buttonState=MouseButtons(flags::empty), KeyModifiers modifiers=KeyModifiers(flags::empty), dvec2 normalizedPosition=dvec2(0), uvec2 canvasSize=uvec2(1), double depth=1.0) |
|
| MouseInteractionEvent (const MouseInteractionEvent &rhs)=default |
|
MouseInteractionEvent & | operator= (const MouseInteractionEvent &that)=default |
|
MouseButtons | buttonState () const |
|
void | setButtonState (MouseButtons buttonState) |
|
dvec2 | pos () const |
|
void | setPos (dvec2 pos) |
|
uvec2 | canvasSize () const |
|
void | setCanvasSize (uvec2 size) |
|
double | depth () const |
|
void | setDepth (double depth) |
|
dvec2 | posNormalized () const |
|
void | setPosNormalized (dvec2 pos) |
|
dvec3 | ndc () const |
|
double | x () const |
|
double | y () const |
|
std::string | buttonName () const |
|
void | setMouseCursor (MouseCursor cursor) const |
|
void | setMouseCursorCallback (MouseCursorCallback callback) |
|
const MouseCursorCallback & | getMouseCursorCallback () const |
|
| InteractionEvent (KeyModifiers modifiers=KeyModifiers(flags::empty)) |
|
| InteractionEvent (const InteractionEvent &rhs)=default |
|
InteractionEvent & | operator= (const InteractionEvent &that)=default |
|
KeyModifiers | modifiers () const |
|
void | setModifiers (KeyModifiers modifiers) |
|
std::string | modifierNames () const |
|
void | setToolTip (std::string_view tooltip) const |
|
void | setToolTipCallback (ToolTipCallback callback) |
|
const ToolTipCallback & | getToolTipCallback () const |
|
virtual bool | shouldPropagateTo (Inport *inport, Processor *processor, Outport *source) |
|
bool | markAsUsed () |
|
bool | hasBeenUsed () const |
|
bool | markAsUnused () |
|
bool | setUsed (bool isUsed) |
|
bool | markAsVisited (Processor *) |
|
void | markAsVisited (Event &) |
|
bool | hasVisitedProcessor (Processor *) const |
|
const std::vector< Processor * > & | getVisitedProcessors () const |
|
template<typename EventType > |
EventType * | getAs () |
|
template<typename EventType > |
const EventType * | getAs () const |
|