Ocean
X3DBoundedObject.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_BOUNDED_OBJECT_H
9 #define META_OCEAN_SCENEDESCRIPTION_SDX_X3D_X3D_BOUNDED_OBJECT_H
10 
12 
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 bounded object.
30  * @ingroup scenedescriptionsdxx3d
31  */
32 class OCEAN_SCENEDESCRIPTION_SDX_X3D_EXPORT X3DBoundedObject : virtual public SDXNode
33 {
34  protected:
35 
36  /**
37  * Creates a new x3d bounded object.
38  * @param environment Node environment
39  */
40  explicit X3DBoundedObject(const SDXEnvironment* environment);
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  /// BBoxCenter node.
52 
53  /// BBoxSize node.
55 };
56 
57 }
58 
59 }
60 
61 }
62 
63 }
64 
65 #endif // META_OCEAN_SCENEDESCRIPTION_SDX_X3D_X3D_BOUNDED_OBJECT_H
This class implements a node specification object.
Definition: scenedescription/Node.h:77
This class implements an abstract x3d bounded object.
Definition: X3DBoundedObject.h:33
void registerFields(NodeSpecification &specification)
Registers the fields of this node.
SingleVector3 bboxCenter_
BBoxCenter node.
Definition: X3DBoundedObject.h:51
X3DBoundedObject(const SDXEnvironment *environment)
Creates a new x3d bounded object.
SingleVector3 bboxSize_
BBoxSize node.
Definition: X3DBoundedObject.h:54
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
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15