The concept of haptic primitives is used by the haptic modes to define a haptic behaviour. For 3 DOF there are four different haptic primitives: point, line, plane and force.
Public Member Functions | |
| primitive (HAPI::Vec3 x, HAPI::HAPIFloat s, primitive_t type, HAPI::Vec3 q=HAPI::Vec3(1, 0, 0)) | |
| Creates a primitive. | |
| primitive (HAPI::HAPIFloat s, HAPI::Vec3 q, primitive_t type) | |
| Creates a force primitive. | |
Public Attributes | |
| primitive_t | type |
| HAPI::Vec3 | x |
| HAPI::HAPIFloat | s |
| HAPI::Vec3 | q |
| VHTK::primitive::primitive | ( | HAPI::Vec3 | x, | |
| HAPI::HAPIFloat | s, | |||
| primitive_t | type, | |||
| HAPI::Vec3 | q = HAPI::Vec3(1,0,0) | |||
| ) | [inline] |
| VHTK::primitive::primitive | ( | HAPI::HAPIFloat | s, | |
| HAPI::Vec3 | q, | |||
| primitive_t | type | |||
| ) | [inline] |
Creates a force primitive.
1.5.6