1 #ifndef NUITRACK_RGBFRAME_H_
2 #define NUITRACK_RGBFRAME_H_
4 #include "nuitrack/types/Color3.h"
5 #include "nuitrack/types/Frame.h"
6 #include "nuitrack/capi/ColorSensor_CAPI.h"
23 nuitrack_AddColorSensorDataRef(pimpl);
28 nuitrack_DestroyColorSensorData(_pimpl);
36 return nuitrack_GetColorFrameRows(_pimpl);
44 return nuitrack_GetColorFrameCols(_pimpl);
52 return nuitrack_GetColorFrameID(_pimpl);
60 return nuitrack_GetColorFrameData(_pimpl);
69 return nuitrack_GetColorFrameTimestamp(_pimpl);
73 ColorSensorData* _pimpl;
int getRows() const
Returns the number of rows in the RGB frame.
Definition: RGBFrame.h:34
uint64_t getTimestamp() const
Returns timestamp corresponding to the last received RGB frame in microseconds.
Definition: RGBFrame.h:67
Represents a generalized frame.
Definition: Frame.h:15
int getCols() const
Returns the number of columns in the RGB frame.
Definition: RGBFrame.h:42
Stores a frame color map.
Definition: RGBFrame.h:16
const DataType * getData() const
Returns the frame data.
Definition: RGBFrame.h:58
uint64_t getID() const
Returns the RGB frame ID.
Definition: RGBFrame.h:50
RGBFrame(ColorSensorData *pimpl)
Definition: RGBFrame.h:20