Candy
|
This is a haptics device that is controlled through a pre-defined spline path. More...
Public Member Functions | |
PathHapticsDevice (H3D::Inst< H3D::MFVec3f > _path=0, H3D::Inst< H3D::SFFloat > _startTime=0, H3D::Inst< H3D::SFFloat > _rate=0, H3D::Inst< H3D::SFBool > _closed=0) | |
void | initialize () |
Public Attributes | |
std::auto_ptr< H3D::MFVec3f > | path |
![]() | |
std::auto_ptr< H3D::SFFloat > | startTime |
![]() | |
std::auto_ptr< H3D::SFFloat > | rate |
![]() | |
std::auto_ptr< H3D::SFBool > | closed |
![]() | |
Static Public Attributes | |
static H3D::H3DNodeDatabase | database |
This is a haptics device that is controlled through a pre-defined spline path.
Use this device to generate a predictable course of events in the haptic simulation for testing haptic algorithms, rendering of deformations, and other parameters.
X3D Interface | ||||
Name | Type | Default value | Description | |
![]() | path | MFVec3f | [] | The control points for the cubic spline path that this device should follow. |
![]() | startTime | SFFloat | 0.0 | The time at which the device follows the path. |
![]() | rate | SFFloat | 1.0 | The rate at which the control points are passed expressed in control points per second. |
![]() | closed | SFBool | false | If true the path is closed, so that when the last control point is reached the first control point is approach to start over again. |
std::auto_ptr< H3D::SFBool > Candy::PathHapticsDevice::closed |
If true the path is closed, so that when the last control point is reached the first control point is approach to start over again.
std::auto_ptr< H3D::MFVec3f > Candy::PathHapticsDevice::path |
The control points for the cubic spline path that this device should follow.
std::auto_ptr< H3D::SFFloat > Candy::PathHapticsDevice::rate |
The rate at which the control points are passed expressed in control points per second.
std::auto_ptr< H3D::SFFloat > Candy::PathHapticsDevice::startTime |
The time at which the device follows the path.