29 #ifndef __MAGNETICGEOMETRYEFFECT_H__
30 #define __MAGNETICGEOMETRYEFFECT_H__
59 Inst< SFBool > _enabled = 0,
60 Inst< SFNode > _metadata = 0,
61 Inst< SFFloat > _startDistance = 0,
62 Inst< SFFloat > _escapeDistance = 0,
63 Inst< SFBool > _active = 0,
64 Inst< SFFloat > _springConstant = 0,
65 Inst< SFGeometry > _geometry = 0,
66 Inst< MFInt32 > _deviceIndex = 0 );
112 vector< bool > force_active;
Header file for H3DForceEffect.
Contains the SFBool field class.
Contains the SFFloat field class.
Contains the SFInt32 field class.
Contains the SFVec3f field class.
Header file for X3DGeometryNode, X3D scene-graph node.
The base class for scenegraph force effects.
Definition: H3DForceEffect.h:39
MagneticGeometryEffect is a localized haptic effect that tries to constrain the haptic device to the ...
Definition: MagneticGeometryEffect.h:52
H3DUniquePtr< SFFloat > startDistance
When the haptics device comes within this distance of the geometry the constraint is activated.
Definition: MagneticGeometryEffect.h:82
H3DUniquePtr< SFFloat > springConstant
The spring constant of the spring.
Definition: MagneticGeometryEffect.h:101
H3DUniquePtr< SFBool > active
Tells whether the effect is active or not.
Definition: MagneticGeometryEffect.h:95
H3DUniquePtr< SFFloat > escapeDistance
If the effect is active, the effect will be deactivated if the haptics device moves outside this dist...
Definition: MagneticGeometryEffect.h:89
H3DUniquePtr< SFBool > enabled
Enables or disables the force calculations.
Definition: MagneticGeometryEffect.h:75
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: MagneticGeometryEffect.h:110
H3DUniquePtr< SFGeometry > geometry
The geometry whose surface to follow.
Definition: MagneticGeometryEffect.h:107
TraverseInfo is a structure that is passed along when traversing the scene graph.
Definition: TraverseInfo.h:57
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