Fawkes API
Fawkes Development Version
|
24 #include <interfaces/HumanSkeletonInterface.h>
26 #include <core/exceptions/software.h>
45 HumanSkeletonInterface::HumanSkeletonInterface() : Interface()
47 data_size =
sizeof(HumanSkeletonInterface_data_t);
49 data = (HumanSkeletonInterface_data_t *)
data_ptr;
52 enum_map_State[(int)STATE_INVALID] =
"STATE_INVALID";
53 enum_map_State[(int)STATE_DETECTING_POSE] =
"STATE_DETECTING_POSE";
54 enum_map_State[(int)STATE_CALIBRATING] =
"STATE_CALIBRATING";
55 enum_map_State[(int)STATE_TRACKING] =
"STATE_TRACKING";
157 unsigned char tmp_hash[] = {0x5f, 0x47, 0x2f, 0xb3, 0x8b, 0xf1, 0xe1, 0xa, 0xb9, 0x42, 0x34, 0xea, 0x83, 0x43, 0x94, 0x37};
162 HumanSkeletonInterface::~HumanSkeletonInterface()
174 case STATE_INVALID:
return "STATE_INVALID";
175 case STATE_DETECTING_POSE:
return "STATE_DETECTING_POSE";
176 case STATE_CALIBRATING:
return "STATE_CALIBRATING";
177 case STATE_TRACKING:
return "STATE_TRACKING";
178 default:
return "UNKNOWN";
209 data->state = new_state;
220 return data->user_id;
240 data->user_id = new_user_id;
257 return data->visibility_history;
283 data->visibility_history = new_visibility_history;
314 strncpy(data->pose, new_pose,
sizeof(data->pose)-1);
315 data->pose[
sizeof(data->pose)-1] = 0;
339 throw Exception(
"Index value %u out of bounds (0..2)", index);
341 return data->com[index];
361 memcpy(data->com, new_com,
sizeof(
float) * 3);
374 throw Exception(
"Index value %u out of bounds (0..2)", index);
376 data->com[index] = new_com;
386 return data->pos_head;
399 throw Exception(
"Index value %u out of bounds (0..2)", index);
401 return data->pos_head[index];
421 memcpy(data->pos_head, new_pos_head,
sizeof(
float) * 3);
434 throw Exception(
"Index value %u out of bounds (0..2)", index);
436 data->pos_head[index] = new_pos_head;
447 return data->pos_head_confidence;
468 data->pos_head_confidence = new_pos_head_confidence;
479 return data->pos_neck;
492 throw Exception(
"Index value %u out of bounds (0..2)", index);
494 return data->pos_neck[index];
514 memcpy(data->pos_neck, new_pos_neck,
sizeof(
float) * 3);
527 throw Exception(
"Index value %u out of bounds (0..2)", index);
529 data->pos_neck[index] = new_pos_neck;
540 return data->pos_neck_confidence;
561 data->pos_neck_confidence = new_pos_neck_confidence;
572 return data->pos_torso;
585 throw Exception(
"Index value %u out of bounds (0..2)", index);
587 return data->pos_torso[index];
607 memcpy(data->pos_torso, new_pos_torso,
sizeof(
float) * 3);
620 throw Exception(
"Index value %u out of bounds (0..2)", index);
622 data->pos_torso[index] = new_pos_torso;
633 return data->pos_torso_confidence;
654 data->pos_torso_confidence = new_pos_torso_confidence;
665 return data->pos_waist;
678 throw Exception(
"Index value %u out of bounds (0..2)", index);
680 return data->pos_waist[index];
700 memcpy(data->pos_waist, new_pos_waist,
sizeof(
float) * 3);
713 throw Exception(
"Index value %u out of bounds (0..2)", index);
715 data->pos_waist[index] = new_pos_waist;
726 return data->pos_waist_confidence;
747 data->pos_waist_confidence = new_pos_waist_confidence;
759 return data->pos_left_collar;
773 throw Exception(
"Index value %u out of bounds (0..2)", index);
775 return data->pos_left_collar[index];
796 memcpy(data->pos_left_collar, new_pos_left_collar,
sizeof(
float) * 3);
810 throw Exception(
"Index value %u out of bounds (0..2)", index);
812 data->pos_left_collar[index] = new_pos_left_collar;
823 return data->pos_left_collar_confidence;
844 data->pos_left_collar_confidence = new_pos_left_collar_confidence;
856 return data->pos_left_shoulder;
870 throw Exception(
"Index value %u out of bounds (0..2)", index);
872 return data->pos_left_shoulder[index];
893 memcpy(data->pos_left_shoulder, new_pos_left_shoulder,
sizeof(
float) * 3);
907 throw Exception(
"Index value %u out of bounds (0..2)", index);
909 data->pos_left_shoulder[index] = new_pos_left_shoulder;
920 return data->pos_left_shoulder_confidence;
941 data->pos_left_shoulder_confidence = new_pos_left_shoulder_confidence;
953 return data->pos_left_elbow;
967 throw Exception(
"Index value %u out of bounds (0..2)", index);
969 return data->pos_left_elbow[index];
990 memcpy(data->pos_left_elbow, new_pos_left_elbow,
sizeof(
float) * 3);
1004 throw Exception(
"Index value %u out of bounds (0..2)", index);
1006 data->pos_left_elbow[index] = new_pos_left_elbow;
1017 return data->pos_left_elbow_confidence;
1038 data->pos_left_elbow_confidence = new_pos_left_elbow_confidence;
1050 return data->pos_left_wrist;
1064 throw Exception(
"Index value %u out of bounds (0..2)", index);
1066 return data->pos_left_wrist[index];
1087 memcpy(data->pos_left_wrist, new_pos_left_wrist,
sizeof(
float) * 3);
1101 throw Exception(
"Index value %u out of bounds (0..2)", index);
1103 data->pos_left_wrist[index] = new_pos_left_wrist;
1114 return data->pos_left_wrist_confidence;
1135 data->pos_left_wrist_confidence = new_pos_left_wrist_confidence;
1147 return data->pos_left_hand;
1161 throw Exception(
"Index value %u out of bounds (0..2)", index);
1163 return data->pos_left_hand[index];
1184 memcpy(data->pos_left_hand, new_pos_left_hand,
sizeof(
float) * 3);
1198 throw Exception(
"Index value %u out of bounds (0..2)", index);
1200 data->pos_left_hand[index] = new_pos_left_hand;
1211 return data->pos_left_hand_confidence;
1232 data->pos_left_hand_confidence = new_pos_left_hand_confidence;
1244 return data->pos_left_fingertip;
1258 throw Exception(
"Index value %u out of bounds (0..2)", index);
1260 return data->pos_left_fingertip[index];
1281 memcpy(data->pos_left_fingertip, new_pos_left_fingertip,
sizeof(
float) * 3);
1295 throw Exception(
"Index value %u out of bounds (0..2)", index);
1297 data->pos_left_fingertip[index] = new_pos_left_fingertip;
1308 return data->pos_left_fingertip_confidence;
1329 data->pos_left_fingertip_confidence = new_pos_left_fingertip_confidence;
1341 return data->pos_right_collar;
1355 throw Exception(
"Index value %u out of bounds (0..2)", index);
1357 return data->pos_right_collar[index];
1378 memcpy(data->pos_right_collar, new_pos_right_collar,
sizeof(
float) * 3);
1392 throw Exception(
"Index value %u out of bounds (0..2)", index);
1394 data->pos_right_collar[index] = new_pos_right_collar;
1405 return data->pos_right_collar_confidence;
1426 data->pos_right_collar_confidence = new_pos_right_collar_confidence;
1438 return data->pos_right_shoulder;
1452 throw Exception(
"Index value %u out of bounds (0..2)", index);
1454 return data->pos_right_shoulder[index];
1475 memcpy(data->pos_right_shoulder, new_pos_right_shoulder,
sizeof(
float) * 3);
1489 throw Exception(
"Index value %u out of bounds (0..2)", index);
1491 data->pos_right_shoulder[index] = new_pos_right_shoulder;
1502 return data->pos_right_shoulder_confidence;
1523 data->pos_right_shoulder_confidence = new_pos_right_shoulder_confidence;
1535 return data->pos_right_elbow;
1549 throw Exception(
"Index value %u out of bounds (0..2)", index);
1551 return data->pos_right_elbow[index];
1572 memcpy(data->pos_right_elbow, new_pos_right_elbow,
sizeof(
float) * 3);
1586 throw Exception(
"Index value %u out of bounds (0..2)", index);
1588 data->pos_right_elbow[index] = new_pos_right_elbow;
1599 return data->pos_right_elbow_confidence;
1620 data->pos_right_elbow_confidence = new_pos_right_elbow_confidence;
1632 return data->pos_right_wrist;
1646 throw Exception(
"Index value %u out of bounds (0..2)", index);
1648 return data->pos_right_wrist[index];
1669 memcpy(data->pos_right_wrist, new_pos_right_wrist,
sizeof(
float) * 3);
1683 throw Exception(
"Index value %u out of bounds (0..2)", index);
1685 data->pos_right_wrist[index] = new_pos_right_wrist;
1696 return data->pos_right_wrist_confidence;
1717 data->pos_right_wrist_confidence = new_pos_right_wrist_confidence;
1729 return data->pos_right_hand;
1743 throw Exception(
"Index value %u out of bounds (0..2)", index);
1745 return data->pos_right_hand[index];
1766 memcpy(data->pos_right_hand, new_pos_right_hand,
sizeof(
float) * 3);
1780 throw Exception(
"Index value %u out of bounds (0..2)", index);
1782 data->pos_right_hand[index] = new_pos_right_hand;
1793 return data->pos_right_hand_confidence;
1814 data->pos_right_hand_confidence = new_pos_right_hand_confidence;
1826 return data->pos_right_fingertip;
1840 throw Exception(
"Index value %u out of bounds (0..2)", index);
1842 return data->pos_right_fingertip[index];
1863 memcpy(data->pos_right_fingertip, new_pos_right_fingertip,
sizeof(
float) * 3);
1877 throw Exception(
"Index value %u out of bounds (0..2)", index);
1879 data->pos_right_fingertip[index] = new_pos_right_fingertip;
1890 return data->pos_right_fingertip_confidence;
1911 data->pos_right_fingertip_confidence = new_pos_right_fingertip_confidence;
1923 return data->pos_left_hip;
1937 throw Exception(
"Index value %u out of bounds (0..2)", index);
1939 return data->pos_left_hip[index];
1960 memcpy(data->pos_left_hip, new_pos_left_hip,
sizeof(
float) * 3);
1974 throw Exception(
"Index value %u out of bounds (0..2)", index);
1976 data->pos_left_hip[index] = new_pos_left_hip;
1987 return data->pos_left_hip_confidence;
2008 data->pos_left_hip_confidence = new_pos_left_hip_confidence;
2020 return data->pos_left_knee;
2034 throw Exception(
"Index value %u out of bounds (0..2)", index);
2036 return data->pos_left_knee[index];
2057 memcpy(data->pos_left_knee, new_pos_left_knee,
sizeof(
float) * 3);
2071 throw Exception(
"Index value %u out of bounds (0..2)", index);
2073 data->pos_left_knee[index] = new_pos_left_knee;
2084 return data->pos_left_knee_confidence;
2105 data->pos_left_knee_confidence = new_pos_left_knee_confidence;
2117 return data->pos_left_ankle;
2131 throw Exception(
"Index value %u out of bounds (0..2)", index);
2133 return data->pos_left_ankle[index];
2154 memcpy(data->pos_left_ankle, new_pos_left_ankle,
sizeof(
float) * 3);
2168 throw Exception(
"Index value %u out of bounds (0..2)", index);
2170 data->pos_left_ankle[index] = new_pos_left_ankle;
2181 return data->pos_left_ankle_confidence;
2202 data->pos_left_ankle_confidence = new_pos_left_ankle_confidence;
2214 return data->pos_left_foot;
2228 throw Exception(
"Index value %u out of bounds (0..2)", index);
2230 return data->pos_left_foot[index];
2251 memcpy(data->pos_left_foot, new_pos_left_foot,
sizeof(
float) * 3);
2265 throw Exception(
"Index value %u out of bounds (0..2)", index);
2267 data->pos_left_foot[index] = new_pos_left_foot;
2278 return data->pos_left_foot_confidence;
2299 data->pos_left_foot_confidence = new_pos_left_foot_confidence;
2311 return data->pos_right_hip;
2325 throw Exception(
"Index value %u out of bounds (0..2)", index);
2327 return data->pos_right_hip[index];
2348 memcpy(data->pos_right_hip, new_pos_right_hip,
sizeof(
float) * 3);
2362 throw Exception(
"Index value %u out of bounds (0..2)", index);
2364 data->pos_right_hip[index] = new_pos_right_hip;
2375 return data->pos_right_hip_confidence;
2396 data->pos_right_hip_confidence = new_pos_right_hip_confidence;
2408 return data->pos_right_knee;
2422 throw Exception(
"Index value %u out of bounds (0..2)", index);
2424 return data->pos_right_knee[index];
2445 memcpy(data->pos_right_knee, new_pos_right_knee,
sizeof(
float) * 3);
2459 throw Exception(
"Index value %u out of bounds (0..2)", index);
2461 data->pos_right_knee[index] = new_pos_right_knee;
2472 return data->pos_right_knee_confidence;
2493 data->pos_right_knee_confidence = new_pos_right_knee_confidence;
2505 return data->pos_right_ankle;
2519 throw Exception(
"Index value %u out of bounds (0..2)", index);
2521 return data->pos_right_ankle[index];
2542 memcpy(data->pos_right_ankle, new_pos_right_ankle,
sizeof(
float) * 3);
2556 throw Exception(
"Index value %u out of bounds (0..2)", index);
2558 data->pos_right_ankle[index] = new_pos_right_ankle;
2569 return data->pos_right_ankle_confidence;
2590 data->pos_right_ankle_confidence = new_pos_right_ankle_confidence;
2602 return data->pos_right_foot;
2616 throw Exception(
"Index value %u out of bounds (0..2)", index);
2618 return data->pos_right_foot[index];
2639 memcpy(data->pos_right_foot, new_pos_right_foot,
sizeof(
float) * 3);
2653 throw Exception(
"Index value %u out of bounds (0..2)", index);
2655 data->pos_right_foot[index] = new_pos_right_foot;
2666 return data->pos_right_foot_confidence;
2687 data->pos_right_foot_confidence = new_pos_right_foot_confidence;
2698 return data->ori_head;
2711 throw Exception(
"Index value %u out of bounds (0..8)", index);
2713 return data->ori_head[index];
2733 memcpy(data->ori_head, new_ori_head,
sizeof(
float) * 9);
2746 throw Exception(
"Index value %u out of bounds (0..8)", index);
2748 data->ori_head[index] = new_ori_head;
2759 return data->ori_head_confidence;
2780 data->ori_head_confidence = new_ori_head_confidence;
2791 return data->ori_neck;
2804 throw Exception(
"Index value %u out of bounds (0..8)", index);
2806 return data->ori_neck[index];
2826 memcpy(data->ori_neck, new_ori_neck,
sizeof(
float) * 9);
2839 throw Exception(
"Index value %u out of bounds (0..8)", index);
2841 data->ori_neck[index] = new_ori_neck;
2852 return data->ori_neck_confidence;
2873 data->ori_neck_confidence = new_ori_neck_confidence;
2884 return data->ori_torso;
2897 throw Exception(
"Index value %u out of bounds (0..8)", index);
2899 return data->ori_torso[index];
2919 memcpy(data->ori_torso, new_ori_torso,
sizeof(
float) * 9);
2932 throw Exception(
"Index value %u out of bounds (0..8)", index);
2934 data->ori_torso[index] = new_ori_torso;
2945 return data->ori_torso_confidence;
2966 data->ori_torso_confidence = new_ori_torso_confidence;
2977 return data->ori_waist;
2990 throw Exception(
"Index value %u out of bounds (0..8)", index);
2992 return data->ori_waist[index];
3012 memcpy(data->ori_waist, new_ori_waist,
sizeof(
float) * 9);
3025 throw Exception(
"Index value %u out of bounds (0..8)", index);
3027 data->ori_waist[index] = new_ori_waist;
3038 return data->ori_waist_confidence;
3059 data->ori_waist_confidence = new_ori_waist_confidence;
3071 return data->ori_left_collar;
3085 throw Exception(
"Index value %u out of bounds (0..8)", index);
3087 return data->ori_left_collar[index];
3108 memcpy(data->ori_left_collar, new_ori_left_collar,
sizeof(
float) * 9);
3122 throw Exception(
"Index value %u out of bounds (0..8)", index);
3124 data->ori_left_collar[index] = new_ori_left_collar;
3135 return data->ori_left_collar_confidence;
3156 data->ori_left_collar_confidence = new_ori_left_collar_confidence;
3168 return data->ori_left_shoulder;
3182 throw Exception(
"Index value %u out of bounds (0..8)", index);
3184 return data->ori_left_shoulder[index];
3205 memcpy(data->ori_left_shoulder, new_ori_left_shoulder,
sizeof(
float) * 9);
3219 throw Exception(
"Index value %u out of bounds (0..8)", index);
3221 data->ori_left_shoulder[index] = new_ori_left_shoulder;
3232 return data->ori_left_shoulder_confidence;
3253 data->ori_left_shoulder_confidence = new_ori_left_shoulder_confidence;
3265 return data->ori_left_elbow;
3279 throw Exception(
"Index value %u out of bounds (0..8)", index);
3281 return data->ori_left_elbow[index];
3302 memcpy(data->ori_left_elbow, new_ori_left_elbow,
sizeof(
float) * 9);
3316 throw Exception(
"Index value %u out of bounds (0..8)", index);
3318 data->ori_left_elbow[index] = new_ori_left_elbow;
3329 return data->ori_left_elbow_confidence;
3350 data->ori_left_elbow_confidence = new_ori_left_elbow_confidence;
3362 return data->ori_left_wrist;
3376 throw Exception(
"Index value %u out of bounds (0..8)", index);
3378 return data->ori_left_wrist[index];
3399 memcpy(data->ori_left_wrist, new_ori_left_wrist,
sizeof(
float) * 9);
3413 throw Exception(
"Index value %u out of bounds (0..8)", index);
3415 data->ori_left_wrist[index] = new_ori_left_wrist;
3426 return data->ori_left_wrist_confidence;
3447 data->ori_left_wrist_confidence = new_ori_left_wrist_confidence;
3459 return data->ori_left_hand;
3473 throw Exception(
"Index value %u out of bounds (0..8)", index);
3475 return data->ori_left_hand[index];
3496 memcpy(data->ori_left_hand, new_ori_left_hand,
sizeof(
float) * 9);
3510 throw Exception(
"Index value %u out of bounds (0..8)", index);
3512 data->ori_left_hand[index] = new_ori_left_hand;
3523 return data->ori_left_hand_confidence;
3544 data->ori_left_hand_confidence = new_ori_left_hand_confidence;
3556 return data->ori_left_fingertip;
3570 throw Exception(
"Index value %u out of bounds (0..8)", index);
3572 return data->ori_left_fingertip[index];
3593 memcpy(data->ori_left_fingertip, new_ori_left_fingertip,
sizeof(
float) * 9);
3607 throw Exception(
"Index value %u out of bounds (0..8)", index);
3609 data->ori_left_fingertip[index] = new_ori_left_fingertip;
3620 return data->ori_left_fingertip_confidence;
3641 data->ori_left_fingertip_confidence = new_ori_left_fingertip_confidence;
3653 return data->ori_right_collar;
3667 throw Exception(
"Index value %u out of bounds (0..8)", index);
3669 return data->ori_right_collar[index];
3690 memcpy(data->ori_right_collar, new_ori_right_collar,
sizeof(
float) * 9);
3704 throw Exception(
"Index value %u out of bounds (0..8)", index);
3706 data->ori_right_collar[index] = new_ori_right_collar;
3717 return data->ori_right_collar_confidence;
3738 data->ori_right_collar_confidence = new_ori_right_collar_confidence;
3750 return data->ori_right_shoulder;
3764 throw Exception(
"Index value %u out of bounds (0..8)", index);
3766 return data->ori_right_shoulder[index];
3787 memcpy(data->ori_right_shoulder, new_ori_right_shoulder,
sizeof(
float) * 9);
3801 throw Exception(
"Index value %u out of bounds (0..8)", index);
3803 data->ori_right_shoulder[index] = new_ori_right_shoulder;
3814 return data->ori_right_shoulder_confidence;
3835 data->ori_right_shoulder_confidence = new_ori_right_shoulder_confidence;
3847 return data->ori_right_elbow;
3861 throw Exception(
"Index value %u out of bounds (0..8)", index);
3863 return data->ori_right_elbow[index];
3884 memcpy(data->ori_right_elbow, new_ori_right_elbow,
sizeof(
float) * 9);
3898 throw Exception(
"Index value %u out of bounds (0..8)", index);
3900 data->ori_right_elbow[index] = new_ori_right_elbow;
3911 return data->ori_right_elbow_confidence;
3932 data->ori_right_elbow_confidence = new_ori_right_elbow_confidence;
3944 return data->ori_right_wrist;
3958 throw Exception(
"Index value %u out of bounds (0..8)", index);
3960 return data->ori_right_wrist[index];
3981 memcpy(data->ori_right_wrist, new_ori_right_wrist,
sizeof(
float) * 9);
3995 throw Exception(
"Index value %u out of bounds (0..8)", index);
3997 data->ori_right_wrist[index] = new_ori_right_wrist;
4008 return data->ori_right_wrist_confidence;
4029 data->ori_right_wrist_confidence = new_ori_right_wrist_confidence;
4041 return data->ori_right_hand;
4055 throw Exception(
"Index value %u out of bounds (0..8)", index);
4057 return data->ori_right_hand[index];
4078 memcpy(data->ori_right_hand, new_ori_right_hand,
sizeof(
float) * 9);
4092 throw Exception(
"Index value %u out of bounds (0..8)", index);
4094 data->ori_right_hand[index] = new_ori_right_hand;
4105 return data->ori_right_hand_confidence;
4126 data->ori_right_hand_confidence = new_ori_right_hand_confidence;
4138 return data->ori_right_fingertip;
4152 throw Exception(
"Index value %u out of bounds (0..8)", index);
4154 return data->ori_right_fingertip[index];
4175 memcpy(data->ori_right_fingertip, new_ori_right_fingertip,
sizeof(
float) * 9);
4189 throw Exception(
"Index value %u out of bounds (0..8)", index);
4191 data->ori_right_fingertip[index] = new_ori_right_fingertip;
4202 return data->ori_right_fingertip_confidence;
4223 data->ori_right_fingertip_confidence = new_ori_right_fingertip_confidence;
4235 return data->ori_left_hip;
4249 throw Exception(
"Index value %u out of bounds (0..8)", index);
4251 return data->ori_left_hip[index];
4272 memcpy(data->ori_left_hip, new_ori_left_hip,
sizeof(
float) * 9);
4286 throw Exception(
"Index value %u out of bounds (0..8)", index);
4288 data->ori_left_hip[index] = new_ori_left_hip;
4299 return data->ori_left_hip_confidence;
4320 data->ori_left_hip_confidence = new_ori_left_hip_confidence;
4332 return data->ori_left_knee;
4346 throw Exception(
"Index value %u out of bounds (0..8)", index);
4348 return data->ori_left_knee[index];
4369 memcpy(data->ori_left_knee, new_ori_left_knee,
sizeof(
float) * 9);
4383 throw Exception(
"Index value %u out of bounds (0..8)", index);
4385 data->ori_left_knee[index] = new_ori_left_knee;
4396 return data->ori_left_knee_confidence;
4417 data->ori_left_knee_confidence = new_ori_left_knee_confidence;
4429 return data->ori_left_ankle;
4443 throw Exception(
"Index value %u out of bounds (0..8)", index);
4445 return data->ori_left_ankle[index];
4466 memcpy(data->ori_left_ankle, new_ori_left_ankle,
sizeof(
float) * 9);
4480 throw Exception(
"Index value %u out of bounds (0..8)", index);
4482 data->ori_left_ankle[index] = new_ori_left_ankle;
4493 return data->ori_left_ankle_confidence;
4514 data->ori_left_ankle_confidence = new_ori_left_ankle_confidence;
4526 return data->ori_left_foot;
4540 throw Exception(
"Index value %u out of bounds (0..8)", index);
4542 return data->ori_left_foot[index];
4563 memcpy(data->ori_left_foot, new_ori_left_foot,
sizeof(
float) * 9);
4577 throw Exception(
"Index value %u out of bounds (0..8)", index);
4579 data->ori_left_foot[index] = new_ori_left_foot;
4590 return data->ori_left_foot_confidence;
4611 data->ori_left_foot_confidence = new_ori_left_foot_confidence;
4623 return data->ori_right_hip;
4637 throw Exception(
"Index value %u out of bounds (0..8)", index);
4639 return data->ori_right_hip[index];
4660 memcpy(data->ori_right_hip, new_ori_right_hip,
sizeof(
float) * 9);
4674 throw Exception(
"Index value %u out of bounds (0..8)", index);
4676 data->ori_right_hip[index] = new_ori_right_hip;
4687 return data->ori_right_hip_confidence;
4708 data->ori_right_hip_confidence = new_ori_right_hip_confidence;
4720 return data->ori_right_knee;
4734 throw Exception(
"Index value %u out of bounds (0..8)", index);
4736 return data->ori_right_knee[index];
4757 memcpy(data->ori_right_knee, new_ori_right_knee,
sizeof(
float) * 9);
4771 throw Exception(
"Index value %u out of bounds (0..8)", index);
4773 data->ori_right_knee[index] = new_ori_right_knee;
4784 return data->ori_right_knee_confidence;
4805 data->ori_right_knee_confidence = new_ori_right_knee_confidence;
4817 return data->ori_right_ankle;
4831 throw Exception(
"Index value %u out of bounds (0..8)", index);
4833 return data->ori_right_ankle[index];
4854 memcpy(data->ori_right_ankle, new_ori_right_ankle,
sizeof(
float) * 9);
4868 throw Exception(
"Index value %u out of bounds (0..8)", index);
4870 data->ori_right_ankle[index] = new_ori_right_ankle;
4881 return data->ori_right_ankle_confidence;
4902 data->ori_right_ankle_confidence = new_ori_right_ankle_confidence;
4914 return data->ori_right_foot;
4928 throw Exception(
"Index value %u out of bounds (0..8)", index);
4930 return data->ori_right_foot[index];
4951 memcpy(data->ori_right_foot, new_ori_right_foot,
sizeof(
float) * 9);
4965 throw Exception(
"Index value %u out of bounds (0..8)", index);
4967 data->ori_right_foot[index] = new_ori_right_foot;
4978 return data->ori_right_foot_confidence;
4999 data->ori_right_foot_confidence = new_ori_right_foot_confidence;
5008 "message type for this interface type.",
type);
5023 memcpy(data, oi->data,
sizeof(HumanSkeletonInterface_data_t));
5029 if (strcmp(enumtype,
"State") == 0) {
5030 return tostring_State((State)val);
5032 throw UnknownTypeException(
"Unknown enum type %s", enumtype);
size_t maxlenof_pos_right_ankle_confidence() const
Get maximum length of pos_right_ankle_confidence value.
void set_ori_right_shoulder(unsigned int index, const float new_ori_right_shoulder)
Set ori_right_shoulder value at given index.
void set_pos_left_elbow_confidence(const float new_pos_left_elbow_confidence)
Set pos_left_elbow_confidence value.
float * ori_right_foot() const
Get ori_right_foot value.
float * pos_right_foot() const
Get pos_right_foot value.
size_t maxlenof_pos_right_hip_confidence() const
Get maximum length of pos_right_hip_confidence value.
size_t maxlenof_ori_right_hand() const
Get maximum length of ori_right_hand value.
void set_ori_right_knee_confidence(const float new_ori_right_knee_confidence)
Set ori_right_knee_confidence value.
virtual void copy_values(const Interface *other)
Copy values from other interface.
size_t maxlenof_pos_left_shoulder() const
Get maximum length of pos_left_shoulder value.
float pos_right_hip_confidence() const
Get pos_right_hip_confidence value.
size_t maxlenof_pos_right_shoulder_confidence() const
Get maximum length of pos_right_shoulder_confidence value.
void set_ori_right_foot(unsigned int index, const float new_ori_right_foot)
Set ori_right_foot value at given index.
void set_pos_right_wrist_confidence(const float new_pos_right_wrist_confidence)
Set pos_right_wrist_confidence value.
float pos_left_ankle_confidence() const
Get pos_left_ankle_confidence value.
void set_ori_left_ankle(unsigned int index, const float new_ori_left_ankle)
Set ori_left_ankle value at given index.
size_t maxlenof_pos_left_wrist() const
Get maximum length of pos_left_wrist value.
void set_ori_left_hand(unsigned int index, const float new_ori_left_hand)
Set ori_left_hand value at given index.
void set_pos_left_foot_confidence(const float new_pos_left_foot_confidence)
Set pos_left_foot_confidence value.
float * ori_right_ankle() const
Get ori_right_ankle value.
float pos_left_elbow_confidence() const
Get pos_left_elbow_confidence value.
void set_pos_left_elbow(unsigned int index, const float new_pos_left_elbow)
Set pos_left_elbow value at given index.
void set_pos_neck(unsigned int index, const float new_pos_neck)
Set pos_neck value at given index.
void set_pos_left_hand_confidence(const float new_pos_left_hand_confidence)
Set pos_left_hand_confidence value.
float * pos_left_wrist() const
Get pos_left_wrist value.
void set_ori_right_collar(unsigned int index, const float new_ori_right_collar)
Set ori_right_collar value at given index.
size_t maxlenof_pos_head_confidence() const
Get maximum length of pos_head_confidence value.
float * pos_head() const
Get pos_head value.
size_t maxlenof_pos_right_hip() const
Get maximum length of pos_right_hip value.
float ori_right_foot_confidence() const
Get ori_right_foot_confidence value.
void set_pos_left_ankle(unsigned int index, const float new_pos_left_ankle)
Set pos_left_ankle value at given index.
float ori_left_hand_confidence() const
Get ori_left_hand_confidence value.
float pos_right_shoulder_confidence() const
Get pos_right_shoulder_confidence value.
size_t maxlenof_ori_right_foot_confidence() const
Get maximum length of ori_right_foot_confidence value.
size_t maxlenof_ori_right_shoulder() const
Get maximum length of ori_right_shoulder value.
size_t maxlenof_ori_right_elbow_confidence() const
Get maximum length of ori_right_elbow_confidence value.
size_t maxlenof_pos_neck() const
Get maximum length of pos_neck value.
void set_pose(const char *new_pose)
Set pose value.
void set_pos_right_hand_confidence(const float new_pos_right_hand_confidence)
Set pos_right_hand_confidence value.
size_t maxlenof_pos_left_shoulder_confidence() const
Get maximum length of pos_left_shoulder_confidence value.
void set_pos_right_hand(unsigned int index, const float new_pos_right_hand)
Set pos_right_hand value at given index.
void set_pos_right_elbow_confidence(const float new_pos_right_elbow_confidence)
Set pos_right_elbow_confidence value.
float * ori_left_hand() const
Get ori_left_hand value.
size_t maxlenof_pos_right_fingertip() const
Get maximum length of pos_right_fingertip value.
float pos_right_fingertip_confidence() const
Get pos_right_fingertip_confidence value.
float * pos_left_collar() const
Get pos_left_collar value.
void set_pos_right_ankle_confidence(const float new_pos_right_ankle_confidence)
Set pos_right_ankle_confidence value.
size_t maxlenof_pos_right_elbow() const
Get maximum length of pos_right_elbow value.
float pos_left_wrist_confidence() const
Get pos_left_wrist_confidence value.
size_t maxlenof_ori_head_confidence() const
Get maximum length of ori_head_confidence value.
size_t maxlenof_pos_right_elbow_confidence() const
Get maximum length of pos_right_elbow_confidence value.
void set_pos_torso_confidence(const float new_pos_torso_confidence)
Set pos_torso_confidence value.
size_t maxlenof_pos_left_collar_confidence() const
Get maximum length of pos_left_collar_confidence value.
float pos_right_foot_confidence() const
Get pos_right_foot_confidence value.
size_t maxlenof_pos_left_fingertip_confidence() const
Get maximum length of pos_left_fingertip_confidence value.
size_t maxlenof_pos_left_elbow() const
Get maximum length of pos_left_elbow value.
void set_ori_right_wrist_confidence(const float new_ori_right_wrist_confidence)
Set ori_right_wrist_confidence value.
float ori_left_shoulder_confidence() const
Get ori_left_shoulder_confidence value.
size_t maxlenof_state() const
Get maximum length of state value.
float ori_right_ankle_confidence() const
Get ori_right_ankle_confidence value.
float pos_left_collar_confidence() const
Get pos_left_collar_confidence value.
float pos_left_knee_confidence() const
Get pos_left_knee_confidence value.
float ori_right_hip_confidence() const
Get ori_right_hip_confidence value.
void set_ori_torso(unsigned int index, const float new_ori_torso)
Set ori_torso value at given index.
void set_ori_left_elbow(unsigned int index, const float new_ori_left_elbow)
Set ori_left_elbow value at given index.
size_t maxlenof_pos_neck_confidence() const
Get maximum length of pos_neck_confidence value.
size_t maxlenof_pos_left_hand() const
Get maximum length of pos_left_hand value.
size_t maxlenof_ori_left_foot_confidence() const
Get maximum length of ori_left_foot_confidence value.
virtual bool message_valid(const Message *message) const
Check if message is valid and can be enqueued.
void set_ori_left_foot_confidence(const float new_ori_left_foot_confidence)
Set ori_left_foot_confidence value.
float ori_right_collar_confidence() const
Get ori_right_collar_confidence value.
size_t maxlenof_pos_left_collar() const
Get maximum length of pos_left_collar value.
size_t maxlenof_ori_right_hip_confidence() const
Get maximum length of ori_right_hip_confidence value.
void set_pos_right_knee_confidence(const float new_pos_right_knee_confidence)
Set pos_right_knee_confidence value.
float * pos_right_knee() const
Get pos_right_knee value.
size_t maxlenof_ori_right_hip() const
Get maximum length of ori_right_hip value.
void set_pos_right_foot_confidence(const float new_pos_right_foot_confidence)
Set pos_right_foot_confidence value.
size_t maxlenof_pos_left_foot_confidence() const
Get maximum length of pos_left_foot_confidence value.
@ IFT_ENUM
field with interface specific enum type
message_data_ts_t * data_ts
data timestamp aliasing pointer
void set_ori_left_wrist_confidence(const float new_ori_left_wrist_confidence)
Set ori_left_wrist_confidence value.
float pos_right_wrist_confidence() const
Get pos_right_wrist_confidence value.
size_t maxlenof_pos_left_hip() const
Get maximum length of pos_left_hip value.
float ori_right_wrist_confidence() const
Get ori_right_wrist_confidence value.
float ori_right_shoulder_confidence() const
Get ori_right_shoulder_confidence value.
size_t maxlenof_pos_left_ankle_confidence() const
Get maximum length of pos_left_ankle_confidence value.
size_t maxlenof_pos_right_wrist() const
Get maximum length of pos_right_wrist value.
@ IFT_UINT32
32 bit unsigned integer field
void set_ori_right_hip(unsigned int index, const float new_ori_right_hip)
Set ori_right_hip value at given index.
size_t maxlenof_ori_left_ankle() const
Get maximum length of ori_left_ankle value.
size_t maxlenof_pos_right_shoulder() const
Get maximum length of pos_right_shoulder value.
size_t maxlenof_ori_right_elbow() const
Get maximum length of ori_right_elbow value.
float * pos_left_ankle() const
Get pos_left_ankle value.
size_t maxlenof_ori_waist() const
Get maximum length of ori_waist value.
void set_pos_head(unsigned int index, const float new_pos_head)
Set pos_head value at given index.
void set_pos_head_confidence(const float new_pos_head_confidence)
Set pos_head_confidence value.
size_t maxlenof_pos_right_collar_confidence() const
Get maximum length of pos_right_collar_confidence value.
void set_user_id(const uint32_t new_user_id)
Set user_id value.
void set_pos_left_ankle_confidence(const float new_pos_left_ankle_confidence)
Set pos_left_ankle_confidence value.
float pos_head_confidence() const
Get pos_head_confidence value.
float pos_torso_confidence() const
Get pos_torso_confidence value.
void set_pos_left_fingertip(unsigned int index, const float new_pos_left_fingertip)
Set pos_left_fingertip value at given index.
float * com() const
Get com value.
float * ori_neck() const
Get ori_neck value.
const char * type() const
Get type of interface.
float ori_right_knee_confidence() const
Get ori_right_knee_confidence value.
void set_pos_left_hand(unsigned int index, const float new_pos_left_hand)
Set pos_left_hand value at given index.
void set_ori_left_wrist(unsigned int index, const float new_ori_left_wrist)
Set ori_left_wrist value at given index.
float ori_torso_confidence() const
Get ori_torso_confidence value.
size_t maxlenof_ori_left_shoulder_confidence() const
Get maximum length of ori_left_shoulder_confidence value.
size_t maxlenof_ori_left_fingertip_confidence() const
Get maximum length of ori_left_fingertip_confidence value.
void set_ori_left_knee_confidence(const float new_ori_left_knee_confidence)
Set ori_left_knee_confidence value.
void set_pos_left_collar(unsigned int index, const float new_pos_left_collar)
Set pos_left_collar value at given index.
size_t maxlenof_pos_left_knee_confidence() const
Get maximum length of pos_left_knee_confidence value.
void set_ori_left_shoulder_confidence(const float new_ori_left_shoulder_confidence)
Set ori_left_shoulder_confidence value.
float * ori_right_hand() const
Get ori_right_hand value.
void set_pos_waist(unsigned int index, const float new_pos_waist)
Set pos_waist value at given index.
size_t maxlenof_ori_left_elbow() const
Get maximum length of ori_left_elbow value.
size_t maxlenof_ori_waist_confidence() const
Get maximum length of ori_waist_confidence value.
float * ori_right_fingertip() const
Get ori_right_fingertip value.
void set_state(const State new_state)
Set state value.
size_t maxlenof_ori_torso() const
Get maximum length of ori_torso value.
float * ori_left_hip() const
Get ori_left_hip value.
size_t maxlenof_ori_right_hand_confidence() const
Get maximum length of ori_right_hand_confidence value.
void set_ori_right_collar_confidence(const float new_ori_right_collar_confidence)
Set ori_right_collar_confidence value.
float ori_left_collar_confidence() const
Get ori_left_collar_confidence value.
void set_ori_right_hand(unsigned int index, const float new_ori_right_hand)
Set ori_right_hand value at given index.
const char * tostring_State(State value) const
Convert State constant to string.
size_t maxlenof_ori_left_elbow_confidence() const
Get maximum length of ori_left_elbow_confidence value.
size_t maxlenof_pos_left_fingertip() const
Get maximum length of pos_left_fingertip value.
float * ori_left_knee() const
Get ori_left_knee value.
float ori_left_knee_confidence() const
Get ori_left_knee_confidence value.
void set_pos_right_hip_confidence(const float new_pos_right_hip_confidence)
Set pos_right_hip_confidence value.
float * ori_left_elbow() const
Get ori_left_elbow value.
void set_pos_left_foot(unsigned int index, const float new_pos_left_foot)
Set pos_left_foot value at given index.
virtual Message * create_message(const char *type) const
void set_pos_left_wrist(unsigned int index, const float new_pos_left_wrist)
Set pos_left_wrist value at given index.
void set_pos_right_foot(unsigned int index, const float new_pos_right_foot)
Set pos_right_foot value at given index.
void set_pos_right_shoulder(unsigned int index, const float new_pos_right_shoulder)
Set pos_right_shoulder value at given index.
float * pos_left_fingertip() const
Get pos_left_fingertip value.
void set_ori_waist_confidence(const float new_ori_waist_confidence)
Set ori_waist_confidence value.
size_t maxlenof_ori_left_wrist_confidence() const
Get maximum length of ori_left_wrist_confidence value.
size_t maxlenof_ori_left_hand_confidence() const
Get maximum length of ori_left_hand_confidence value.
size_t maxlenof_pos_left_elbow_confidence() const
Get maximum length of pos_left_elbow_confidence value.
float ori_right_hand_confidence() const
Get ori_right_hand_confidence value.
size_t maxlenof_pos_right_knee() const
Get maximum length of pos_right_knee value.
size_t maxlenof_pose() const
Get maximum length of pose value.
void set_ori_right_ankle(unsigned int index, const float new_ori_right_ankle)
Set ori_right_ankle value at given index.
void set_visibility_history(const int32_t new_visibility_history)
Set visibility_history value.
void set_pos_left_shoulder_confidence(const float new_pos_left_shoulder_confidence)
Set pos_left_shoulder_confidence value.
float pos_left_hand_confidence() const
Get pos_left_hand_confidence value.
float pos_right_elbow_confidence() const
Get pos_right_elbow_confidence value.
float * pos_left_hand() const
Get pos_left_hand value.
float * pos_right_elbow() const
Get pos_right_elbow value.
@ IFT_INT32
32 bit integer field
void set_com(unsigned int index, const float new_com)
Set com value at given index.
int32_t visibility_history() const
Get visibility_history value.
float * pos_torso() const
Get pos_torso value.
void set_ori_right_hip_confidence(const float new_ori_right_hip_confidence)
Set ori_right_hip_confidence value.
State state() const
Get state value.
void set_ori_right_wrist(unsigned int index, const float new_ori_right_wrist)
Set ori_right_wrist value at given index.
void set_ori_right_ankle_confidence(const float new_ori_right_ankle_confidence)
Set ori_right_ankle_confidence value.
void set_ori_left_fingertip(unsigned int index, const float new_ori_left_fingertip)
Set ori_left_fingertip value at given index.
void set_ori_left_collar(unsigned int index, const float new_ori_left_collar)
Set ori_left_collar value at given index.
float * ori_right_wrist() const
Get ori_right_wrist value.
float ori_left_hip_confidence() const
Get ori_left_hip_confidence value.
void set_ori_right_shoulder_confidence(const float new_ori_right_shoulder_confidence)
Set ori_right_shoulder_confidence value.
size_t maxlenof_pos_right_wrist_confidence() const
Get maximum length of pos_right_wrist_confidence value.
void set_pos_neck_confidence(const float new_pos_neck_confidence)
Set pos_neck_confidence value.
float ori_right_elbow_confidence() const
Get ori_right_elbow_confidence value.
float pos_right_ankle_confidence() const
Get pos_right_ankle_confidence value.
void set_ori_left_fingertip_confidence(const float new_ori_left_fingertip_confidence)
Set ori_left_fingertip_confidence value.
void set_pos_left_hip_confidence(const float new_pos_left_hip_confidence)
Set pos_left_hip_confidence value.
void set_hash(unsigned char *ihash)
Set hash.
float ori_left_wrist_confidence() const
Get ori_left_wrist_confidence value.
size_t maxlenof_pos_left_hip_confidence() const
Get maximum length of pos_left_hip_confidence value.
float * ori_right_hip() const
Get ori_right_hip value.
void set_ori_right_knee(unsigned int index, const float new_ori_right_knee)
Set ori_right_knee value at given index.
float * ori_right_knee() const
Get ori_right_knee value.
size_t maxlenof_pos_right_ankle() const
Get maximum length of pos_right_ankle value.
size_t maxlenof_pos_waist() const
Get maximum length of pos_waist value.
size_t maxlenof_pos_right_foot_confidence() const
Get maximum length of pos_right_foot_confidence value.
void set_ori_left_hip_confidence(const float new_ori_left_hip_confidence)
Set ori_left_hip_confidence value.
size_t maxlenof_pos_right_knee_confidence() const
Get maximum length of pos_right_knee_confidence value.
void set_pos_right_collar(unsigned int index, const float new_pos_right_collar)
Set pos_right_collar value at given index.
float * pos_left_hip() const
Get pos_left_hip value.
void set_ori_head(unsigned int index, const float new_ori_head)
Set ori_head value at given index.
void set_ori_left_ankle_confidence(const float new_ori_left_ankle_confidence)
Set ori_left_ankle_confidence value.
float * ori_left_fingertip() const
Get ori_left_fingertip value.
size_t maxlenof_pos_torso() const
Get maximum length of pos_torso value.
void set_pos_right_knee(unsigned int index, const float new_pos_right_knee)
Set pos_right_knee value at given index.
void set_pos_left_fingertip_confidence(const float new_pos_left_fingertip_confidence)
Set pos_left_fingertip_confidence value.
void set_pos_left_hip(unsigned int index, const float new_pos_left_hip)
Set pos_left_hip value at given index.
float pos_waist_confidence() const
Get pos_waist_confidence value.
size_t maxlenof_ori_left_ankle_confidence() const
Get maximum length of ori_left_ankle_confidence value.
float * ori_left_wrist() const
Get ori_left_wrist value.
size_t maxlenof_pos_right_fingertip_confidence() const
Get maximum length of pos_right_fingertip_confidence value.
float * pos_left_knee() const
Get pos_left_knee value.
void set_pos_right_fingertip_confidence(const float new_pos_right_fingertip_confidence)
Set pos_right_fingertip_confidence value.
void set_ori_right_elbow_confidence(const float new_ori_right_elbow_confidence)
Set ori_right_elbow_confidence value.
float * pos_right_hip() const
Get pos_right_hip value.
void set_pos_right_ankle(unsigned int index, const float new_pos_right_ankle)
Set pos_right_ankle value at given index.
float ori_head_confidence() const
Get ori_head_confidence value.
void set_ori_right_hand_confidence(const float new_ori_right_hand_confidence)
Set ori_right_hand_confidence value.
float * pos_left_elbow() const
Get pos_left_elbow value.
size_t maxlenof_ori_right_shoulder_confidence() const
Get maximum length of ori_right_shoulder_confidence value.
float * ori_torso() const
Get ori_torso value.
size_t maxlenof_pos_left_ankle() const
Get maximum length of pos_left_ankle value.
void set_pos_right_shoulder_confidence(const float new_pos_right_shoulder_confidence)
Set pos_right_shoulder_confidence value.
void set_ori_head_confidence(const float new_ori_head_confidence)
Set ori_head_confidence value.
float ori_waist_confidence() const
Get ori_waist_confidence value.
size_t maxlenof_ori_left_knee_confidence() const
Get maximum length of ori_left_knee_confidence value.
void set_ori_right_elbow(unsigned int index, const float new_ori_right_elbow)
Set ori_right_elbow value at given index.
uint32_t user_id() const
Get user_id value.
size_t maxlenof_ori_left_hip() const
Get maximum length of ori_left_hip value.
void set_ori_left_hip(unsigned int index, const float new_ori_left_hip)
Set ori_left_hip value at given index.
virtual const char * enum_tostring(const char *enumtype, int val) const
void set_ori_left_foot(unsigned int index, const float new_ori_left_foot)
Set ori_left_foot value at given index.
float * ori_left_shoulder() const
Get ori_left_shoulder value.
float pos_left_foot_confidence() const
Get pos_left_foot_confidence value.
float * pos_right_hand() const
Get pos_right_hand value.
float pos_neck_confidence() const
Get pos_neck_confidence value.
float ori_left_foot_confidence() const
Get ori_left_foot_confidence value.
void add_fieldinfo(interface_fieldtype_t type, const char *name, size_t length, void *value, const char *enumtype=0, const interface_enum_map_t *enum_map=0)
Add an entry to the info list.
size_t maxlenof_ori_neck() const
Get maximum length of ori_neck value.
size_t maxlenof_pos_left_wrist_confidence() const
Get maximum length of pos_left_wrist_confidence value.
float * ori_head() const
Get ori_head value.
size_t maxlenof_ori_left_wrist() const
Get maximum length of ori_left_wrist value.
char * pose() const
Get pose value.
size_t maxlenof_ori_right_ankle_confidence() const
Get maximum length of ori_right_ankle_confidence value.
size_t maxlenof_ori_right_ankle() const
Get maximum length of ori_right_ankle value.
float * pos_right_ankle() const
Get pos_right_ankle value.
void set_pos_left_knee(unsigned int index, const float new_pos_left_knee)
Set pos_left_knee value at given index.
void set_pos_right_fingertip(unsigned int index, const float new_pos_right_fingertip)
Set pos_right_fingertip value at given index.
void set_pos_right_hip(unsigned int index, const float new_pos_right_hip)
Set pos_right_hip value at given index.
size_t maxlenof_ori_torso_confidence() const
Get maximum length of ori_torso_confidence value.
void set_pos_left_knee_confidence(const float new_pos_left_knee_confidence)
Set pos_left_knee_confidence value.
float * ori_left_collar() const
Get ori_left_collar value.
size_t maxlenof_ori_right_wrist_confidence() const
Get maximum length of ori_right_wrist_confidence value.
float pos_left_fingertip_confidence() const
Get pos_left_fingertip_confidence value.
size_t maxlenof_ori_left_shoulder() const
Get maximum length of ori_left_shoulder value.
float pos_left_shoulder_confidence() const
Get pos_left_shoulder_confidence value.
float ori_left_fingertip_confidence() const
Get ori_left_fingertip_confidence value.
float * ori_right_shoulder() const
Get ori_right_shoulder value.
float ori_right_fingertip_confidence() const
Get ori_right_fingertip_confidence value.
void set_pos_left_collar_confidence(const float new_pos_left_collar_confidence)
Set pos_left_collar_confidence value.
void set_pos_waist_confidence(const float new_pos_waist_confidence)
Set pos_waist_confidence value.
size_t maxlenof_ori_left_foot() const
Get maximum length of ori_left_foot value.
float * pos_left_shoulder() const
Get pos_left_shoulder value.
size_t maxlenof_com() const
Get maximum length of com value.
size_t maxlenof_ori_right_foot() const
Get maximum length of ori_right_foot value.
float * pos_neck() const
Get pos_neck value.
size_t maxlenof_pos_right_hand() const
Get maximum length of pos_right_hand value.
float * ori_right_elbow() const
Get ori_right_elbow value.
size_t maxlenof_pos_left_knee() const
Get maximum length of pos_left_knee value.
size_t maxlenof_pos_head() const
Get maximum length of pos_head value.
size_t maxlenof_pos_right_foot() const
Get maximum length of pos_right_foot value.
size_t maxlenof_user_id() const
Get maximum length of user_id value.
size_t maxlenof_ori_neck_confidence() const
Get maximum length of ori_neck_confidence value.
void set_ori_waist(unsigned int index, const float new_ori_waist)
Set ori_waist value at given index.
size_t maxlenof_ori_head() const
Get maximum length of ori_head value.
float * pos_right_wrist() const
Get pos_right_wrist value.
float * ori_right_collar() const
Get ori_right_collar value.
float pos_right_hand_confidence() const
Get pos_right_hand_confidence value.
float ori_left_elbow_confidence() const
Get ori_left_elbow_confidence value.
void set_pos_torso(unsigned int index, const float new_pos_torso)
Set pos_torso value at given index.
float ori_left_ankle_confidence() const
Get ori_left_ankle_confidence value.
void set_pos_left_wrist_confidence(const float new_pos_left_wrist_confidence)
Set pos_left_wrist_confidence value.
float * ori_left_ankle() const
Get ori_left_ankle value.
size_t maxlenof_ori_right_fingertip_confidence() const
Get maximum length of ori_right_fingertip_confidence value.
float * pos_left_foot() const
Get pos_left_foot value.
size_t maxlenof_ori_right_collar_confidence() const
Get maximum length of ori_right_collar_confidence value.
size_t maxlenof_ori_right_wrist() const
Get maximum length of ori_right_wrist value.
float * pos_right_collar() const
Get pos_right_collar value.
float pos_left_hip_confidence() const
Get pos_left_hip_confidence value.
size_t maxlenof_ori_right_collar() const
Get maximum length of ori_right_collar value.
size_t maxlenof_ori_left_hand() const
Get maximum length of ori_left_hand value.
void set_ori_neck(unsigned int index, const float new_ori_neck)
Set ori_neck value at given index.
size_t maxlenof_pos_torso_confidence() const
Get maximum length of pos_torso_confidence value.
void set_pos_right_elbow(unsigned int index, const float new_pos_right_elbow)
Set pos_right_elbow value at given index.
float * pos_waist() const
Get pos_waist value.
float * pos_right_shoulder() const
Get pos_right_shoulder value.
size_t maxlenof_pos_right_hand_confidence() const
Get maximum length of pos_right_hand_confidence value.
size_t maxlenof_ori_left_knee() const
Get maximum length of ori_left_knee value.
void set_pos_right_collar_confidence(const float new_pos_right_collar_confidence)
Set pos_right_collar_confidence value.
float * ori_waist() const
Get ori_waist value.
size_t maxlenof_ori_right_fingertip() const
Get maximum length of ori_right_fingertip value.
size_t maxlenof_pos_right_collar() const
Get maximum length of pos_right_collar value.
void set_ori_left_hand_confidence(const float new_ori_left_hand_confidence)
Set ori_left_hand_confidence value.
size_t maxlenof_ori_left_hip_confidence() const
Get maximum length of ori_left_hip_confidence value.
void set_pos_right_wrist(unsigned int index, const float new_pos_right_wrist)
Set pos_right_wrist value at given index.
size_t maxlenof_pos_left_hand_confidence() const
Get maximum length of pos_left_hand_confidence value.
void set_ori_right_foot_confidence(const float new_ori_right_foot_confidence)
Set ori_right_foot_confidence value.
size_t maxlenof_ori_right_knee_confidence() const
Get maximum length of ori_right_knee_confidence value.
size_t maxlenof_ori_left_collar() const
Get maximum length of ori_left_collar value.
void set_ori_left_collar_confidence(const float new_ori_left_collar_confidence)
Set ori_left_collar_confidence value.
State
Current tracking state for the skeleton.
float pos_right_collar_confidence() const
Get pos_right_collar_confidence value.
float * ori_left_foot() const
Get ori_left_foot value.
size_t maxlenof_pos_left_foot() const
Get maximum length of pos_left_foot value.
size_t maxlenof_ori_right_knee() const
Get maximum length of ori_right_knee value.
float pos_right_knee_confidence() const
Get pos_right_knee_confidence value.
void set_ori_right_fingertip_confidence(const float new_ori_right_fingertip_confidence)
Set ori_right_fingertip_confidence value.
void set_ori_neck_confidence(const float new_ori_neck_confidence)
Set ori_neck_confidence value.
size_t maxlenof_pos_waist_confidence() const
Get maximum length of pos_waist_confidence value.
void set_pos_left_shoulder(unsigned int index, const float new_pos_left_shoulder)
Set pos_left_shoulder value at given index.
float ori_neck_confidence() const
Get ori_neck_confidence value.
void set_ori_left_shoulder(unsigned int index, const float new_ori_left_shoulder)
Set ori_left_shoulder value at given index.
void set_ori_left_knee(unsigned int index, const float new_ori_left_knee)
Set ori_left_knee value at given index.
void set_ori_right_fingertip(unsigned int index, const float new_ori_right_fingertip)
Set ori_right_fingertip value at given index.
size_t maxlenof_ori_left_collar_confidence() const
Get maximum length of ori_left_collar_confidence value.
size_t maxlenof_visibility_history() const
Get maximum length of visibility_history value.
size_t maxlenof_ori_left_fingertip() const
Get maximum length of ori_left_fingertip value.
void set_ori_left_elbow_confidence(const float new_ori_left_elbow_confidence)
Set ori_left_elbow_confidence value.
void set_ori_torso_confidence(const float new_ori_torso_confidence)
Set ori_torso_confidence value.
float * pos_right_fingertip() const
Get pos_right_fingertip value.