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

Stores the data of all available skeletons at a certain point in time. More...

#include <SkeletonData.h>

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

Public Member Functions

 SkeletonData (SkeletonTrackerData *pimpl)
 
int getNumSkeletons () const
 Get current number of skeletons. More...
 
const std::vector< SkeletongetSkeletons () const
 Get current user skeletons. More...
 
uint64_t getTimestamp () const
 Returns the data timestamp in microseconds. More...
 

Additional Inherited Members

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

Detailed Description

Stores the data of all available skeletons at a certain point in time.

Member Function Documentation

int tdv::nuitrack::SkeletonData::getNumSkeletons ( ) const
inline

Get current number of skeletons.

Returns
Number of skeletons.
const std::vector<Skeleton> tdv::nuitrack::SkeletonData::getSkeletons ( ) const
inline

Get current user skeletons.

Returns
Skeletons.
uint64_t tdv::nuitrack::SkeletonData::getTimestamp ( ) const
inlinevirtual

Returns the data timestamp in microseconds.

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

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

Implements tdv::nuitrack::BaseObjectData.