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

Standard 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)
 
double quality
 Quality (0.0 <= qu <= 1.0, no tracking if -1.0)
 
double loc [3]
 Location (in [mm])
 
double rot [9]
 Rotation matrix (column-wise)
 
double covref [3]
 Reference point of covariance (in [mm])
 
double cov [36]
 6x6-dimensional covariance matrix for the 6d pose (with 3d location in [mm], 3d euler angles in [rad]).
 

Detailed Description

Standard body data (6DOF).

Definition at line 76 of file DTrackDataTypes.hpp.

Member Function Documentation

◆ getQuaternion()

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

Returns rotation as quaternion.

Returns
Quaternion

Definition at line 98 of file DTrackDataTypes.hpp.

References rot.

◆ isTracked()

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

Returns if body is currently tracked.

Returns
Is tracked?

Definition at line 90 of file DTrackDataTypes.hpp.

References quality.


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