Working with Azure Kinect but without body and only single sensor per machine

This commit is contained in:
Marek Kowalski
2019-08-16 17:27:03 +01:00
parent 987aa32b70
commit f49bcaf5d9
15 changed files with 524 additions and 523 deletions
+4 -4
View File
@@ -52,7 +52,7 @@ private:
UINT m_sourceWidth;
LONG m_sourceStride;
// Direct2D
// Direct2D
ID2D1Factory* m_pD2DFactory;
ID2D1HwndRenderTarget* m_pRenderTarget;
ID2D1Bitmap* m_pBitmap;
@@ -64,12 +64,12 @@ private:
HRESULT EnsureResources();
/// <summary>
/// Dispose of Direct2d resources
/// Dispose of Direct2d resources
/// </summary>
void DiscardResources();
void DrawBody(Body &body);
void DrawBone(Body &body, JointType joint0, JointType joint1);
//void DrawBody(Body &body);
//void DrawBone(Body &body, JointType joint0, JointType joint1);
ID2D1SolidColorBrush* m_pBrushJointTracked;
ID2D1SolidColorBrush* m_pBrushJointInferred;