29 #ifndef __TIMETRIGGER_H__
30 #define __TIMETRIGGER_H__
61 virtual void update() {
72 Inst< SFBool > _set_boolean = 0,
73 Inst< SetTriggerTime > _triggerTime = 0 );
Contains the SFBool field class.
Contains the SFTime field class.
Header file for X3DTriggerNode, X3D scene-graph node.
The SetTriggerTime class is specialize to set the vaule of the triggerTime field to the current time.
Definition: TimeTrigger.h:59
TimeTrigger is a trigger node that generates time events upon receiving boolean events.
Definition: TimeTrigger.h:54
H3DUniquePtr< SFBool > set_boolean
When an event is received store the current time in triggerTime.
Definition: TimeTrigger.h:81
static H3DNodeDatabase database
The H3DNodedatabase for this node.
Definition: TimeTrigger.h:91
H3DUniquePtr< SetTriggerTime > triggerTime
Contains the current time when an event has been generated.
Definition: TimeTrigger.h:88
TimeTrigger(Inst< SFNode > _metadata=0, Inst< SFBool > _set_boolean=0, Inst< SetTriggerTime > _triggerTime=0)
Constructor.
Definition: TimeTrigger.cpp:47
This abstract node type is the base node type from which all Triggers are derived.
Definition: X3DTriggerNode.h:41
H3D API namespace.
Definition: Anchor.h:38
The AutoUpdate field is a template to force the BaseField to update itself as soon as an event is rec...
Definition: FieldTemplates.h:130
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194