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

Stores the results of estimation of the state of gestures for every tracked user. More...

#include <GestureData.h>

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

Public Member Functions

 UserGesturesStateData (GestureRecognizerUserGesturesStateData *pimpl)
 
int getNumUsers () const
 Returns the number of tracked users.
 
uint64_t getTimestamp () const
 Returns the data timestamp in microseconds. More...
 
const std::vector
< UserGesturesState
getUserGesturesStates () const
 Returns information about the gestures of the tracked users. More...
 

Additional Inherited Members

- Public Types inherited from tdv::nuitrack::ObjectData< UserGesturesStateData >
typedef std::shared_ptr
< UserGesturesStateData
Ptr
 
- Public Types inherited from tdv::nuitrack::BaseObjectData
typedef std::shared_ptr
< BaseObjectData
Ptr
 

Detailed Description

Stores the results of estimation of the state of gestures for every tracked user.

Constructor & Destructor Documentation

tdv::nuitrack::UserGesturesStateData::UserGesturesStateData ( GestureRecognizerUserGesturesStateData *  pimpl)
inline
Warning
For internal use only.

Member Function Documentation

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

Returns the data timestamp in microseconds.

The timestamp characterizes the time point to which the gesture state data corresponds.

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

Implements tdv::nuitrack::BaseObjectData.

const std::vector<UserGesturesState> tdv::nuitrack::UserGesturesStateData::getUserGesturesStates ( ) const
inline

Returns information about the gestures of the tracked users.

Returns
User gesture information in the form of array of the UserGesturesState structures.