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

Stores a frame depth map. More...

#include <DepthFrame.h>

Inheritance diagram for tdv::nuitrack::DepthFrame:
Inheritance graph

Public Member Functions

 DepthFrame (DepthSensorData *pimpl)
 
int getRows () const
 Returns the number of rows in the depth frame.
 
int getCols () const
 Returns the number of columns in the depth frame.
 
uint64_t getID () const
 Returns the depth frame ID.
 
const DataType * getData () const
 Returns the frame data.
 
uint64_t getTimestamp () const
 Returns timestamp corresponding to the last received depth frame in microseconds. More...
 

Additional Inherited Members

- Public Types inherited from tdv::nuitrack::Frame< DepthFrame, uint16_t >
typedef uint16_t DataType
 
- Public Types inherited from tdv::nuitrack::ObjectData< DepthFrame >
typedef std::shared_ptr< DepthFramePtr
 
- Public Types inherited from tdv::nuitrack::BaseObjectData
typedef std::shared_ptr< BaseObjectDataPtr
 

Detailed Description

Stores a frame depth map.

Constructor & Destructor Documentation

tdv::nuitrack::DepthFrame::DepthFrame ( DepthSensorData *  pimpl)
inline
Warning
For internal use only.

Member Function Documentation

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

Returns timestamp corresponding to the last received depth frame in microseconds.

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

Implements tdv::nuitrack::BaseObjectData.