30 #ifndef __H3DFRICTIONALSURFACENODE_H__
31 #define __H3DFRICTIONALSURFACENODE_H__
47 public AutoUpdate< OnValueChangeSField< SFFloat > > {
49 virtual void onValueChange(
const H3DFloat &v );
56 public AutoUpdate< OnValueChangeSField< SFFloat > > {
58 virtual void onValueChange(
const H3DFloat &v );
63 Inst< UpdateStiffness > _stiffness = 0,
64 Inst< UpdateDamping > _damping = 0,
65 Inst< UpdateStaticFriction > _staticFriction = 0,
66 Inst< UpdateDynamicFriction > _dynamicFriction = 0,
67 Inst< SFBool > _useRelativeValues = 0 );
Header file for H3DStiffnessSurfaceNode.
Specialized field which sets the dynamic_friction variable in H3DFrictionalSurfaceNode when the dynam...
Definition: H3DFrictionalSurfaceNode.h:56
Specialized field which sets the static_friction variable in H3DFrictionalSurfaceNode when the static...
Definition: H3DFrictionalSurfaceNode.h:47
Base class for surfaces with friction.
Definition: H3DFrictionalSurfaceNode.h:40
H3DUniquePtr< UpdateStaticFriction > staticFriction
The friction that is experienced upon initial movement when resting on the surface.
Definition: H3DFrictionalSurfaceNode.h:75
H3DUniquePtr< UpdateDynamicFriction > dynamicFriction
The friction that is experienced when moving along the surface the surface.
Definition: H3DFrictionalSurfaceNode.h:83
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: H3DFrictionalSurfaceNode.h:86
A H3DStiffnessSurfaceNode is the base class for surfaces that have stiffness and damping.
Definition: H3DStiffnessSurfaceNode.h:47
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