Nuitrack  1.11.2
3D Skeleton Tracking Middleware
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events Groups Pages
tdv::nuitrack::HandTrackerData Class Reference

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

#include <HandTrackerData.h>

Inherits tdv::nuitrack::ObjectData< HandTrackerData >.

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
< HandTrackerData
Ptr
 
- Public Types inherited from tdv::nuitrack::BaseObjectData
typedef std::shared_ptr
< BaseObjectData
Ptr
 

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.