29 #ifndef __MAGNETICSURFACE_H__
30 #define __MAGNETICSURFACE_H__
65 public AutoUpdate< OnValueChangeSField< SFFloat > > {
67 virtual void onValueChange(
const H3DFloat &v );
76 public AutoUpdate< OnValueChangeSField< SFFloat > > {
78 virtual void onValueChange(
const H3DFloat &v );
87 public AutoUpdate< OnValueChangeSField< SFFloat > > {
89 virtual void onValueChange(
const H3DFloat &v );
98 public AutoUpdate< OnValueChangeSField< SFFloat > > {
100 virtual void onValueChange(
const H3DFloat &v );
109 public AutoUpdate< OnValueChangeSField< SFFloat > > {
111 virtual void onValueChange(
const H3DFloat &v );
116 Inst< UpdateDamping > _damping = 0,
117 Inst< UpdateStaticFriction > _staticFriction = 0,
118 Inst< UpdateDynamicFriction > _dynamicFriction = 0,
119 Inst< UpdateSnapDistance > _snapDistance = 0 );
Contains different templates to modify field behaviour.
Header file for H3DSurfaceNode.
Contains the SFBool field class.
Contains the SFFloat field class.
Base class for all surfaces.
Definition: H3DSurfaceNode.h:44
Specialized field which sets the damping variable in HAPI::OpenHapticsRenderer::OpenHapticsSurface wh...
Definition: MagneticSurface.h:76
Specialized field which sets the dynamic_friction variable in HAPI::OpenHapticsRenderer::OpenHapticsS...
Definition: MagneticSurface.h:98
Specialized field which sets the snap_distance variable in HAPI::OpenHapticsRenderer::OpenHapticsSurf...
Definition: MagneticSurface.h:109
Specialized field which sets the static_friction variable in HAPI::OpenHapticsRenderer::OpenHapticsSu...
Definition: MagneticSurface.h:87
Specialized field which sets the stiffness variable in HAPI::OpenHapticsRenderer::OpenHapticsSurface ...
Definition: MagneticSurface.h:65
The MagneticSurface is a surface where the proxy is attracted to the surface, and forces are generate...
Definition: MagneticSurface.h:56
H3DUniquePtr< UpdateSnapDistance > snapDistance
The distance from the surface within which forces are generated to pull the proxy towards the surface...
Definition: MagneticSurface.h:162
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: MagneticSurface.h:165
H3DUniquePtr< UpdateDamping > damping
The velocity based damping of the surface.
Definition: MagneticSurface.h:137
H3DUniquePtr< UpdateStaticFriction > staticFriction
The friction that is experienced upon initial movement when resting on the surface.
Definition: MagneticSurface.h:145
H3DUniquePtr< UpdateStiffness > stiffness
The stiffness of the surface.
Definition: MagneticSurface.h:129
H3DUniquePtr< UpdateDynamicFriction > dynamicFriction
The friction that is experienced when moving along the surface the surface.
Definition: MagneticSurface.h:153
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