8 #ifndef META_OCEAN_SCENEDESCRIPTION_SDX_EVENT_NODE_H
9 #define META_OCEAN_SCENEDESCRIPTION_SDX_EVENT_NODE_H
17 namespace SceneDescription
This class implements the manager for all scene descriptions.
Definition: scenedescription/Manager.h:101
This class implements the base class for all nodes receiving event calls regularly.
Definition: SDXEventNode.h:25
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.
This class implements a node environment container.
Definition: SDXNode.h:62
This class implements the base class for all SDX scene description nodes.
Definition: SDXNode.h:50
This class implements a timestamp.
Definition: Timestamp.h:36
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
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15