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

Stores the results of gesture estimation. More...

#include <GestureData.h>

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

Public Member Functions

 GestureData (GestureRecognizerData *pimpl)
 
uint64_t getTimestamp () const
 Returns the data timestamp in microseconds. More...
 
int getNumGestures () const
 Returns the number of gestures detected.
 
const std::vector< GesturegetGestures () const
 Returns descriptions of detected gestures. More...
 

Additional Inherited Members

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

Detailed Description

Stores the results of gesture estimation.

Constructor & Destructor Documentation

tdv::nuitrack::GestureData::GestureData ( GestureRecognizerData *  pimpl)
inline
Warning
For internal use only.

Member Function Documentation

const std::vector<Gesture> tdv::nuitrack::GestureData::getGestures ( ) const
inline

Returns descriptions of detected gestures.

Returns
Gesture information in the form of array of the Gesture structures.
uint64_t tdv::nuitrack::GestureData::getTimestamp ( ) const
inlinevirtual

Returns the data timestamp in microseconds.

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

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

Implements tdv::nuitrack::BaseObjectData.