Ocean
X3DViewpointNode.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_VIEWPOINT_NODE_H
9 #define META_OCEAN_SCENEDESCRIPTION_SDX_X3D_X3D_VIEWPOINT_NODE_H
10 
13 
14 namespace Ocean
15 {
16 
17 namespace SceneDescription
18 {
19 
20 namespace SDX
21 {
22 
23 namespace X3D
24 {
25 
26 /**
27  * This class implements an abstract x3d viewpoint node.
28  * @ingroup scenedescriptionsdxx3d
29  */
30 class OCEAN_SCENEDESCRIPTION_SDX_X3D_EXPORT X3DViewpointNode : virtual public X3DBindableNode
31 {
32  public:
33 
34  /**
35  * Creates a new abstract x3d viewpoint node.
36  * @param environment Node environment
37  */
38  explicit X3DViewpointNode(const SDXEnvironment* environment);
39 
40  protected:
41 
42  /**
43  * Registers the fields of this node.
44  * @param specification Node specification receiving the field informations
45  */
46  void registerFields(NodeSpecification& specification);
47 
48  protected:
49 
50  /// CenterOfRotation field.
52 
53  /// Description field.
55 
56  /// Jump field.
58 
59  /// Orientation field.
61 
62  /// Position field.
64 
65  /// RetainUserOffsets field.
67 };
68 
69 }
70 
71 }
72 
73 }
74 
75 }
76 
77 #endif // META_OCEAN_SCENEDESCRIPTION_SDX_X3D_X3D_VIEWPOINT_NODE_H
This class implements a node specification object.
Definition: scenedescription/Node.h:77
This class implements an abstract x3d bindable node.
Definition: X3DBindableNode.h:31
This class implements an abstract x3d viewpoint node.
Definition: X3DViewpointNode.h:31
SingleVector3 position_
Position field.
Definition: X3DViewpointNode.h:63
SingleRotation orientation_
Orientation field.
Definition: X3DViewpointNode.h:60
SingleVector3 centerOfRotation_
CenterOfRotation field.
Definition: X3DViewpointNode.h:51
void registerFields(NodeSpecification &specification)
Registers the fields of this node.
X3DViewpointNode(const SDXEnvironment *environment)
Creates a new abstract x3d viewpoint node.
SingleString description_
Description field.
Definition: X3DViewpointNode.h:54
SingleBool retainUserOffsets_
RetainUserOffsets field.
Definition: X3DViewpointNode.h:66
SingleBool jump_
Jump field.
Definition: X3DViewpointNode.h:57
This class implements a node environment container.
Definition: SDXNode.h:62
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15