8#ifndef META_OCEAN_SCENEDESCRIPTION_SDX_EVENT_NODE_H
9#define META_OCEAN_SCENEDESCRIPTION_SDX_EVENT_NODE_H
virtual void onKey(const int key, const ButtonEvent buttonEvent, const Rendering::ObjectId objectId, const Timestamp timestamp)=0
Key event function.
~SDXEventNode() override
Destructs an event node and unregisters it from the scene description manager.
virtual void onMouse(const ButtonType button, const ButtonEvent buttonEvent, const Vector2 &screenPosition, const Vector3 &objectPosition, const Rendering::ObjectId objectId, const Timestamp timestamp)=0
Mouse event function.
SDXEventNode(const SDXEnvironment *environment)
Creates a new event node and registers it at the scene description manager.
friend class Manager
Definition SDXEventNode.h:26
This class implements a node environment container.
Definition SDXNode.h:62
SDXNode(const SDXEnvironment *environment)
Creates a new node object.
This class implements a timestamp.
Definition Timestamp.h:64
VectorT2< Scalar > Vector2
Definition of a 2D vector.
Definition Vector2.h:28
VectorT3< Scalar > Vector3
Definition of a 3D vector.
Definition Vector3.h:29
size_t ObjectId
Definition of a object id.
Definition rendering/Rendering.h:59
ButtonEvent
Definition of different device events.
Definition SceneDescription.h:92
ButtonType
Definition of different button types.
Definition SceneDescription.h:76
Namespace of the SceneDescription library.
Definition DynamicNode.h:21
The namespace covering the entire Ocean framework.
Definition Accessor.h:15