1 #ifndef NUITRACK_DEPTHFRAME_H_
2 #define NUITRACK_DEPTHFRAME_H_
4 #include "nuitrack/types/Frame.h"
5 #include "nuitrack/capi/DepthSensor_CAPI.h"
22 nuitrack_AddDepthSensorDataRef(pimpl);
27 nuitrack_DestroyDepthSensorData(_pimpl);
35 return nuitrack_GetDepthFrameRows(_pimpl);
43 return nuitrack_GetDepthFrameCols(_pimpl);
51 return nuitrack_GetDepthFrameID(_pimpl);
59 return nuitrack_GetDepthFrameData(_pimpl);
68 return nuitrack_GetDepthFrameTimestamp(_pimpl);
72 DepthSensorData* _pimpl;
int getRows() const
Returns the number of rows in the depth frame.
Definition: DepthFrame.h:33
const DataType * getData() const
Returns the frame data.
Definition: DepthFrame.h:57
Represents a generalized frame.
Definition: Frame.h:15
Stores a frame depth map.
Definition: DepthFrame.h:15
uint64_t getTimestamp() const
Returns timestamp corresponding to the last received depth frame in microseconds. ...
Definition: DepthFrame.h:66
int getCols() const
Returns the number of columns in the depth frame.
Definition: DepthFrame.h:41
DepthFrame(DepthSensorData *pimpl)
Definition: DepthFrame.h:19
uint64_t getID() const
Returns the depth frame ID.
Definition: DepthFrame.h:49