10 #include "SensorBase.h"
15 #define kNumSkeletons 1
27 typedef enum {kNotTracked, kPositionOnly, kTracked} SkeletonTrackingState;
28 typedef enum {kClippedRight = 1, kClippedLeft = 2, kClippedTop = 4, kClippedBottom = 8} SkeletonQuality;
52 DISALLOW_COPY_AND_ASSIGN(
Kinect);
54 uint32_t m_recentPacketNumber;
56 int m_numberOfPlayers;
59 Point4 m_position[kNumSkeletons];
60 uint32_t m_quality[kNumSkeletons];
61 SkeletonTrackingState m_trackingState[kNumSkeletons];
66 char m_rawSkeletonExtra[42];
67 char m_rawSkeleton[242];
SkeletonTrackingState GetTrackingState(int skeletonIndex=1)
Definition: Kinect.cpp:137
Skeleton GetSkeleton(int skeletonIndex=1)
Definition: Kinect.cpp:87
Definition: SensorBase.h:20
int GetNumberOfPlayers()
Definition: Kinect.cpp:54
Point4 GetPosition(int skeletonIndex=1)
Definition: Kinect.cpp:103
static Kinect * GetInstance()
Definition: Kinect.cpp:43
uint32_t GetQuality(int skeletonIndex=1)
Definition: Kinect.cpp:120
Point4 GetGravityNormal()
Definition: Kinect.cpp:74
Point4 GetFloorClipPlane()
Definition: Kinect.cpp:64
Definition: Skeleton.h:15