|
DTrackSDK
v2.9.0
|
Measurement Tool data (6DOF + buttons). More...
#include <DTrackDataTypes.hpp>
Public Member Functions | |
| bool | isTracked () const |
| Returns if Measurement Tool 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_MEATOOL_MAX_BUTTON] |
| Button state (1 pressed, 0 not pressed): 0 point measurement state. | |
| double | loc [3] |
| Location (in [mm]) | |
| double | rot [9] |
| Rotation matrix (column-wise) | |
| double | tipradius |
| Radius of tip (in [mm]) if applicable. | |
| double | cov [9] |
| Covariance of location (column-wise; in [mm^2]) | |
Measurement Tool data (6DOF + buttons).
Note the maximum number of buttons.
Definition at line 185 of file DTrackDataTypes.hpp.
|
inline |
Returns rotation as quaternion.
Definition at line 209 of file DTrackDataTypes.hpp.
References rot.
|
inline |
Returns if Measurement Tool is currently tracked.
Definition at line 201 of file DTrackDataTypes.hpp.
References quality.
1.8.14