H3D::X3DTimeDependentNode::TimeHandler Class Reference

The TimeHandler field updates once per scene-graph loop to monitor the current time and updates the fields in the owner X3DTimeDependentNode if any state changes has to be made. More...

#include <X3DTimeDependentNode.h>

Inheritance diagram for H3D::X3DTimeDependentNode::TimeHandler:

Inheritance graph
List of all members.

Public Member Functions

virtual void activate (H3DDouble time)
 Activate the time node. Start generating time based events.
virtual void deactivate (H3DDouble time)
 Deactivate the time node.

Protected Member Functions

virtual void update ()
 This function handles all logic for state changes and field updates to the X3DTimeDependentNode.

Detailed Description

The TimeHandler field updates once per scene-graph loop to monitor the current time and updates the fields in the owner X3DTimeDependentNode if any state changes has to be made.

It sets fields in the X3DTimeDependentNode accordingly.

routes_in[0] Scene.time


Member Function Documentation

void X3DTimeDependentNode::TimeHandler::deactivate H3DDouble  time  )  [virtual]
 

Deactivate the time node.

No events will be generated after a call to this function.

void X3DTimeDependentNode::TimeHandler::update  )  [protected, virtual]
 

This function handles all logic for state changes and field updates to the X3DTimeDependentNode.

It will be called once per scene-graph loop to set the fields in the time node depending on the current time.

Reimplemented from H3D::SField< H3DDouble >.

Reimplemented in H3D::TimeSensor::TimeHandler, and H3D::X3DSoundSourceNode::TimeHandler.


Generated on Thu Aug 24 12:40:32 2006 for H3D API by  doxygen 1.4.5