Nuitrack  1.4.0
3D Skeleton Tracking Middleware
tdv::nuitrack::HandTrackerData Class Reference

Stores hand tracking results related to a specific point in time. More...

#include <HandTrackerData.h>

Inheritance diagram for tdv::nuitrack::HandTrackerData:
Inheritance graph

Public Member Functions

 HandTrackerData (HandTrackerDataInner *pimpl)
 
uint64_t getTimestamp () const
 Returns the data timestamp in microseconds. More...
 
int getNumUsers () const
 Returns the number of users handled by the hand tracker.
 
const std::vector< UserHandsgetUsersHands () const
 Returns information about the hands of the tracked users. More...
 

Additional Inherited Members

- Public Types inherited from tdv::nuitrack::ObjectData< HandTrackerData >
typedef std::shared_ptr< HandTrackerDataPtr
 
- Public Types inherited from tdv::nuitrack::BaseObjectData
typedef std::shared_ptr< BaseObjectDataPtr
 

Detailed Description

Stores hand tracking results related to a specific point in time.

Constructor & Destructor Documentation

tdv::nuitrack::HandTrackerData::HandTrackerData ( HandTrackerDataInner *  pimpl)
inline
Warning
For internal use only.

Member Function Documentation

uint64_t tdv::nuitrack::HandTrackerData::getTimestamp ( ) const
inlinevirtual

Returns the data timestamp in microseconds.

The timestamp characterizes the time point to which the hand tracking data corresponds.

Note
The exact meaning of this value depends on the depth provider.

Implements tdv::nuitrack::BaseObjectData.

const std::vector<UserHands> tdv::nuitrack::HandTrackerData::getUsersHands ( ) const
inline

Returns information about the hands of the tracked users.

Returns
User hand information in the form of array of the UserHands structures.