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

A.R.T. FINGERTRACKING hand data (6DOF + fingers). More...

#include <DTrackDataTypes.hpp>

+ Collaboration diagram for DTrackSDK_Datatypes::DTrackHand:

Classes

struct  DTrackFinger
 A.R.T. FINGERTRACKING finger data. More...
 

Public Member Functions

bool isTracked () const
 Returns if hand is currently tracked. More...
 
DTrackQuaternion getQuaternion () const
 Returns rotation of back of the hand 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 lr
 Left (0) or right (1) hand.
 
int nfinger
 Number of fingers (maximum 5)
 
double loc [3]
 Location of back of the hand (in [mm])
 
double rot [9]
 Rotation matrix of back of the hand (column-wise)
 
struct DTrackSDK_Datatypes::DTrackHand::DTrackFinger finger [DTRACKSDK_HAND_MAX_FINGER]
 Finger data (order: thumb, index finger, middle finger, ...)
 

Detailed Description

A.R.T. FINGERTRACKING hand data (6DOF + fingers).

Definition at line 253 of file DTrackDataTypes.hpp.

Member Function Documentation

◆ getQuaternion()

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

Returns rotation of back of the hand as quaternion.

Returns
Quaternion

Definition at line 275 of file DTrackDataTypes.hpp.

References rot.

◆ isTracked()

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

Returns if hand is currently tracked.

Returns
Is tracked?

Definition at line 267 of file DTrackDataTypes.hpp.

References quality.


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