chrono::opengl::ChOpenGLEventCB Class Referenceabstract
Description
Interface of an object which can receive events.
#include <ChVisualSystemOpenGL.h>
Public Member Functions | |
virtual bool | CallbackKeyboard (GLFWwindow *window, int key, int scancode, int action, int mode)=0 |
GLFW callback to handle keyboard events. More... | |
virtual bool | CallbackMouseButton (GLFWwindow *window, int button, int action, int mods)=0 |
GLFW callback to handle mouse button events. More... | |
virtual bool | CallbackMousePos (GLFWwindow *window, double x, double y)=0 |
GLFW callback to handle events generated by changes in mouse position. More... | |
Member Function Documentation
◆ CallbackKeyboard()
|
pure virtual |
GLFW callback to handle keyboard events.
Return 'true' if the event is completely done and no further processing is to occur.
◆ CallbackMouseButton()
|
pure virtual |
GLFW callback to handle mouse button events.
Return 'true' if the event is completely done and no further processing is to occur.
◆ CallbackMousePos()
|
pure virtual |
GLFW callback to handle events generated by changes in mouse position.
Return 'true' if the event is completely done and no further processing is to occur.
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono_opengl/ChVisualSystemOpenGL.h