29 #ifndef __TOUCHSENSOR_H__
30 #define __TOUCHSENSOR_H__
68 Inst< SFBool > _enabled = 0,
69 Inst< SFNode > _metadata = 0,
70 Inst< SFVec3f > _hitNormal_changed = 0,
71 Inst< SFVec3f > _hitPoint_changed = 0,
72 Inst< SFVec2f > _hitTexCoord_changed = 0,
73 Inst< SFBool > _isActive = 0,
74 Inst< SFBool > _isOver = 0,
75 Inst< SFTime > _touchTime = 0,
76 Inst< SFString > _hitObject_changed = 0 );
111 Matrix4f *global_to_local = 0 );
Contains the SFVec2f field class.
Header file for X3DTouchSensorNode, X3D scene-graph node.
A TouchSensor node tracks the location and state of the pointing device and detects when the user poi...
Definition: TouchSensor.h:63
H3DUniquePtr< SFVec3f > hitNormal_changed
hitNormal_changed events contain the surface normal vector at the hitPoint.
Definition: TouchSensor.h:83
H3DUniquePtr< SFVec3f > hitPoint_changed
hitPoint_changed events contain the 3D point on the surface of the underlying geometry,...
Definition: TouchSensor.h:90
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: TouchSensor.h:105
H3DUniquePtr< SFString > hitObject_changed
hitObject_changed events contain the name of the object at the hitPoint.
Definition: TouchSensor.h:102
H3DUniquePtr< SFVec2f > hitTexCoord_changed
hitTexCoord_changed events contain the texture coordinates of that surface at the hitPoint.
Definition: TouchSensor.h:96
This abstract node type is the base type for all touch-style pointing device sensors.
Definition: X3DTouchSensorNode.h:46
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
Used as input to intersection functions.
Definition: Node.h:114