DTrackSDK
v2.9.0
|
A.R.T. Flystick data (6DOF + buttons). More...
#include <DTrackDataTypes.hpp>
Public Member Functions | |
bool | isTracked () const |
Returns if Flystick is currently tracked. More... | |
DTrackQuaternion | getQuaternion () const |
Returns rotation as quaternion. More... | |
Public Attributes | |
int | id |
ID number (starting with 0) | |
double | quality |
Quality (0.0 <= qu <= 1.0, no tracking if -1.0) | |
int | num_button |
Number of buttons. | |
int | button [DTRACKSDK_FLYSTICK_MAX_BUTTON] |
Button state (1 pressed, 0 not pressed): 0 front, 1..n-1 right to left. | |
int | num_joystick |
Number of joystick values. | |
double | joystick [DTRACKSDK_FLYSTICK_MAX_JOYSTICK] |
Joystick value (-1.0 <= joystick <= 1.0); 0 horizontal, 1 vertical. | |
double | loc [3] |
Location (in [mm]) | |
double | rot [9] |
Rotation matrix (column-wise) | |
A.R.T. Flystick data (6DOF + buttons).
Note the maximum number of buttons and joystick values.
Definition at line 146 of file DTrackDataTypes.hpp.
|
inline |
Returns rotation as quaternion.
Definition at line 170 of file DTrackDataTypes.hpp.
References rot.
|
inline |
Returns if Flystick is currently tracked.
Definition at line 162 of file DTrackDataTypes.hpp.
References quality.