DTrackSDK  v2.9.0
Public Member Functions | Public Attributes | List of all members
DTrackSDK_Datatypes::DTrackInertial Struct Reference

Hybrid (optical-inertial) body data (6DOF). More...

#include <DTrackDataTypes.hpp>

Public Member Functions

bool isTracked () const
 Returns if body is currently tracked. More...
 
DTrackQuaternion getQuaternion () const
 Returns rotation as quaternion. More...
 

Public Attributes

int id
 ID number (starting with 0)
 
int st
 State of hybrid body (0: not tracked, 1: inertial tracking, 2: optical tracking, 3: inertial and optical tracking)
 
double error
 Drift error estimate (only during inertial tracking, in [deg])
 
double loc [3]
 Location (in [mm])
 
double rot [9]
 Rotation matrix (column-wise)
 

Detailed Description

Hybrid (optical-inertial) body data (6DOF).

Definition at line 109 of file DTrackDataTypes.hpp.

Member Function Documentation

◆ getQuaternion()

DTrackQuaternion DTrackSDK_Datatypes::DTrackInertial::getQuaternion ( ) const
inline

Returns rotation as quaternion.

Returns
Quaternion

Definition at line 130 of file DTrackDataTypes.hpp.

References rot.

◆ isTracked()

bool DTrackSDK_Datatypes::DTrackInertial::isTracked ( ) const
inline

Returns if body is currently tracked.

Returns
Is tracked?

Definition at line 122 of file DTrackDataTypes.hpp.

References st.


The documentation for this struct was generated from the following file: