29 #ifndef __X3DSTRINGSENSOR_H__
30 #define __X3DSTRINGSENSOR_H__
82 Inst< SFBool > _enabled = 0,
83 Inst< SFNode > _metadata = 0,
84 Inst< SFString> _enteredText =0,
85 Inst< SFString> _finalText =0,
86 Inst< SFBool > _isActive = 0
90 virtual void keyboardDown(
int key,
bool special_key);
Contains the SFInt32 field class.
Contains the SFString field class.
Header file for X3DKeyDeviceSensorNode, X3D scene-graph node.
A StringSensor node generates events as the user presses keys on the keyboard.
Definition: StringSensor.h:77
H3DUniquePtr< SFBool > deletionAllowed
If a deletionAllowed has value TRUE, the previously entered character in the enteredText is removed w...
Definition: StringSensor.h:103
virtual void keyboardUp(int key, bool special_key)
Function called when key is released.
Definition: StringSensor.h:93
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: StringSensor.h:120
H3DUniquePtr< SFString > finalText
The finalText event is generated whenever the browser-recognized value for terminating a string is en...
Definition: StringSensor.h:117
H3DUniquePtr< SFString > enteredText
enteredText events are generated as keys which produce characters are pressed on the keyboard.
Definition: StringSensor.h:110
This abstract node type is the base type for all sensor node types which operate using key devices.
Definition: X3DKeyDeviceSensorNode.h:43
H3D API namespace.
Definition: Anchor.h:38
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194