#include <H3DNetworkingUtils/RealtimeAttractor.h>
Public Member Functions | |
RealtimeAttractor (H3D::Inst< LockableSFVec3f > _realtimePoint=0) | |
Constructor. | |
virtual | ~RealtimeAttractor () |
Destructor. | |
Public Attributes | |
auto_ptr< LockableSFVec3f > | realtimePoint |
The global point of attraction which can be updated in the haptics thread. | |
Static Public Attributes | |
static H3D::H3DNodeDatabase | database |
X3D database. | |
Classes | |
class | LockableSFVec3f |
An SFVec3f that has thread-locked access. More... |
(~1000hz). Typically you would route from another haptic tool's haptic loop. Route to realtimePoint - don't use the parent class's point field. This class works with 1 or 2 haptic devices.
Examples:
The global point of attraction which can be updated in the haptics thread.
This serves the same purpose as theh 'point' field of the parent class but is reproduced with a different name to emphasise the issue that it is set and updated from the haptics thread at haptics rates
It should be routed to from a remoteField with isHapticField set to true access type: inputOutput
basic type: SFVec3f
default value: 0 0 0