#include <TimeSensor.h>
Inherits X3D::X3DTimeDependentNode, and AP::AP_Thread.
Public Member Functions | |
void | Destroy (void) |
AP_Bool | Init (void) |
Interface The render and init API function is not present in the X3D ISO/IEC 19775-1:2008 standard. We will use it to OpenGL direct rendering. It is a pure virtual function and must be overloaded from some X3D classes. | |
void | run (void) |
TimeSensor (const AP_Xml &xml, SFNode scene) | |
Protected Attributes | |
SFTime | _m_cycleInterval |
SFTime | _m_cycleTime |
SFFloat | _m_fraction_changed |
SFTime | _m_time |
TimeSensor | ( | const AP_Xml & | xml, | |
SFNode | scene | |||
) |
void Destroy | ( | void | ) | [inline, virtual] |
Reimplemented from X3DNode.
AP_Bool Init | ( | void | ) | [inline, virtual] |
void run | ( | void | ) | [virtual] |
SFTime _m_cycleInterval [protected] |
SFTime _m_cycleTime [protected] |
SFFloat _m_fraction_changed [protected] |
SFTime _m_time [protected] |