AGX Dynamics 2.38.0.2
Loading...
Searching...
No Matches
Events.h
Go to the documentation of this file.
1/*
2Copyright 2007-2024. Algoryx Simulation AB.
3
4All AGX source code, intellectual property, documentation, sample code,
5tutorials, scene files and technical white papers, are copyrighted, proprietary
6and confidential material of Algoryx Simulation AB. You may not download, read,
7store, distribute, publish, copy or otherwise disseminate, use or expose this
8material unless having a written signed agreement with Algoryx Simulation AB, or having been
9advised so by Algoryx Simulation AB for a time limited evaluation, or having purchased a
10valid commercial license from Algoryx Simulation AB.
11
12Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13from using this software, unless otherwise stated in written agreements with
14Algoryx Simulation AB.
15*/
16
17#ifndef AGXIO_EVENTS_H
18#define AGXIO_EVENTS_H
19
20#include <agx/HashTable.h>
21#include <agx/Event.h>
22#include <agx/String.h>
23#include <agx/agxCore_export.h>
24#include <agx/Vec2.h>
25
26namespace agxIO
27{
36
42
43
46
48 // void AGXCORE_EXPORT unregisterKeyboardCallback(int key, InputEvent::CallbackType *callback);
53}
54
55
56#endif /* _AGXIO_EVENTS_H_ */
#define AGXCORE_EXPORT
Templated callback with two arguments.
Definition Callback.h:140
Templated callback with three arguments.
Definition Callback.h:182
An event with two arguments.
Definition Event.h:122
An event with three arguments.
Definition Event.h:141
The agxIO namespace contains classes for reading, writing and finding files.
Definition Material.h:42
void AGXCORE_EXPORT registerKeyboardCallback(int key, InputEvent::CallbackType *callback)
agx::Event2< int, EventType > InputEvent
Definition Events.h:44
void AGXCORE_EXPORT registerMouseCallback(MouseEvent::CallbackType *callback)
void AGXCORE_EXPORT triggerKeyboardEvent(int key, EventType type)
EventType
Definition Events.h:38
@ EVENT_UP
Definition Events.h:40
@ EVENT_DOWN
Definition Events.h:39
void AGXCORE_EXPORT triggerMouseEvent(MouseButton button, EventType type, const agx::Vec2 &pos)
MouseButton
Definition Events.h:29
@ MOUSE_WHEELDOWN
Definition Events.h:34
@ MOUSE_LEFT
Definition Events.h:30
@ MOUSE_WHEELUP
Definition Events.h:33
@ MOUSE_RIGHT
Definition Events.h:31
@ MOUSE_MIDDLE
Definition Events.h:32
agx::Event3< MouseButton, EventType, agx::Vec2 > MouseEvent
Definition Events.h:45
void AGXCORE_EXPORT unregisterMouseCallback(MouseEvent::CallbackType *callback)