29 #ifndef __OPENHAPTICSSURFACE_H__
30 #define __OPENHAPTICSSURFACE_H__
35 #ifdef HAVE_OPENHAPTICS
52 public AutoUpdate< OnValueChangeSField< SFBool > > {
54 virtual void onValueChange(
const bool &b );
59 Inst< UpdateDamping > _damping = 0,
60 Inst< UpdateStaticFriction > _staticFriction = 0,
61 Inst< UpdateDynamicFriction > _dynamicFriction = 0,
62 Inst< UpdateMagnetic > _magnetic = 0,
63 Inst< UpdateSnapDistance > _snapDistance = 0 );
Header file for MagneticSurface.
Contains the SFBool field class.
The MagneticSurface is a surface where the proxy is attracted to the surface, and forces are generate...
Definition: MagneticSurface.h:56
Specialized field which sets the magnetic variable in HAPI::OpenHapticsRenderer::OpenHapticsSurface w...
Definition: OpenHapticsSurface.h:52
Surface type for setting OpenHaptics surface parameters directly.
Definition: OpenHapticsSurface.h:43
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: OpenHapticsSurface.h:74
H3DUniquePtr< UpdateMagnetic > magnetic
Specifies if the surface should be magnetic or not.
Definition: OpenHapticsSurface.h:71
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