|
AGX Dynamics
2.37.3.2
|
Base class for inserting mouse and keyboard event into agxSDK::Simulation. More...
#include <GuiEventAdapter.h>
Inheritance diagram for agxSDK::GuiEventAdapter:Public Types | |
| enum | EventType { NONE = 0, PUSH = 1, RELEASE = 2, DOUBLECLICK = 4, DRAG = 8, MOVE = 16, KEYDOWN = 32, KEYUP = 64, FRAME = 128, RESIZE = 256, SCROLL = 512, UPDATE = 1024, CLOSE_WINDOW = 8192, QUIT_APPLICATION = 16384, USER = 32768 } |
| enum | MouseButtonMask { NO_MOUSE_BUTTON = 0, LEFT_MOUSE_BUTTON = 1, MIDDLE_MOUSE_BUTTON = 2, RIGHT_MOUSE_BUTTON = 4 } |
Public Member Functions | |
| GuiEventAdapter (Simulation *) | |
| Constructor. More... | |
| virtual | ~GuiEventAdapter () |
| Simulation * | getSimulation () |
| void | setSimulation (Simulation *) |
| bool | triggerEvent (const GuiEvent &event) |
| Execute the event. More... | |
| void | updateGuiEvents () |
| Update all added/removed GuiEvents. More... | |
Base class for inserting mouse and keyboard event into agxSDK::Simulation.
Definition at line 29 of file agxSDK/GuiEventAdapter.h.
| Enumerator | |
|---|---|
| NONE | |
| PUSH | |
| RELEASE | |
| DOUBLECLICK | |
| DRAG | |
| MOVE | |
| KEYDOWN | |
| KEYUP | |
| FRAME | |
| RESIZE | |
| SCROLL | |
| UPDATE | |
| CLOSE_WINDOW | |
| QUIT_APPLICATION | |
| USER | |
Definition at line 43 of file agxSDK/GuiEventAdapter.h.
| Enumerator | |
|---|---|
| NO_MOUSE_BUTTON | |
| LEFT_MOUSE_BUTTON | |
| MIDDLE_MOUSE_BUTTON | |
| RIGHT_MOUSE_BUTTON | |
Definition at line 34 of file agxSDK/GuiEventAdapter.h.
| agxSDK::GuiEventAdapter::GuiEventAdapter | ( | Simulation * | ) |
Constructor.
|
virtual |
Reimplemented in agxOSG::GuiEventAdapter.
| Simulation* agxSDK::GuiEventAdapter::getSimulation | ( | ) |
| void agxSDK::GuiEventAdapter::setSimulation | ( | Simulation * | ) |
| bool agxSDK::GuiEventAdapter::triggerEvent | ( | const GuiEvent & | event | ) |
Execute the event.
| void agxSDK::GuiEventAdapter::updateGuiEvents | ( | ) |
Update all added/removed GuiEvents.