Ocean
X3DPointingDeviceSensorNode.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  *
4  * This source code is licensed under the MIT license found in the
5  * LICENSE file in the root directory of this source tree.
6  */
7 
8 #ifndef META_OCEAN_SCENEDESCRIPTION_SDX_X3D_X3D_POINTING_DEVICE_SENSOR_NODE_H
9 #define META_OCEAN_SCENEDESCRIPTION_SDX_X3D_X3D_POINTING_DEVICE_SENSOR_NODE_H
10 
13 
15 
16 namespace Ocean
17 {
18 
19 namespace SceneDescription
20 {
21 
22 namespace SDX
23 {
24 
25 namespace X3D
26 {
27 
28 /**
29  * This class implements an abstract x3d pointing device sensor node.
30  * @ingroup scenedescriptionsdxx3d
31  */
32 class OCEAN_SCENEDESCRIPTION_SDX_X3D_EXPORT X3DPointingDeviceSensorNode :
33  virtual public X3DSensorNode,
34  virtual public SDXEventNode
35 {
36  protected:
37 
38  /**
39  * Creates an abstract x3d pointing device sensor node.
40  * @param environment Node environment
41  */
42  explicit X3DPointingDeviceSensorNode(const SDXEnvironment* environment);
43 
44  /**
45  * Registers the fields of this node.
46  * @param specification Node specification receiving the field informations
47  */
48  void registerFields(NodeSpecification& specification);
49 
50  protected:
51 
52  /// Description field.
54 
55  /// IsOver field.
57 
58  /// IsActive field.
60 };
61 
62 }
63 
64 }
65 
66 }
67 
68 }
69 
70 #endif // META_OCEAN_SCENEDESCRIPTION_SDX_X3D_X3D_POINTING_DEVICE_SENSOR_NODE_H
This class implements a node specification object.
Definition: scenedescription/Node.h:77
This class implements an abstract x3d pointing device sensor node.
Definition: X3DPointingDeviceSensorNode.h:35
SingleString description_
Description field.
Definition: X3DPointingDeviceSensorNode.h:53
void registerFields(NodeSpecification &specification)
Registers the fields of this node.
SingleBool isOver_
IsOver field.
Definition: X3DPointingDeviceSensorNode.h:56
SingleBool isActive_
IsActive field.
Definition: X3DPointingDeviceSensorNode.h:59
X3DPointingDeviceSensorNode(const SDXEnvironment *environment)
Creates an abstract x3d pointing device sensor node.
This class implements an abstract x3d sensor node.
Definition: X3DSensorNode.h:31
This class implements the base class for all nodes receiving event calls regularly.
Definition: SDXEventNode.h:25
This class implements a node environment container.
Definition: SDXNode.h:62
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15