mirror of
https://github.com/storytold/LiveScan3D.git
synced 2026-10-09 00:09:58 +00:00
Added the option to only stream the body data (skeleton and body point cloud) instead of everything.
This commit is contained in:
@@ -43,6 +43,7 @@ public:
|
||||
int nDepthFrameHeight, nDepthFrameWidth;
|
||||
|
||||
UINT16 *pDepth;
|
||||
BYTE *pBodyIndex;
|
||||
RGB *pColorRGBX;
|
||||
std::vector<Body> vBodies;
|
||||
};
|
||||
@@ -39,4 +39,5 @@ private:
|
||||
void GetDepthFrame(IMultiSourceFrame* pMultiFrame);
|
||||
void GetColorFrame(IMultiSourceFrame* pMultiFrame);
|
||||
void GetBodyFrame(IMultiSourceFrame* pMultiFrame);
|
||||
void GetBodyIndexFrame(IMultiSourceFrame* pMultiFrame);
|
||||
};
|
||||
|
||||
@@ -40,6 +40,7 @@ private:
|
||||
|
||||
bool m_bCalibrate;
|
||||
bool m_bFilter;
|
||||
bool m_bStreamOnlyBodies;
|
||||
|
||||
ICapture *pCapture;
|
||||
|
||||
@@ -86,7 +87,7 @@ private:
|
||||
void SendFrame(vector<Point3f> vertices, vector<RGB> RGB, vector<Body> body);
|
||||
|
||||
void SocketThreadFunction();
|
||||
void StoreFrame(Point3f *vertices, Point2f *mapping, RGB *color, vector<Body> &bodies);
|
||||
void StoreFrame(Point3f *vertices, Point2f *mapping, RGB *color, vector<Body> &bodies, BYTE* bodyIndex);
|
||||
void ShowFPS();
|
||||
void ReadIPFromFile();
|
||||
void WriteIPToFile();
|
||||
|
||||
Reference in New Issue
Block a user