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

Stores a frame color map. More...

#include <RGBFrame.h>

Inherits tdv::nuitrack::Frame< RGBFrame, Color3 >.

Public Member Functions

 RGBFrame (ColorSensorData *pimpl)
 
int getRows () const
 Returns the number of rows in the RGB frame.
 
int getCols () const
 Returns the number of columns in the RGB frame.
 
uint64_t getID () const
 Returns the RGB frame ID.
 
const DataTypegetData () const
 Returns the frame data.
 
uint64_t getTimestamp () const
 Returns timestamp corresponding to the last received RGB frame in microseconds. More...
 

Additional Inherited Members

- Public Types inherited from tdv::nuitrack::Frame< RGBFrame, Color3 >
typedef Color3 DataType
 
- Public Types inherited from tdv::nuitrack::ObjectData< RGBFrame >
typedef std::shared_ptr< RGBFramePtr
 
- Public Types inherited from tdv::nuitrack::BaseObjectData
typedef std::shared_ptr
< BaseObjectData
Ptr
 

Detailed Description

Stores a frame color map.

Constructor & Destructor Documentation

tdv::nuitrack::RGBFrame::RGBFrame ( ColorSensorData *  pimpl)
inline
Warning
For internal use only.

Member Function Documentation

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

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

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

Implements tdv::nuitrack::BaseObjectData.