-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathKinectFileDef.proto
34 lines (29 loc) · 960 Bytes
/
KinectFileDef.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
syntax = "proto2";
package kif;
message Vector {
optional float x = 1;
optional float y = 2;
optional float z = 3;
optional float w = 4;
}
message SkeletonData {
required int32 eTrackingState = 1; //if skeleton is not tracked, no field can be set
optional int32 dwTrackingID = 2;
optional int32 dwEnrollmentIndex = 3;
optional int32 dwUserIndex = 4;
optional Vector Position = 5;
repeated Vector SkeletonPositions = 6; //20 position (NUI_SKELETON_POSITION_COUNT)
repeated int32 eSkeletonPositionTrackingState = 7; // 20 tracking states
optional int32 dwQualityFlags = 8;
}
message Frame{
repeated SkeletonData skeleton_data = 1; // 6 skeletons (NUI_SKELETON_COUNT)
optional int64 liTimeStamp = 2;
optional int32 dwFrameNumber = 3;
optional int32 dwFlags = 4;
optional Vector vFloorClipPlane = 5;
optional Vector vNormalToGravity = 6;
}
message Scene{
repeated Frame frames = 1;
}