H3D API
2.4.1
|
Abstract base class for all Fields that will be updated without anyone asking for a value. More...
#include <H3D/PeriodicUpdate.h>
Public Member Functions | |
virtual | ~PeriodicUpdateField () |
Destructor. | |
virtual bool | timeToUpdate ()=0 |
Determines if it is time to check that the field is updated. More... | |
Abstract base class for all Fields that will be updated without anyone asking for a value.
Each scene-graph loop the timeToUpdate() function will be called and if it returns true, the upToDate-function will be executed.
|
pure virtual |
Determines if it is time to check that the field is updated.
This function will be called once per scenegraph loop and when it returns true the upToDate function will be run in the field.
Implemented in H3D::PeriodicUpdate< BaseFieldType >, H3D::PeriodicUpdate< SFImageObjectNode >, H3D::PeriodicUpdate< SFBool >, H3D::PeriodicUpdate< TypedField< SFBool, Types< SFFloat, SFFloat > > >, H3D::PeriodicUpdate< BaseField >, H3D::PeriodicUpdate< TypedField< Field, Types< SFFontStyleNode, MFString > > >, H3D::PeriodicUpdate< Field >, H3D::PeriodicUpdate< EventCollectingField< Field > >, and H3D::PeriodicUpdate< SFTime >.