29 #ifndef __INTEGERTRIGGER_H__
30 #define __INTEGERTRIGGER_H__
62 virtual void update() {
74 Inst< SFBool > _set_boolean = 0,
75 Inst< SFInt32 > _integerKey = 0,
76 Inst< SetTriggerValue > _triggerValue = 0);
Contains the SFBool field class.
Contains the SFInt32 field class.
Header file for X3DTriggerNode, X3D scene-graph node.
The SetTriggerValue class is specialize to set the vaule of the triggerValue field to the value of th...
Definition: IntegerTrigger.h:60
IntegerTrigger handles single field Boolean events to set an integer value for the output event.
Definition: IntegerTrigger.h:55
static H3DNodeDatabase database
The H3DNodedatabase for this node.
Definition: IntegerTrigger.h:101
H3DUniquePtr< SetTriggerValue > triggerValue
TriggerValue will be set if a set_boolean event is recieved.
Definition: IntegerTrigger.h:98
H3DUniquePtr< SFInt32 > integerKey
Contains the value triggerValue will be set to.
Definition: IntegerTrigger.h:91
H3DUniquePtr< SFBool > set_boolean
When an event is recieved generate triggerValue event with current value of integerKey.
Definition: IntegerTrigger.h:84
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