8#ifndef META_OCEAN_SCENEDESCRIPTION_SDX_X3D_SWITCH_H
9#define META_OCEAN_SCENEDESCRIPTION_SDX_X3D_SWITCH_H
This class is the base class for all scene description fields.
Definition Field.h:36
This class implements a node specification object.
Definition scenedescription/Node.h:77
const Field & field(const std::string &fieldName) const
Returns the field base of a specified (standard) field.
void onInitialize(const Rendering::SceneRef &scene, const Timestamp timestamp) override
Event function to inform the node that it has been initialized and can apply all internal values to c...
SingleInt whichChoice_
WhichChoice field.
Definition scenedescription/sdx/x3d/Switch.h:75
NodeSpecification specifyNode()
Specifies the node type and the fields of this node.
size_t objectAddress() const override
Returns the address of the most derived object.
Switch(const SDXEnvironment *environment)
Creates a new x3d switch node.
bool onFieldChanging(const std::string &fieldName, const Field &field) override
Explicit changing event function for node fields.
void onFieldChanged(const std::string &fieldName) override
Event function to inform the node about a changed field.
X3DGroupingNode(const SDXEnvironment *environment)
Creates an abstract x3d grouping node.
This class implements a node environment container.
Definition SDXNode.h:62
This class implements a timestamp.
Definition Timestamp.h:64
SmartObjectRef< Scene > SceneRef
Definition of a smart object reference holding a scene node.
Definition rendering/Scene.h:29
Field0D< int > SingleInt
Definition of a single field with integer value.
Definition Field0D.h:47
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