Ocean
Loading...
Searching...
No Matches
X3DSoundSourceNode.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_SOUND_SOURCE_NODE_H
9#define META_OCEAN_SCENEDESCRIPTION_SDX_X3D_SOUND_SOURCE_NODE_H
10
13
14namespace Ocean
15{
16
17namespace SceneDescription
18{
19
20namespace SDX
21{
22
23namespace X3D
24{
25
26/**
27 * This class implements an abstract x3d sound source node.
28 * @ingroup scenedescriptionsdxx3d
29 */
30class OCEAN_SCENEDESCRIPTION_SDX_X3D_EXPORT X3DSoundSourceNode : virtual public X3DTimeDependentNode
31{
32 protected:
33
34 /**
35 * Creates a new abstract x3d sound source node.
36 */
38
39 /**
40 * Registers the fields of this node.
41 * @param specification Node specification receiving the field information
42 */
43 void registerFields(NodeSpecification& specification);
44
45 protected:
46
47 /// Description field.
49
50 /// Pitch field.
52
53 /// Duration_changed field.
55};
56
57}
58
59}
60
61}
62
63}
64
65#endif // META_OCEAN_SCENEDESCRIPTION_SDX_X3D_SOUND_SOURCE_NODE_H
This class implements a node specification object.
Definition scenedescription/Node.h:77
X3DSoundSourceNode(const SDXEnvironment *environment)
Creates a new abstract x3d sound source node.
SingleFloat pitch_
Pitch field.
Definition X3DSoundSourceNode.h:51
SingleTime durationChanged_
Duration_changed field.
Definition X3DSoundSourceNode.h:54
void registerFields(NodeSpecification &specification)
Registers the fields of this node.
SingleString description_
Description field.
Definition X3DSoundSourceNode.h:48
X3DTimeDependentNode(const SDXEnvironment *environment)
Creates an abstract x3d time dependent node.
This class implements a node environment container.
Definition SDXNode.h:62
Field0D< Scalar > SingleFloat
Definition of a single field with float value.
Definition Field0D.h:41
Field0D< std::string > SingleString
Definition of a single field with string value.
Definition Field0D.h:77
Field0D< Timestamp > SingleTime
Definition of a single field with time value.
Definition Field0D.h:83
Namespace of the S(scene)D(escription)X X3D SceneDescription library.
Definition Appearance.h:26
Definition Appearance.h:23
Namespace of the SceneDescription library.
Definition DynamicNode.h:21
The namespace covering the entire Ocean framework.
Definition Accessor.h:15