29 #ifndef __ROTATIONALSPRINGEFFECT_H__
30 #define __ROTATIONALSPRINGEFFECT_H__
33 #include <HAPI/HapticRotationalSpring.h>
58 Inst< MFVec3f > _torque = 0,
59 Inst< SFFloat > _springConstant = 0,
60 Inst< SFBool > _enabled = 0,
61 Inst< MFInt32 > _deviceIndex = 0,
62 Inst< SFNode > _metadata = 0,
63 Inst< SFFloat > _damping = 0 );
Header file for H3DForceEffect.
Contains the MFVec3f field class.
Contains the SFBool field class.
Contains the SFFloat field class.
Contains the SFInt32 field class.
Contains the SFVec3f field class.
The base class for scenegraph force effects.
Definition: H3DForceEffect.h:39
RotationalSpringEffect is a localized haptic effect where the haptics device is rotated towards a cer...
Definition: RotationalSpringEffect.h:54
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: RotationalSpringEffect.h:110
H3DUniquePtr< SFFloat > damping
The damping constant to use in the torque calculation.
Definition: RotationalSpringEffect.h:107
AutoRefVector< HAPI::HapticRotationalSpring > haptic_rotational_spring
Internal haptic spring instance.
Definition: RotationalSpringEffect.h:113
H3DUniquePtr< SFVec3f > desiredAxis
The desired axis of the spring, that is the axis towards which the torque should be directed.
Definition: RotationalSpringEffect.h:76
H3DUniquePtr< SFFloat > springConstant
The spring constant of the spring.
Definition: RotationalSpringEffect.h:93
H3DUniquePtr< SFBool > enabled
The enabled field should be set to true when the force effect should be enabled and active.
Definition: RotationalSpringEffect.h:100
H3DUniquePtr< MFVec3f > torque
The torque applied by the spring to the haptics device since the last scenegraph update.
Definition: RotationalSpringEffect.h:83
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