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

Stores a frame depth map. More...

#include <DepthFrame.h>

Inherits tdv::nuitrack::Frame< DepthFrame, uint16_t >.

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

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.