8 #ifndef META_OCEAN_SCENEDESCRIPTION_SDX_X3D_X3D_TIME_DEPENDENT_NODE_H
9 #define META_OCEAN_SCENEDESCRIPTION_SDX_X3D_X3D_TIME_DEPENDENT_NODE_H
19 namespace SceneDescription
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
This class implements an abstract x3d child node.
Definition: X3DChildNode.h:31
This class implements an abstract x3d time dependent node.
Definition: X3DTimeDependentNode.h:35
SingleTime pauseTime_
PauseTime field.
Definition: X3DTimeDependentNode.h:151
SingleTime elapsedTime_
ElapsedTime field.
Definition: X3DTimeDependentNode.h:163
X3DTimeDependentNode(const SDXEnvironment *environment)
Creates an abstract x3d time dependent node.
SingleBool isPaused_
IsPaused field.
Definition: X3DTimeDependentNode.h:169
bool onFieldChanging(const std::string &fieldName, const Field &field) override
Explicit changing event function for node fields.
SingleTime startTime_
StartTime field.
Definition: X3DTimeDependentNode.h:157
virtual void onResumed(const Timestamp eventTimestamp)=0
Event function for node resume events.
virtual void pauseNode(const Timestamp valueTimestamp, const Timestamp eventTimestamp)
Pauses the node explicitly.
virtual void onStarted(const Timestamp eventTimestamp)=0
Event function for node start events.
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...
double pausedTime_
The time this sensor was paused, with range [0, infinity)
Definition: X3DTimeDependentNode.h:172
SingleTime stopTime_
StopTime field.
Definition: X3DTimeDependentNode.h:160
void onFieldChanged(const std::string &fieldName) override
Event function to inform the node about a changed field.
SingleBool loop_
Loop field.
Definition: X3DTimeDependentNode.h:148
SingleBool isActive_
IsActive field.
Definition: X3DTimeDependentNode.h:166
virtual void onPaused(const Timestamp eventTimestamp)=0
Event function for node pause events.
void registerFields(NodeSpecification &specification)
Registers the fields of this node.
virtual void resumeNode(const Timestamp valueTimestamp, const Timestamp eventTimestamp)
Resumes the node explicitly.
virtual void onUpdated(const Timestamp timestamp)=0
Event function for node update events.
virtual void startNode(const Timestamp valueTimestamp, const Timestamp eventTimestamp)
Starts the node explicitly.
virtual void stopNode(const Timestamp valueTimestamp, const Timestamp eventTimestamp)
Stops the node explicitly.
SingleTime resumeTime_
ResumeTime field.
Definition: X3DTimeDependentNode.h:154
virtual void onStopped(const Timestamp eventTimestamp)=0
Event function for node stop events.
void onUpdate(const Rendering::ViewRef &view, const Timestamp timestamp) override
Update event function.
This class implements a node environment container.
Definition: SDXNode.h:62
This class implements the base class for all nodes needing update calls regularly.
Definition: SDXUpdateNode.h:25
This class implements a timestamp.
Definition: Timestamp.h:36
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15