24#include <interfaces/HumanSkeletonInterface.h>
26#include <core/exceptions/software.h>
45HumanSkeletonInterface::HumanSkeletonInterface() : Interface()
47 data_size =
sizeof(HumanSkeletonInterface_data_t);
48 data_ptr = malloc(data_size);
49 data = (HumanSkeletonInterface_data_t *)data_ptr;
50 data_ts = (interface_data_ts_t *)data_ptr;
51 memset(data_ptr, 0, data_size);
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";
56 add_fieldinfo(IFT_ENUM,
"state", 1, &data->state,
"State", &enum_map_State);
57 add_fieldinfo(IFT_UINT32,
"user_id", 1, &data->user_id);
58 add_fieldinfo(IFT_INT32,
"visibility_history", 1, &data->visibility_history);
59 add_fieldinfo(IFT_STRING,
"pose", 32, data->pose);
60 add_fieldinfo(IFT_FLOAT,
"com", 3, &data->com);
61 add_fieldinfo(IFT_FLOAT,
"pos_head", 3, &data->pos_head);
62 add_fieldinfo(IFT_FLOAT,
"pos_head_confidence", 1, &data->pos_head_confidence);
63 add_fieldinfo(IFT_FLOAT,
"pos_neck", 3, &data->pos_neck);
64 add_fieldinfo(IFT_FLOAT,
"pos_neck_confidence", 1, &data->pos_neck_confidence);
65 add_fieldinfo(IFT_FLOAT,
"pos_torso", 3, &data->pos_torso);
66 add_fieldinfo(IFT_FLOAT,
"pos_torso_confidence", 1, &data->pos_torso_confidence);
67 add_fieldinfo(IFT_FLOAT,
"pos_waist", 3, &data->pos_waist);
68 add_fieldinfo(IFT_FLOAT,
"pos_waist_confidence", 1, &data->pos_waist_confidence);
69 add_fieldinfo(IFT_FLOAT,
"pos_left_collar", 3, &data->pos_left_collar);
70 add_fieldinfo(IFT_FLOAT,
"pos_left_collar_confidence", 1, &data->pos_left_collar_confidence);
71 add_fieldinfo(IFT_FLOAT,
"pos_left_shoulder", 3, &data->pos_left_shoulder);
72 add_fieldinfo(IFT_FLOAT,
"pos_left_shoulder_confidence", 1, &data->pos_left_shoulder_confidence);
73 add_fieldinfo(IFT_FLOAT,
"pos_left_elbow", 3, &data->pos_left_elbow);
74 add_fieldinfo(IFT_FLOAT,
"pos_left_elbow_confidence", 1, &data->pos_left_elbow_confidence);
75 add_fieldinfo(IFT_FLOAT,
"pos_left_wrist", 3, &data->pos_left_wrist);
76 add_fieldinfo(IFT_FLOAT,
"pos_left_wrist_confidence", 1, &data->pos_left_wrist_confidence);
77 add_fieldinfo(IFT_FLOAT,
"pos_left_hand", 3, &data->pos_left_hand);
78 add_fieldinfo(IFT_FLOAT,
"pos_left_hand_confidence", 1, &data->pos_left_hand_confidence);
79 add_fieldinfo(IFT_FLOAT,
"pos_left_fingertip", 3, &data->pos_left_fingertip);
80 add_fieldinfo(IFT_FLOAT,
"pos_left_fingertip_confidence", 1, &data->pos_left_fingertip_confidence);
81 add_fieldinfo(IFT_FLOAT,
"pos_right_collar", 3, &data->pos_right_collar);
82 add_fieldinfo(IFT_FLOAT,
"pos_right_collar_confidence", 1, &data->pos_right_collar_confidence);
83 add_fieldinfo(IFT_FLOAT,
"pos_right_shoulder", 3, &data->pos_right_shoulder);
84 add_fieldinfo(IFT_FLOAT,
"pos_right_shoulder_confidence", 1, &data->pos_right_shoulder_confidence);
85 add_fieldinfo(IFT_FLOAT,
"pos_right_elbow", 3, &data->pos_right_elbow);
86 add_fieldinfo(IFT_FLOAT,
"pos_right_elbow_confidence", 1, &data->pos_right_elbow_confidence);
87 add_fieldinfo(IFT_FLOAT,
"pos_right_wrist", 3, &data->pos_right_wrist);
88 add_fieldinfo(IFT_FLOAT,
"pos_right_wrist_confidence", 1, &data->pos_right_wrist_confidence);
89 add_fieldinfo(IFT_FLOAT,
"pos_right_hand", 3, &data->pos_right_hand);
90 add_fieldinfo(IFT_FLOAT,
"pos_right_hand_confidence", 1, &data->pos_right_hand_confidence);
91 add_fieldinfo(IFT_FLOAT,
"pos_right_fingertip", 3, &data->pos_right_fingertip);
92 add_fieldinfo(IFT_FLOAT,
"pos_right_fingertip_confidence", 1, &data->pos_right_fingertip_confidence);
93 add_fieldinfo(IFT_FLOAT,
"pos_left_hip", 3, &data->pos_left_hip);
94 add_fieldinfo(IFT_FLOAT,
"pos_left_hip_confidence", 1, &data->pos_left_hip_confidence);
95 add_fieldinfo(IFT_FLOAT,
"pos_left_knee", 3, &data->pos_left_knee);
96 add_fieldinfo(IFT_FLOAT,
"pos_left_knee_confidence", 1, &data->pos_left_knee_confidence);
97 add_fieldinfo(IFT_FLOAT,
"pos_left_ankle", 3, &data->pos_left_ankle);
98 add_fieldinfo(IFT_FLOAT,
"pos_left_ankle_confidence", 1, &data->pos_left_ankle_confidence);
99 add_fieldinfo(IFT_FLOAT,
"pos_left_foot", 3, &data->pos_left_foot);
100 add_fieldinfo(IFT_FLOAT,
"pos_left_foot_confidence", 1, &data->pos_left_foot_confidence);
101 add_fieldinfo(IFT_FLOAT,
"pos_right_hip", 3, &data->pos_right_hip);
102 add_fieldinfo(IFT_FLOAT,
"pos_right_hip_confidence", 1, &data->pos_right_hip_confidence);
103 add_fieldinfo(IFT_FLOAT,
"pos_right_knee", 3, &data->pos_right_knee);
104 add_fieldinfo(IFT_FLOAT,
"pos_right_knee_confidence", 1, &data->pos_right_knee_confidence);
105 add_fieldinfo(IFT_FLOAT,
"pos_right_ankle", 3, &data->pos_right_ankle);
106 add_fieldinfo(IFT_FLOAT,
"pos_right_ankle_confidence", 1, &data->pos_right_ankle_confidence);
107 add_fieldinfo(IFT_FLOAT,
"pos_right_foot", 3, &data->pos_right_foot);
108 add_fieldinfo(IFT_FLOAT,
"pos_right_foot_confidence", 1, &data->pos_right_foot_confidence);
109 add_fieldinfo(IFT_FLOAT,
"ori_head", 9, &data->ori_head);
110 add_fieldinfo(IFT_FLOAT,
"ori_head_confidence", 1, &data->ori_head_confidence);
111 add_fieldinfo(IFT_FLOAT,
"ori_neck", 9, &data->ori_neck);
112 add_fieldinfo(IFT_FLOAT,
"ori_neck_confidence", 1, &data->ori_neck_confidence);
113 add_fieldinfo(IFT_FLOAT,
"ori_torso", 9, &data->ori_torso);
114 add_fieldinfo(IFT_FLOAT,
"ori_torso_confidence", 1, &data->ori_torso_confidence);
115 add_fieldinfo(IFT_FLOAT,
"ori_waist", 9, &data->ori_waist);
116 add_fieldinfo(IFT_FLOAT,
"ori_waist_confidence", 1, &data->ori_waist_confidence);
117 add_fieldinfo(IFT_FLOAT,
"ori_left_collar", 9, &data->ori_left_collar);
118 add_fieldinfo(IFT_FLOAT,
"ori_left_collar_confidence", 1, &data->ori_left_collar_confidence);
119 add_fieldinfo(IFT_FLOAT,
"ori_left_shoulder", 9, &data->ori_left_shoulder);
120 add_fieldinfo(IFT_FLOAT,
"ori_left_shoulder_confidence", 1, &data->ori_left_shoulder_confidence);
121 add_fieldinfo(IFT_FLOAT,
"ori_left_elbow", 9, &data->ori_left_elbow);
122 add_fieldinfo(IFT_FLOAT,
"ori_left_elbow_confidence", 1, &data->ori_left_elbow_confidence);
123 add_fieldinfo(IFT_FLOAT,
"ori_left_wrist", 9, &data->ori_left_wrist);
124 add_fieldinfo(IFT_FLOAT,
"ori_left_wrist_confidence", 1, &data->ori_left_wrist_confidence);
125 add_fieldinfo(IFT_FLOAT,
"ori_left_hand", 9, &data->ori_left_hand);
126 add_fieldinfo(IFT_FLOAT,
"ori_left_hand_confidence", 1, &data->ori_left_hand_confidence);
127 add_fieldinfo(IFT_FLOAT,
"ori_left_fingertip", 9, &data->ori_left_fingertip);
128 add_fieldinfo(IFT_FLOAT,
"ori_left_fingertip_confidence", 1, &data->ori_left_fingertip_confidence);
129 add_fieldinfo(IFT_FLOAT,
"ori_right_collar", 9, &data->ori_right_collar);
130 add_fieldinfo(IFT_FLOAT,
"ori_right_collar_confidence", 1, &data->ori_right_collar_confidence);
131 add_fieldinfo(IFT_FLOAT,
"ori_right_shoulder", 9, &data->ori_right_shoulder);
132 add_fieldinfo(IFT_FLOAT,
"ori_right_shoulder_confidence", 1, &data->ori_right_shoulder_confidence);
133 add_fieldinfo(IFT_FLOAT,
"ori_right_elbow", 9, &data->ori_right_elbow);
134 add_fieldinfo(IFT_FLOAT,
"ori_right_elbow_confidence", 1, &data->ori_right_elbow_confidence);
135 add_fieldinfo(IFT_FLOAT,
"ori_right_wrist", 9, &data->ori_right_wrist);
136 add_fieldinfo(IFT_FLOAT,
"ori_right_wrist_confidence", 1, &data->ori_right_wrist_confidence);
137 add_fieldinfo(IFT_FLOAT,
"ori_right_hand", 9, &data->ori_right_hand);
138 add_fieldinfo(IFT_FLOAT,
"ori_right_hand_confidence", 1, &data->ori_right_hand_confidence);
139 add_fieldinfo(IFT_FLOAT,
"ori_right_fingertip", 9, &data->ori_right_fingertip);
140 add_fieldinfo(IFT_FLOAT,
"ori_right_fingertip_confidence", 1, &data->ori_right_fingertip_confidence);
141 add_fieldinfo(IFT_FLOAT,
"ori_left_hip", 9, &data->ori_left_hip);
142 add_fieldinfo(IFT_FLOAT,
"ori_left_hip_confidence", 1, &data->ori_left_hip_confidence);
143 add_fieldinfo(IFT_FLOAT,
"ori_left_knee", 9, &data->ori_left_knee);
144 add_fieldinfo(IFT_FLOAT,
"ori_left_knee_confidence", 1, &data->ori_left_knee_confidence);
145 add_fieldinfo(IFT_FLOAT,
"ori_left_ankle", 9, &data->ori_left_ankle);
146 add_fieldinfo(IFT_FLOAT,
"ori_left_ankle_confidence", 1, &data->ori_left_ankle_confidence);
147 add_fieldinfo(IFT_FLOAT,
"ori_left_foot", 9, &data->ori_left_foot);
148 add_fieldinfo(IFT_FLOAT,
"ori_left_foot_confidence", 1, &data->ori_left_foot_confidence);
149 add_fieldinfo(IFT_FLOAT,
"ori_right_hip", 9, &data->ori_right_hip);
150 add_fieldinfo(IFT_FLOAT,
"ori_right_hip_confidence", 1, &data->ori_right_hip_confidence);
151 add_fieldinfo(IFT_FLOAT,
"ori_right_knee", 9, &data->ori_right_knee);
152 add_fieldinfo(IFT_FLOAT,
"ori_right_knee_confidence", 1, &data->ori_right_knee_confidence);
153 add_fieldinfo(IFT_FLOAT,
"ori_right_ankle", 9, &data->ori_right_ankle);
154 add_fieldinfo(IFT_FLOAT,
"ori_right_ankle_confidence", 1, &data->ori_right_ankle_confidence);
155 add_fieldinfo(IFT_FLOAT,
"ori_right_foot", 9, &data->ori_right_foot);
156 add_fieldinfo(IFT_FLOAT,
"ori_right_foot_confidence", 1, &data->ori_right_foot_confidence);
157 unsigned char tmp_hash[] = {0x5f, 0x47, 0x2f, 0xb3, 0x8b, 0xf1, 0xe1, 0xa, 0xb9, 0x42, 0x34, 0xea, 0x83, 0x43, 0x94, 0x37};
162HumanSkeletonInterface::~HumanSkeletonInterface()
171HumanSkeletonInterface::tostring_State(
State value)
const
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";
187HumanSkeletonInterface::state()
const
197HumanSkeletonInterface::maxlenof_state()
const
207HumanSkeletonInterface::set_state(
const State new_state)
209 set_field(data->state, new_state);
217HumanSkeletonInterface::user_id()
const
219 return data->user_id;
227HumanSkeletonInterface::maxlenof_user_id()
const
237HumanSkeletonInterface::set_user_id(
const uint32_t new_user_id)
239 set_field(data->user_id, new_user_id);
253HumanSkeletonInterface::visibility_history()
const
255 return data->visibility_history;
263HumanSkeletonInterface::maxlenof_visibility_history()
const
279HumanSkeletonInterface::set_visibility_history(
const int32_t new_visibility_history)
281 set_field(data->visibility_history, new_visibility_history);
289HumanSkeletonInterface::pose()
const
299HumanSkeletonInterface::maxlenof_pose()
const
309HumanSkeletonInterface::set_pose(
const char * new_pose)
311 set_field(data->pose, new_pose);
319HumanSkeletonInterface::com()
const
331HumanSkeletonInterface::com(
unsigned int index)
const
334 throw Exception(
"Index value %u out of bounds (0..2)", index);
336 return data->com[index];
344HumanSkeletonInterface::maxlenof_com()
const
354HumanSkeletonInterface::set_com(
const float * new_com)
356 set_field(data->com, new_com);
365HumanSkeletonInterface::set_com(
unsigned int index,
const float new_com)
367 set_field(data->com, index, new_com);
374HumanSkeletonInterface::pos_head()
const
376 return data->pos_head;
386HumanSkeletonInterface::pos_head(
unsigned int index)
const
389 throw Exception(
"Index value %u out of bounds (0..2)", index);
391 return data->pos_head[index];
399HumanSkeletonInterface::maxlenof_pos_head()
const
409HumanSkeletonInterface::set_pos_head(
const float * new_pos_head)
411 set_field(data->pos_head, new_pos_head);
420HumanSkeletonInterface::set_pos_head(
unsigned int index,
const float new_pos_head)
422 set_field(data->pos_head, index, new_pos_head);
430HumanSkeletonInterface::pos_head_confidence()
const
432 return data->pos_head_confidence;
440HumanSkeletonInterface::maxlenof_pos_head_confidence()
const
451HumanSkeletonInterface::set_pos_head_confidence(
const float new_pos_head_confidence)
453 set_field(data->pos_head_confidence, new_pos_head_confidence);
461HumanSkeletonInterface::pos_neck()
const
463 return data->pos_neck;
473HumanSkeletonInterface::pos_neck(
unsigned int index)
const
476 throw Exception(
"Index value %u out of bounds (0..2)", index);
478 return data->pos_neck[index];
486HumanSkeletonInterface::maxlenof_pos_neck()
const
496HumanSkeletonInterface::set_pos_neck(
const float * new_pos_neck)
498 set_field(data->pos_neck, new_pos_neck);
507HumanSkeletonInterface::set_pos_neck(
unsigned int index,
const float new_pos_neck)
509 set_field(data->pos_neck, index, new_pos_neck);
517HumanSkeletonInterface::pos_neck_confidence()
const
519 return data->pos_neck_confidence;
527HumanSkeletonInterface::maxlenof_pos_neck_confidence()
const
538HumanSkeletonInterface::set_pos_neck_confidence(
const float new_pos_neck_confidence)
540 set_field(data->pos_neck_confidence, new_pos_neck_confidence);
548HumanSkeletonInterface::pos_torso()
const
550 return data->pos_torso;
560HumanSkeletonInterface::pos_torso(
unsigned int index)
const
563 throw Exception(
"Index value %u out of bounds (0..2)", index);
565 return data->pos_torso[index];
573HumanSkeletonInterface::maxlenof_pos_torso()
const
583HumanSkeletonInterface::set_pos_torso(
const float * new_pos_torso)
585 set_field(data->pos_torso, new_pos_torso);
594HumanSkeletonInterface::set_pos_torso(
unsigned int index,
const float new_pos_torso)
596 set_field(data->pos_torso, index, new_pos_torso);
604HumanSkeletonInterface::pos_torso_confidence()
const
606 return data->pos_torso_confidence;
614HumanSkeletonInterface::maxlenof_pos_torso_confidence()
const
625HumanSkeletonInterface::set_pos_torso_confidence(
const float new_pos_torso_confidence)
627 set_field(data->pos_torso_confidence, new_pos_torso_confidence);
635HumanSkeletonInterface::pos_waist()
const
637 return data->pos_waist;
647HumanSkeletonInterface::pos_waist(
unsigned int index)
const
650 throw Exception(
"Index value %u out of bounds (0..2)", index);
652 return data->pos_waist[index];
660HumanSkeletonInterface::maxlenof_pos_waist()
const
670HumanSkeletonInterface::set_pos_waist(
const float * new_pos_waist)
672 set_field(data->pos_waist, new_pos_waist);
681HumanSkeletonInterface::set_pos_waist(
unsigned int index,
const float new_pos_waist)
683 set_field(data->pos_waist, index, new_pos_waist);
691HumanSkeletonInterface::pos_waist_confidence()
const
693 return data->pos_waist_confidence;
701HumanSkeletonInterface::maxlenof_pos_waist_confidence()
const
712HumanSkeletonInterface::set_pos_waist_confidence(
const float new_pos_waist_confidence)
714 set_field(data->pos_waist_confidence, new_pos_waist_confidence);
723HumanSkeletonInterface::pos_left_collar()
const
725 return data->pos_left_collar;
736HumanSkeletonInterface::pos_left_collar(
unsigned int index)
const
739 throw Exception(
"Index value %u out of bounds (0..2)", index);
741 return data->pos_left_collar[index];
749HumanSkeletonInterface::maxlenof_pos_left_collar()
const
760HumanSkeletonInterface::set_pos_left_collar(
const float * new_pos_left_collar)
762 set_field(data->pos_left_collar, new_pos_left_collar);
772HumanSkeletonInterface::set_pos_left_collar(
unsigned int index,
const float new_pos_left_collar)
774 set_field(data->pos_left_collar, index, new_pos_left_collar);
782HumanSkeletonInterface::pos_left_collar_confidence()
const
784 return data->pos_left_collar_confidence;
792HumanSkeletonInterface::maxlenof_pos_left_collar_confidence()
const
803HumanSkeletonInterface::set_pos_left_collar_confidence(
const float new_pos_left_collar_confidence)
805 set_field(data->pos_left_collar_confidence, new_pos_left_collar_confidence);
814HumanSkeletonInterface::pos_left_shoulder()
const
816 return data->pos_left_shoulder;
827HumanSkeletonInterface::pos_left_shoulder(
unsigned int index)
const
830 throw Exception(
"Index value %u out of bounds (0..2)", index);
832 return data->pos_left_shoulder[index];
840HumanSkeletonInterface::maxlenof_pos_left_shoulder()
const
851HumanSkeletonInterface::set_pos_left_shoulder(
const float * new_pos_left_shoulder)
853 set_field(data->pos_left_shoulder, new_pos_left_shoulder);
863HumanSkeletonInterface::set_pos_left_shoulder(
unsigned int index,
const float new_pos_left_shoulder)
865 set_field(data->pos_left_shoulder, index, new_pos_left_shoulder);
873HumanSkeletonInterface::pos_left_shoulder_confidence()
const
875 return data->pos_left_shoulder_confidence;
883HumanSkeletonInterface::maxlenof_pos_left_shoulder_confidence()
const
894HumanSkeletonInterface::set_pos_left_shoulder_confidence(
const float new_pos_left_shoulder_confidence)
896 set_field(data->pos_left_shoulder_confidence, new_pos_left_shoulder_confidence);
905HumanSkeletonInterface::pos_left_elbow()
const
907 return data->pos_left_elbow;
918HumanSkeletonInterface::pos_left_elbow(
unsigned int index)
const
921 throw Exception(
"Index value %u out of bounds (0..2)", index);
923 return data->pos_left_elbow[index];
931HumanSkeletonInterface::maxlenof_pos_left_elbow()
const
942HumanSkeletonInterface::set_pos_left_elbow(
const float * new_pos_left_elbow)
944 set_field(data->pos_left_elbow, new_pos_left_elbow);
954HumanSkeletonInterface::set_pos_left_elbow(
unsigned int index,
const float new_pos_left_elbow)
956 set_field(data->pos_left_elbow, index, new_pos_left_elbow);
964HumanSkeletonInterface::pos_left_elbow_confidence()
const
966 return data->pos_left_elbow_confidence;
974HumanSkeletonInterface::maxlenof_pos_left_elbow_confidence()
const
985HumanSkeletonInterface::set_pos_left_elbow_confidence(
const float new_pos_left_elbow_confidence)
987 set_field(data->pos_left_elbow_confidence, new_pos_left_elbow_confidence);
996HumanSkeletonInterface::pos_left_wrist()
const
998 return data->pos_left_wrist;
1009HumanSkeletonInterface::pos_left_wrist(
unsigned int index)
const
1012 throw Exception(
"Index value %u out of bounds (0..2)", index);
1014 return data->pos_left_wrist[index];
1022HumanSkeletonInterface::maxlenof_pos_left_wrist()
const
1033HumanSkeletonInterface::set_pos_left_wrist(
const float * new_pos_left_wrist)
1035 set_field(data->pos_left_wrist, new_pos_left_wrist);
1045HumanSkeletonInterface::set_pos_left_wrist(
unsigned int index,
const float new_pos_left_wrist)
1047 set_field(data->pos_left_wrist, index, new_pos_left_wrist);
1055HumanSkeletonInterface::pos_left_wrist_confidence()
const
1057 return data->pos_left_wrist_confidence;
1065HumanSkeletonInterface::maxlenof_pos_left_wrist_confidence()
const
1076HumanSkeletonInterface::set_pos_left_wrist_confidence(
const float new_pos_left_wrist_confidence)
1078 set_field(data->pos_left_wrist_confidence, new_pos_left_wrist_confidence);
1087HumanSkeletonInterface::pos_left_hand()
const
1089 return data->pos_left_hand;
1100HumanSkeletonInterface::pos_left_hand(
unsigned int index)
const
1103 throw Exception(
"Index value %u out of bounds (0..2)", index);
1105 return data->pos_left_hand[index];
1113HumanSkeletonInterface::maxlenof_pos_left_hand()
const
1124HumanSkeletonInterface::set_pos_left_hand(
const float * new_pos_left_hand)
1126 set_field(data->pos_left_hand, new_pos_left_hand);
1136HumanSkeletonInterface::set_pos_left_hand(
unsigned int index,
const float new_pos_left_hand)
1138 set_field(data->pos_left_hand, index, new_pos_left_hand);
1146HumanSkeletonInterface::pos_left_hand_confidence()
const
1148 return data->pos_left_hand_confidence;
1156HumanSkeletonInterface::maxlenof_pos_left_hand_confidence()
const
1167HumanSkeletonInterface::set_pos_left_hand_confidence(
const float new_pos_left_hand_confidence)
1169 set_field(data->pos_left_hand_confidence, new_pos_left_hand_confidence);
1178HumanSkeletonInterface::pos_left_fingertip()
const
1180 return data->pos_left_fingertip;
1191HumanSkeletonInterface::pos_left_fingertip(
unsigned int index)
const
1194 throw Exception(
"Index value %u out of bounds (0..2)", index);
1196 return data->pos_left_fingertip[index];
1204HumanSkeletonInterface::maxlenof_pos_left_fingertip()
const
1215HumanSkeletonInterface::set_pos_left_fingertip(
const float * new_pos_left_fingertip)
1217 set_field(data->pos_left_fingertip, new_pos_left_fingertip);
1227HumanSkeletonInterface::set_pos_left_fingertip(
unsigned int index,
const float new_pos_left_fingertip)
1229 set_field(data->pos_left_fingertip, index, new_pos_left_fingertip);
1237HumanSkeletonInterface::pos_left_fingertip_confidence()
const
1239 return data->pos_left_fingertip_confidence;
1247HumanSkeletonInterface::maxlenof_pos_left_fingertip_confidence()
const
1258HumanSkeletonInterface::set_pos_left_fingertip_confidence(
const float new_pos_left_fingertip_confidence)
1260 set_field(data->pos_left_fingertip_confidence, new_pos_left_fingertip_confidence);
1269HumanSkeletonInterface::pos_right_collar()
const
1271 return data->pos_right_collar;
1282HumanSkeletonInterface::pos_right_collar(
unsigned int index)
const
1285 throw Exception(
"Index value %u out of bounds (0..2)", index);
1287 return data->pos_right_collar[index];
1295HumanSkeletonInterface::maxlenof_pos_right_collar()
const
1306HumanSkeletonInterface::set_pos_right_collar(
const float * new_pos_right_collar)
1308 set_field(data->pos_right_collar, new_pos_right_collar);
1318HumanSkeletonInterface::set_pos_right_collar(
unsigned int index,
const float new_pos_right_collar)
1320 set_field(data->pos_right_collar, index, new_pos_right_collar);
1328HumanSkeletonInterface::pos_right_collar_confidence()
const
1330 return data->pos_right_collar_confidence;
1338HumanSkeletonInterface::maxlenof_pos_right_collar_confidence()
const
1349HumanSkeletonInterface::set_pos_right_collar_confidence(
const float new_pos_right_collar_confidence)
1351 set_field(data->pos_right_collar_confidence, new_pos_right_collar_confidence);
1360HumanSkeletonInterface::pos_right_shoulder()
const
1362 return data->pos_right_shoulder;
1373HumanSkeletonInterface::pos_right_shoulder(
unsigned int index)
const
1376 throw Exception(
"Index value %u out of bounds (0..2)", index);
1378 return data->pos_right_shoulder[index];
1386HumanSkeletonInterface::maxlenof_pos_right_shoulder()
const
1397HumanSkeletonInterface::set_pos_right_shoulder(
const float * new_pos_right_shoulder)
1399 set_field(data->pos_right_shoulder, new_pos_right_shoulder);
1409HumanSkeletonInterface::set_pos_right_shoulder(
unsigned int index,
const float new_pos_right_shoulder)
1411 set_field(data->pos_right_shoulder, index, new_pos_right_shoulder);
1419HumanSkeletonInterface::pos_right_shoulder_confidence()
const
1421 return data->pos_right_shoulder_confidence;
1429HumanSkeletonInterface::maxlenof_pos_right_shoulder_confidence()
const
1440HumanSkeletonInterface::set_pos_right_shoulder_confidence(
const float new_pos_right_shoulder_confidence)
1442 set_field(data->pos_right_shoulder_confidence, new_pos_right_shoulder_confidence);
1451HumanSkeletonInterface::pos_right_elbow()
const
1453 return data->pos_right_elbow;
1464HumanSkeletonInterface::pos_right_elbow(
unsigned int index)
const
1467 throw Exception(
"Index value %u out of bounds (0..2)", index);
1469 return data->pos_right_elbow[index];
1477HumanSkeletonInterface::maxlenof_pos_right_elbow()
const
1488HumanSkeletonInterface::set_pos_right_elbow(
const float * new_pos_right_elbow)
1490 set_field(data->pos_right_elbow, new_pos_right_elbow);
1500HumanSkeletonInterface::set_pos_right_elbow(
unsigned int index,
const float new_pos_right_elbow)
1502 set_field(data->pos_right_elbow, index, new_pos_right_elbow);
1510HumanSkeletonInterface::pos_right_elbow_confidence()
const
1512 return data->pos_right_elbow_confidence;
1520HumanSkeletonInterface::maxlenof_pos_right_elbow_confidence()
const
1531HumanSkeletonInterface::set_pos_right_elbow_confidence(
const float new_pos_right_elbow_confidence)
1533 set_field(data->pos_right_elbow_confidence, new_pos_right_elbow_confidence);
1542HumanSkeletonInterface::pos_right_wrist()
const
1544 return data->pos_right_wrist;
1555HumanSkeletonInterface::pos_right_wrist(
unsigned int index)
const
1558 throw Exception(
"Index value %u out of bounds (0..2)", index);
1560 return data->pos_right_wrist[index];
1568HumanSkeletonInterface::maxlenof_pos_right_wrist()
const
1579HumanSkeletonInterface::set_pos_right_wrist(
const float * new_pos_right_wrist)
1581 set_field(data->pos_right_wrist, new_pos_right_wrist);
1591HumanSkeletonInterface::set_pos_right_wrist(
unsigned int index,
const float new_pos_right_wrist)
1593 set_field(data->pos_right_wrist, index, new_pos_right_wrist);
1601HumanSkeletonInterface::pos_right_wrist_confidence()
const
1603 return data->pos_right_wrist_confidence;
1611HumanSkeletonInterface::maxlenof_pos_right_wrist_confidence()
const
1622HumanSkeletonInterface::set_pos_right_wrist_confidence(
const float new_pos_right_wrist_confidence)
1624 set_field(data->pos_right_wrist_confidence, new_pos_right_wrist_confidence);
1633HumanSkeletonInterface::pos_right_hand()
const
1635 return data->pos_right_hand;
1646HumanSkeletonInterface::pos_right_hand(
unsigned int index)
const
1649 throw Exception(
"Index value %u out of bounds (0..2)", index);
1651 return data->pos_right_hand[index];
1659HumanSkeletonInterface::maxlenof_pos_right_hand()
const
1670HumanSkeletonInterface::set_pos_right_hand(
const float * new_pos_right_hand)
1672 set_field(data->pos_right_hand, new_pos_right_hand);
1682HumanSkeletonInterface::set_pos_right_hand(
unsigned int index,
const float new_pos_right_hand)
1684 set_field(data->pos_right_hand, index, new_pos_right_hand);
1692HumanSkeletonInterface::pos_right_hand_confidence()
const
1694 return data->pos_right_hand_confidence;
1702HumanSkeletonInterface::maxlenof_pos_right_hand_confidence()
const
1713HumanSkeletonInterface::set_pos_right_hand_confidence(
const float new_pos_right_hand_confidence)
1715 set_field(data->pos_right_hand_confidence, new_pos_right_hand_confidence);
1724HumanSkeletonInterface::pos_right_fingertip()
const
1726 return data->pos_right_fingertip;
1737HumanSkeletonInterface::pos_right_fingertip(
unsigned int index)
const
1740 throw Exception(
"Index value %u out of bounds (0..2)", index);
1742 return data->pos_right_fingertip[index];
1750HumanSkeletonInterface::maxlenof_pos_right_fingertip()
const
1761HumanSkeletonInterface::set_pos_right_fingertip(
const float * new_pos_right_fingertip)
1763 set_field(data->pos_right_fingertip, new_pos_right_fingertip);
1773HumanSkeletonInterface::set_pos_right_fingertip(
unsigned int index,
const float new_pos_right_fingertip)
1775 set_field(data->pos_right_fingertip, index, new_pos_right_fingertip);
1783HumanSkeletonInterface::pos_right_fingertip_confidence()
const
1785 return data->pos_right_fingertip_confidence;
1793HumanSkeletonInterface::maxlenof_pos_right_fingertip_confidence()
const
1804HumanSkeletonInterface::set_pos_right_fingertip_confidence(
const float new_pos_right_fingertip_confidence)
1806 set_field(data->pos_right_fingertip_confidence, new_pos_right_fingertip_confidence);
1815HumanSkeletonInterface::pos_left_hip()
const
1817 return data->pos_left_hip;
1828HumanSkeletonInterface::pos_left_hip(
unsigned int index)
const
1831 throw Exception(
"Index value %u out of bounds (0..2)", index);
1833 return data->pos_left_hip[index];
1841HumanSkeletonInterface::maxlenof_pos_left_hip()
const
1852HumanSkeletonInterface::set_pos_left_hip(
const float * new_pos_left_hip)
1854 set_field(data->pos_left_hip, new_pos_left_hip);
1864HumanSkeletonInterface::set_pos_left_hip(
unsigned int index,
const float new_pos_left_hip)
1866 set_field(data->pos_left_hip, index, new_pos_left_hip);
1874HumanSkeletonInterface::pos_left_hip_confidence()
const
1876 return data->pos_left_hip_confidence;
1884HumanSkeletonInterface::maxlenof_pos_left_hip_confidence()
const
1895HumanSkeletonInterface::set_pos_left_hip_confidence(
const float new_pos_left_hip_confidence)
1897 set_field(data->pos_left_hip_confidence, new_pos_left_hip_confidence);
1906HumanSkeletonInterface::pos_left_knee()
const
1908 return data->pos_left_knee;
1919HumanSkeletonInterface::pos_left_knee(
unsigned int index)
const
1922 throw Exception(
"Index value %u out of bounds (0..2)", index);
1924 return data->pos_left_knee[index];
1932HumanSkeletonInterface::maxlenof_pos_left_knee()
const
1943HumanSkeletonInterface::set_pos_left_knee(
const float * new_pos_left_knee)
1945 set_field(data->pos_left_knee, new_pos_left_knee);
1955HumanSkeletonInterface::set_pos_left_knee(
unsigned int index,
const float new_pos_left_knee)
1957 set_field(data->pos_left_knee, index, new_pos_left_knee);
1965HumanSkeletonInterface::pos_left_knee_confidence()
const
1967 return data->pos_left_knee_confidence;
1975HumanSkeletonInterface::maxlenof_pos_left_knee_confidence()
const
1986HumanSkeletonInterface::set_pos_left_knee_confidence(
const float new_pos_left_knee_confidence)
1988 set_field(data->pos_left_knee_confidence, new_pos_left_knee_confidence);
1997HumanSkeletonInterface::pos_left_ankle()
const
1999 return data->pos_left_ankle;
2010HumanSkeletonInterface::pos_left_ankle(
unsigned int index)
const
2013 throw Exception(
"Index value %u out of bounds (0..2)", index);
2015 return data->pos_left_ankle[index];
2023HumanSkeletonInterface::maxlenof_pos_left_ankle()
const
2034HumanSkeletonInterface::set_pos_left_ankle(
const float * new_pos_left_ankle)
2036 set_field(data->pos_left_ankle, new_pos_left_ankle);
2046HumanSkeletonInterface::set_pos_left_ankle(
unsigned int index,
const float new_pos_left_ankle)
2048 set_field(data->pos_left_ankle, index, new_pos_left_ankle);
2056HumanSkeletonInterface::pos_left_ankle_confidence()
const
2058 return data->pos_left_ankle_confidence;
2066HumanSkeletonInterface::maxlenof_pos_left_ankle_confidence()
const
2077HumanSkeletonInterface::set_pos_left_ankle_confidence(
const float new_pos_left_ankle_confidence)
2079 set_field(data->pos_left_ankle_confidence, new_pos_left_ankle_confidence);
2088HumanSkeletonInterface::pos_left_foot()
const
2090 return data->pos_left_foot;
2101HumanSkeletonInterface::pos_left_foot(
unsigned int index)
const
2104 throw Exception(
"Index value %u out of bounds (0..2)", index);
2106 return data->pos_left_foot[index];
2114HumanSkeletonInterface::maxlenof_pos_left_foot()
const
2125HumanSkeletonInterface::set_pos_left_foot(
const float * new_pos_left_foot)
2127 set_field(data->pos_left_foot, new_pos_left_foot);
2137HumanSkeletonInterface::set_pos_left_foot(
unsigned int index,
const float new_pos_left_foot)
2139 set_field(data->pos_left_foot, index, new_pos_left_foot);
2147HumanSkeletonInterface::pos_left_foot_confidence()
const
2149 return data->pos_left_foot_confidence;
2157HumanSkeletonInterface::maxlenof_pos_left_foot_confidence()
const
2168HumanSkeletonInterface::set_pos_left_foot_confidence(
const float new_pos_left_foot_confidence)
2170 set_field(data->pos_left_foot_confidence, new_pos_left_foot_confidence);
2179HumanSkeletonInterface::pos_right_hip()
const
2181 return data->pos_right_hip;
2192HumanSkeletonInterface::pos_right_hip(
unsigned int index)
const
2195 throw Exception(
"Index value %u out of bounds (0..2)", index);
2197 return data->pos_right_hip[index];
2205HumanSkeletonInterface::maxlenof_pos_right_hip()
const
2216HumanSkeletonInterface::set_pos_right_hip(
const float * new_pos_right_hip)
2218 set_field(data->pos_right_hip, new_pos_right_hip);
2228HumanSkeletonInterface::set_pos_right_hip(
unsigned int index,
const float new_pos_right_hip)
2230 set_field(data->pos_right_hip, index, new_pos_right_hip);
2238HumanSkeletonInterface::pos_right_hip_confidence()
const
2240 return data->pos_right_hip_confidence;
2248HumanSkeletonInterface::maxlenof_pos_right_hip_confidence()
const
2259HumanSkeletonInterface::set_pos_right_hip_confidence(
const float new_pos_right_hip_confidence)
2261 set_field(data->pos_right_hip_confidence, new_pos_right_hip_confidence);
2270HumanSkeletonInterface::pos_right_knee()
const
2272 return data->pos_right_knee;
2283HumanSkeletonInterface::pos_right_knee(
unsigned int index)
const
2286 throw Exception(
"Index value %u out of bounds (0..2)", index);
2288 return data->pos_right_knee[index];
2296HumanSkeletonInterface::maxlenof_pos_right_knee()
const
2307HumanSkeletonInterface::set_pos_right_knee(
const float * new_pos_right_knee)
2309 set_field(data->pos_right_knee, new_pos_right_knee);
2319HumanSkeletonInterface::set_pos_right_knee(
unsigned int index,
const float new_pos_right_knee)
2321 set_field(data->pos_right_knee, index, new_pos_right_knee);
2329HumanSkeletonInterface::pos_right_knee_confidence()
const
2331 return data->pos_right_knee_confidence;
2339HumanSkeletonInterface::maxlenof_pos_right_knee_confidence()
const
2350HumanSkeletonInterface::set_pos_right_knee_confidence(
const float new_pos_right_knee_confidence)
2352 set_field(data->pos_right_knee_confidence, new_pos_right_knee_confidence);
2361HumanSkeletonInterface::pos_right_ankle()
const
2363 return data->pos_right_ankle;
2374HumanSkeletonInterface::pos_right_ankle(
unsigned int index)
const
2377 throw Exception(
"Index value %u out of bounds (0..2)", index);
2379 return data->pos_right_ankle[index];
2387HumanSkeletonInterface::maxlenof_pos_right_ankle()
const
2398HumanSkeletonInterface::set_pos_right_ankle(
const float * new_pos_right_ankle)
2400 set_field(data->pos_right_ankle, new_pos_right_ankle);
2410HumanSkeletonInterface::set_pos_right_ankle(
unsigned int index,
const float new_pos_right_ankle)
2412 set_field(data->pos_right_ankle, index, new_pos_right_ankle);
2420HumanSkeletonInterface::pos_right_ankle_confidence()
const
2422 return data->pos_right_ankle_confidence;
2430HumanSkeletonInterface::maxlenof_pos_right_ankle_confidence()
const
2441HumanSkeletonInterface::set_pos_right_ankle_confidence(
const float new_pos_right_ankle_confidence)
2443 set_field(data->pos_right_ankle_confidence, new_pos_right_ankle_confidence);
2452HumanSkeletonInterface::pos_right_foot()
const
2454 return data->pos_right_foot;
2465HumanSkeletonInterface::pos_right_foot(
unsigned int index)
const
2468 throw Exception(
"Index value %u out of bounds (0..2)", index);
2470 return data->pos_right_foot[index];
2478HumanSkeletonInterface::maxlenof_pos_right_foot()
const
2489HumanSkeletonInterface::set_pos_right_foot(
const float * new_pos_right_foot)
2491 set_field(data->pos_right_foot, new_pos_right_foot);
2501HumanSkeletonInterface::set_pos_right_foot(
unsigned int index,
const float new_pos_right_foot)
2503 set_field(data->pos_right_foot, index, new_pos_right_foot);
2511HumanSkeletonInterface::pos_right_foot_confidence()
const
2513 return data->pos_right_foot_confidence;
2521HumanSkeletonInterface::maxlenof_pos_right_foot_confidence()
const
2532HumanSkeletonInterface::set_pos_right_foot_confidence(
const float new_pos_right_foot_confidence)
2534 set_field(data->pos_right_foot_confidence, new_pos_right_foot_confidence);
2542HumanSkeletonInterface::ori_head()
const
2544 return data->ori_head;
2554HumanSkeletonInterface::ori_head(
unsigned int index)
const
2557 throw Exception(
"Index value %u out of bounds (0..8)", index);
2559 return data->ori_head[index];
2567HumanSkeletonInterface::maxlenof_ori_head()
const
2577HumanSkeletonInterface::set_ori_head(
const float * new_ori_head)
2579 set_field(data->ori_head, new_ori_head);
2588HumanSkeletonInterface::set_ori_head(
unsigned int index,
const float new_ori_head)
2590 set_field(data->ori_head, index, new_ori_head);
2598HumanSkeletonInterface::ori_head_confidence()
const
2600 return data->ori_head_confidence;
2608HumanSkeletonInterface::maxlenof_ori_head_confidence()
const
2619HumanSkeletonInterface::set_ori_head_confidence(
const float new_ori_head_confidence)
2621 set_field(data->ori_head_confidence, new_ori_head_confidence);
2629HumanSkeletonInterface::ori_neck()
const
2631 return data->ori_neck;
2641HumanSkeletonInterface::ori_neck(
unsigned int index)
const
2644 throw Exception(
"Index value %u out of bounds (0..8)", index);
2646 return data->ori_neck[index];
2654HumanSkeletonInterface::maxlenof_ori_neck()
const
2664HumanSkeletonInterface::set_ori_neck(
const float * new_ori_neck)
2666 set_field(data->ori_neck, new_ori_neck);
2675HumanSkeletonInterface::set_ori_neck(
unsigned int index,
const float new_ori_neck)
2677 set_field(data->ori_neck, index, new_ori_neck);
2685HumanSkeletonInterface::ori_neck_confidence()
const
2687 return data->ori_neck_confidence;
2695HumanSkeletonInterface::maxlenof_ori_neck_confidence()
const
2706HumanSkeletonInterface::set_ori_neck_confidence(
const float new_ori_neck_confidence)
2708 set_field(data->ori_neck_confidence, new_ori_neck_confidence);
2716HumanSkeletonInterface::ori_torso()
const
2718 return data->ori_torso;
2728HumanSkeletonInterface::ori_torso(
unsigned int index)
const
2731 throw Exception(
"Index value %u out of bounds (0..8)", index);
2733 return data->ori_torso[index];
2741HumanSkeletonInterface::maxlenof_ori_torso()
const
2751HumanSkeletonInterface::set_ori_torso(
const float * new_ori_torso)
2753 set_field(data->ori_torso, new_ori_torso);
2762HumanSkeletonInterface::set_ori_torso(
unsigned int index,
const float new_ori_torso)
2764 set_field(data->ori_torso, index, new_ori_torso);
2772HumanSkeletonInterface::ori_torso_confidence()
const
2774 return data->ori_torso_confidence;
2782HumanSkeletonInterface::maxlenof_ori_torso_confidence()
const
2793HumanSkeletonInterface::set_ori_torso_confidence(
const float new_ori_torso_confidence)
2795 set_field(data->ori_torso_confidence, new_ori_torso_confidence);
2803HumanSkeletonInterface::ori_waist()
const
2805 return data->ori_waist;
2815HumanSkeletonInterface::ori_waist(
unsigned int index)
const
2818 throw Exception(
"Index value %u out of bounds (0..8)", index);
2820 return data->ori_waist[index];
2828HumanSkeletonInterface::maxlenof_ori_waist()
const
2838HumanSkeletonInterface::set_ori_waist(
const float * new_ori_waist)
2840 set_field(data->ori_waist, new_ori_waist);
2849HumanSkeletonInterface::set_ori_waist(
unsigned int index,
const float new_ori_waist)
2851 set_field(data->ori_waist, index, new_ori_waist);
2859HumanSkeletonInterface::ori_waist_confidence()
const
2861 return data->ori_waist_confidence;
2869HumanSkeletonInterface::maxlenof_ori_waist_confidence()
const
2880HumanSkeletonInterface::set_ori_waist_confidence(
const float new_ori_waist_confidence)
2882 set_field(data->ori_waist_confidence, new_ori_waist_confidence);
2891HumanSkeletonInterface::ori_left_collar()
const
2893 return data->ori_left_collar;
2904HumanSkeletonInterface::ori_left_collar(
unsigned int index)
const
2907 throw Exception(
"Index value %u out of bounds (0..8)", index);
2909 return data->ori_left_collar[index];
2917HumanSkeletonInterface::maxlenof_ori_left_collar()
const
2928HumanSkeletonInterface::set_ori_left_collar(
const float * new_ori_left_collar)
2930 set_field(data->ori_left_collar, new_ori_left_collar);
2940HumanSkeletonInterface::set_ori_left_collar(
unsigned int index,
const float new_ori_left_collar)
2942 set_field(data->ori_left_collar, index, new_ori_left_collar);
2950HumanSkeletonInterface::ori_left_collar_confidence()
const
2952 return data->ori_left_collar_confidence;
2960HumanSkeletonInterface::maxlenof_ori_left_collar_confidence()
const
2971HumanSkeletonInterface::set_ori_left_collar_confidence(
const float new_ori_left_collar_confidence)
2973 set_field(data->ori_left_collar_confidence, new_ori_left_collar_confidence);
2982HumanSkeletonInterface::ori_left_shoulder()
const
2984 return data->ori_left_shoulder;
2995HumanSkeletonInterface::ori_left_shoulder(
unsigned int index)
const
2998 throw Exception(
"Index value %u out of bounds (0..8)", index);
3000 return data->ori_left_shoulder[index];
3008HumanSkeletonInterface::maxlenof_ori_left_shoulder()
const
3019HumanSkeletonInterface::set_ori_left_shoulder(
const float * new_ori_left_shoulder)
3021 set_field(data->ori_left_shoulder, new_ori_left_shoulder);
3031HumanSkeletonInterface::set_ori_left_shoulder(
unsigned int index,
const float new_ori_left_shoulder)
3033 set_field(data->ori_left_shoulder, index, new_ori_left_shoulder);
3041HumanSkeletonInterface::ori_left_shoulder_confidence()
const
3043 return data->ori_left_shoulder_confidence;
3051HumanSkeletonInterface::maxlenof_ori_left_shoulder_confidence()
const
3062HumanSkeletonInterface::set_ori_left_shoulder_confidence(
const float new_ori_left_shoulder_confidence)
3064 set_field(data->ori_left_shoulder_confidence, new_ori_left_shoulder_confidence);
3073HumanSkeletonInterface::ori_left_elbow()
const
3075 return data->ori_left_elbow;
3086HumanSkeletonInterface::ori_left_elbow(
unsigned int index)
const
3089 throw Exception(
"Index value %u out of bounds (0..8)", index);
3091 return data->ori_left_elbow[index];
3099HumanSkeletonInterface::maxlenof_ori_left_elbow()
const
3110HumanSkeletonInterface::set_ori_left_elbow(
const float * new_ori_left_elbow)
3112 set_field(data->ori_left_elbow, new_ori_left_elbow);
3122HumanSkeletonInterface::set_ori_left_elbow(
unsigned int index,
const float new_ori_left_elbow)
3124 set_field(data->ori_left_elbow, index, new_ori_left_elbow);
3132HumanSkeletonInterface::ori_left_elbow_confidence()
const
3134 return data->ori_left_elbow_confidence;
3142HumanSkeletonInterface::maxlenof_ori_left_elbow_confidence()
const
3153HumanSkeletonInterface::set_ori_left_elbow_confidence(
const float new_ori_left_elbow_confidence)
3155 set_field(data->ori_left_elbow_confidence, new_ori_left_elbow_confidence);
3164HumanSkeletonInterface::ori_left_wrist()
const
3166 return data->ori_left_wrist;
3177HumanSkeletonInterface::ori_left_wrist(
unsigned int index)
const
3180 throw Exception(
"Index value %u out of bounds (0..8)", index);
3182 return data->ori_left_wrist[index];
3190HumanSkeletonInterface::maxlenof_ori_left_wrist()
const
3201HumanSkeletonInterface::set_ori_left_wrist(
const float * new_ori_left_wrist)
3203 set_field(data->ori_left_wrist, new_ori_left_wrist);
3213HumanSkeletonInterface::set_ori_left_wrist(
unsigned int index,
const float new_ori_left_wrist)
3215 set_field(data->ori_left_wrist, index, new_ori_left_wrist);
3223HumanSkeletonInterface::ori_left_wrist_confidence()
const
3225 return data->ori_left_wrist_confidence;
3233HumanSkeletonInterface::maxlenof_ori_left_wrist_confidence()
const
3244HumanSkeletonInterface::set_ori_left_wrist_confidence(
const float new_ori_left_wrist_confidence)
3246 set_field(data->ori_left_wrist_confidence, new_ori_left_wrist_confidence);
3255HumanSkeletonInterface::ori_left_hand()
const
3257 return data->ori_left_hand;
3268HumanSkeletonInterface::ori_left_hand(
unsigned int index)
const
3271 throw Exception(
"Index value %u out of bounds (0..8)", index);
3273 return data->ori_left_hand[index];
3281HumanSkeletonInterface::maxlenof_ori_left_hand()
const
3292HumanSkeletonInterface::set_ori_left_hand(
const float * new_ori_left_hand)
3294 set_field(data->ori_left_hand, new_ori_left_hand);
3304HumanSkeletonInterface::set_ori_left_hand(
unsigned int index,
const float new_ori_left_hand)
3306 set_field(data->ori_left_hand, index, new_ori_left_hand);
3314HumanSkeletonInterface::ori_left_hand_confidence()
const
3316 return data->ori_left_hand_confidence;
3324HumanSkeletonInterface::maxlenof_ori_left_hand_confidence()
const
3335HumanSkeletonInterface::set_ori_left_hand_confidence(
const float new_ori_left_hand_confidence)
3337 set_field(data->ori_left_hand_confidence, new_ori_left_hand_confidence);
3346HumanSkeletonInterface::ori_left_fingertip()
const
3348 return data->ori_left_fingertip;
3359HumanSkeletonInterface::ori_left_fingertip(
unsigned int index)
const
3362 throw Exception(
"Index value %u out of bounds (0..8)", index);
3364 return data->ori_left_fingertip[index];
3372HumanSkeletonInterface::maxlenof_ori_left_fingertip()
const
3383HumanSkeletonInterface::set_ori_left_fingertip(
const float * new_ori_left_fingertip)
3385 set_field(data->ori_left_fingertip, new_ori_left_fingertip);
3395HumanSkeletonInterface::set_ori_left_fingertip(
unsigned int index,
const float new_ori_left_fingertip)
3397 set_field(data->ori_left_fingertip, index, new_ori_left_fingertip);
3405HumanSkeletonInterface::ori_left_fingertip_confidence()
const
3407 return data->ori_left_fingertip_confidence;
3415HumanSkeletonInterface::maxlenof_ori_left_fingertip_confidence()
const
3426HumanSkeletonInterface::set_ori_left_fingertip_confidence(
const float new_ori_left_fingertip_confidence)
3428 set_field(data->ori_left_fingertip_confidence, new_ori_left_fingertip_confidence);
3437HumanSkeletonInterface::ori_right_collar()
const
3439 return data->ori_right_collar;
3450HumanSkeletonInterface::ori_right_collar(
unsigned int index)
const
3453 throw Exception(
"Index value %u out of bounds (0..8)", index);
3455 return data->ori_right_collar[index];
3463HumanSkeletonInterface::maxlenof_ori_right_collar()
const
3474HumanSkeletonInterface::set_ori_right_collar(
const float * new_ori_right_collar)
3476 set_field(data->ori_right_collar, new_ori_right_collar);
3486HumanSkeletonInterface::set_ori_right_collar(
unsigned int index,
const float new_ori_right_collar)
3488 set_field(data->ori_right_collar, index, new_ori_right_collar);
3496HumanSkeletonInterface::ori_right_collar_confidence()
const
3498 return data->ori_right_collar_confidence;
3506HumanSkeletonInterface::maxlenof_ori_right_collar_confidence()
const
3517HumanSkeletonInterface::set_ori_right_collar_confidence(
const float new_ori_right_collar_confidence)
3519 set_field(data->ori_right_collar_confidence, new_ori_right_collar_confidence);
3528HumanSkeletonInterface::ori_right_shoulder()
const
3530 return data->ori_right_shoulder;
3541HumanSkeletonInterface::ori_right_shoulder(
unsigned int index)
const
3544 throw Exception(
"Index value %u out of bounds (0..8)", index);
3546 return data->ori_right_shoulder[index];
3554HumanSkeletonInterface::maxlenof_ori_right_shoulder()
const
3565HumanSkeletonInterface::set_ori_right_shoulder(
const float * new_ori_right_shoulder)
3567 set_field(data->ori_right_shoulder, new_ori_right_shoulder);
3577HumanSkeletonInterface::set_ori_right_shoulder(
unsigned int index,
const float new_ori_right_shoulder)
3579 set_field(data->ori_right_shoulder, index, new_ori_right_shoulder);
3587HumanSkeletonInterface::ori_right_shoulder_confidence()
const
3589 return data->ori_right_shoulder_confidence;
3597HumanSkeletonInterface::maxlenof_ori_right_shoulder_confidence()
const
3608HumanSkeletonInterface::set_ori_right_shoulder_confidence(
const float new_ori_right_shoulder_confidence)
3610 set_field(data->ori_right_shoulder_confidence, new_ori_right_shoulder_confidence);
3619HumanSkeletonInterface::ori_right_elbow()
const
3621 return data->ori_right_elbow;
3632HumanSkeletonInterface::ori_right_elbow(
unsigned int index)
const
3635 throw Exception(
"Index value %u out of bounds (0..8)", index);
3637 return data->ori_right_elbow[index];
3645HumanSkeletonInterface::maxlenof_ori_right_elbow()
const
3656HumanSkeletonInterface::set_ori_right_elbow(
const float * new_ori_right_elbow)
3658 set_field(data->ori_right_elbow, new_ori_right_elbow);
3668HumanSkeletonInterface::set_ori_right_elbow(
unsigned int index,
const float new_ori_right_elbow)
3670 set_field(data->ori_right_elbow, index, new_ori_right_elbow);
3678HumanSkeletonInterface::ori_right_elbow_confidence()
const
3680 return data->ori_right_elbow_confidence;
3688HumanSkeletonInterface::maxlenof_ori_right_elbow_confidence()
const
3699HumanSkeletonInterface::set_ori_right_elbow_confidence(
const float new_ori_right_elbow_confidence)
3701 set_field(data->ori_right_elbow_confidence, new_ori_right_elbow_confidence);
3710HumanSkeletonInterface::ori_right_wrist()
const
3712 return data->ori_right_wrist;
3723HumanSkeletonInterface::ori_right_wrist(
unsigned int index)
const
3726 throw Exception(
"Index value %u out of bounds (0..8)", index);
3728 return data->ori_right_wrist[index];
3736HumanSkeletonInterface::maxlenof_ori_right_wrist()
const
3747HumanSkeletonInterface::set_ori_right_wrist(
const float * new_ori_right_wrist)
3749 set_field(data->ori_right_wrist, new_ori_right_wrist);
3759HumanSkeletonInterface::set_ori_right_wrist(
unsigned int index,
const float new_ori_right_wrist)
3761 set_field(data->ori_right_wrist, index, new_ori_right_wrist);
3769HumanSkeletonInterface::ori_right_wrist_confidence()
const
3771 return data->ori_right_wrist_confidence;
3779HumanSkeletonInterface::maxlenof_ori_right_wrist_confidence()
const
3790HumanSkeletonInterface::set_ori_right_wrist_confidence(
const float new_ori_right_wrist_confidence)
3792 set_field(data->ori_right_wrist_confidence, new_ori_right_wrist_confidence);
3801HumanSkeletonInterface::ori_right_hand()
const
3803 return data->ori_right_hand;
3814HumanSkeletonInterface::ori_right_hand(
unsigned int index)
const
3817 throw Exception(
"Index value %u out of bounds (0..8)", index);
3819 return data->ori_right_hand[index];
3827HumanSkeletonInterface::maxlenof_ori_right_hand()
const
3838HumanSkeletonInterface::set_ori_right_hand(
const float * new_ori_right_hand)
3840 set_field(data->ori_right_hand, new_ori_right_hand);
3850HumanSkeletonInterface::set_ori_right_hand(
unsigned int index,
const float new_ori_right_hand)
3852 set_field(data->ori_right_hand, index, new_ori_right_hand);
3860HumanSkeletonInterface::ori_right_hand_confidence()
const
3862 return data->ori_right_hand_confidence;
3870HumanSkeletonInterface::maxlenof_ori_right_hand_confidence()
const
3881HumanSkeletonInterface::set_ori_right_hand_confidence(
const float new_ori_right_hand_confidence)
3883 set_field(data->ori_right_hand_confidence, new_ori_right_hand_confidence);
3892HumanSkeletonInterface::ori_right_fingertip()
const
3894 return data->ori_right_fingertip;
3905HumanSkeletonInterface::ori_right_fingertip(
unsigned int index)
const
3908 throw Exception(
"Index value %u out of bounds (0..8)", index);
3910 return data->ori_right_fingertip[index];
3918HumanSkeletonInterface::maxlenof_ori_right_fingertip()
const
3929HumanSkeletonInterface::set_ori_right_fingertip(
const float * new_ori_right_fingertip)
3931 set_field(data->ori_right_fingertip, new_ori_right_fingertip);
3941HumanSkeletonInterface::set_ori_right_fingertip(
unsigned int index,
const float new_ori_right_fingertip)
3943 set_field(data->ori_right_fingertip, index, new_ori_right_fingertip);
3951HumanSkeletonInterface::ori_right_fingertip_confidence()
const
3953 return data->ori_right_fingertip_confidence;
3961HumanSkeletonInterface::maxlenof_ori_right_fingertip_confidence()
const
3972HumanSkeletonInterface::set_ori_right_fingertip_confidence(
const float new_ori_right_fingertip_confidence)
3974 set_field(data->ori_right_fingertip_confidence, new_ori_right_fingertip_confidence);
3983HumanSkeletonInterface::ori_left_hip()
const
3985 return data->ori_left_hip;
3996HumanSkeletonInterface::ori_left_hip(
unsigned int index)
const
3999 throw Exception(
"Index value %u out of bounds (0..8)", index);
4001 return data->ori_left_hip[index];
4009HumanSkeletonInterface::maxlenof_ori_left_hip()
const
4020HumanSkeletonInterface::set_ori_left_hip(
const float * new_ori_left_hip)
4022 set_field(data->ori_left_hip, new_ori_left_hip);
4032HumanSkeletonInterface::set_ori_left_hip(
unsigned int index,
const float new_ori_left_hip)
4034 set_field(data->ori_left_hip, index, new_ori_left_hip);
4042HumanSkeletonInterface::ori_left_hip_confidence()
const
4044 return data->ori_left_hip_confidence;
4052HumanSkeletonInterface::maxlenof_ori_left_hip_confidence()
const
4063HumanSkeletonInterface::set_ori_left_hip_confidence(
const float new_ori_left_hip_confidence)
4065 set_field(data->ori_left_hip_confidence, new_ori_left_hip_confidence);
4074HumanSkeletonInterface::ori_left_knee()
const
4076 return data->ori_left_knee;
4087HumanSkeletonInterface::ori_left_knee(
unsigned int index)
const
4090 throw Exception(
"Index value %u out of bounds (0..8)", index);
4092 return data->ori_left_knee[index];
4100HumanSkeletonInterface::maxlenof_ori_left_knee()
const
4111HumanSkeletonInterface::set_ori_left_knee(
const float * new_ori_left_knee)
4113 set_field(data->ori_left_knee, new_ori_left_knee);
4123HumanSkeletonInterface::set_ori_left_knee(
unsigned int index,
const float new_ori_left_knee)
4125 set_field(data->ori_left_knee, index, new_ori_left_knee);
4133HumanSkeletonInterface::ori_left_knee_confidence()
const
4135 return data->ori_left_knee_confidence;
4143HumanSkeletonInterface::maxlenof_ori_left_knee_confidence()
const
4154HumanSkeletonInterface::set_ori_left_knee_confidence(
const float new_ori_left_knee_confidence)
4156 set_field(data->ori_left_knee_confidence, new_ori_left_knee_confidence);
4165HumanSkeletonInterface::ori_left_ankle()
const
4167 return data->ori_left_ankle;
4178HumanSkeletonInterface::ori_left_ankle(
unsigned int index)
const
4181 throw Exception(
"Index value %u out of bounds (0..8)", index);
4183 return data->ori_left_ankle[index];
4191HumanSkeletonInterface::maxlenof_ori_left_ankle()
const
4202HumanSkeletonInterface::set_ori_left_ankle(
const float * new_ori_left_ankle)
4204 set_field(data->ori_left_ankle, new_ori_left_ankle);
4214HumanSkeletonInterface::set_ori_left_ankle(
unsigned int index,
const float new_ori_left_ankle)
4216 set_field(data->ori_left_ankle, index, new_ori_left_ankle);
4224HumanSkeletonInterface::ori_left_ankle_confidence()
const
4226 return data->ori_left_ankle_confidence;
4234HumanSkeletonInterface::maxlenof_ori_left_ankle_confidence()
const
4245HumanSkeletonInterface::set_ori_left_ankle_confidence(
const float new_ori_left_ankle_confidence)
4247 set_field(data->ori_left_ankle_confidence, new_ori_left_ankle_confidence);
4256HumanSkeletonInterface::ori_left_foot()
const
4258 return data->ori_left_foot;
4269HumanSkeletonInterface::ori_left_foot(
unsigned int index)
const
4272 throw Exception(
"Index value %u out of bounds (0..8)", index);
4274 return data->ori_left_foot[index];
4282HumanSkeletonInterface::maxlenof_ori_left_foot()
const
4293HumanSkeletonInterface::set_ori_left_foot(
const float * new_ori_left_foot)
4295 set_field(data->ori_left_foot, new_ori_left_foot);
4305HumanSkeletonInterface::set_ori_left_foot(
unsigned int index,
const float new_ori_left_foot)
4307 set_field(data->ori_left_foot, index, new_ori_left_foot);
4315HumanSkeletonInterface::ori_left_foot_confidence()
const
4317 return data->ori_left_foot_confidence;
4325HumanSkeletonInterface::maxlenof_ori_left_foot_confidence()
const
4336HumanSkeletonInterface::set_ori_left_foot_confidence(
const float new_ori_left_foot_confidence)
4338 set_field(data->ori_left_foot_confidence, new_ori_left_foot_confidence);
4347HumanSkeletonInterface::ori_right_hip()
const
4349 return data->ori_right_hip;
4360HumanSkeletonInterface::ori_right_hip(
unsigned int index)
const
4363 throw Exception(
"Index value %u out of bounds (0..8)", index);
4365 return data->ori_right_hip[index];
4373HumanSkeletonInterface::maxlenof_ori_right_hip()
const
4384HumanSkeletonInterface::set_ori_right_hip(
const float * new_ori_right_hip)
4386 set_field(data->ori_right_hip, new_ori_right_hip);
4396HumanSkeletonInterface::set_ori_right_hip(
unsigned int index,
const float new_ori_right_hip)
4398 set_field(data->ori_right_hip, index, new_ori_right_hip);
4406HumanSkeletonInterface::ori_right_hip_confidence()
const
4408 return data->ori_right_hip_confidence;
4416HumanSkeletonInterface::maxlenof_ori_right_hip_confidence()
const
4427HumanSkeletonInterface::set_ori_right_hip_confidence(
const float new_ori_right_hip_confidence)
4429 set_field(data->ori_right_hip_confidence, new_ori_right_hip_confidence);
4438HumanSkeletonInterface::ori_right_knee()
const
4440 return data->ori_right_knee;
4451HumanSkeletonInterface::ori_right_knee(
unsigned int index)
const
4454 throw Exception(
"Index value %u out of bounds (0..8)", index);
4456 return data->ori_right_knee[index];
4464HumanSkeletonInterface::maxlenof_ori_right_knee()
const
4475HumanSkeletonInterface::set_ori_right_knee(
const float * new_ori_right_knee)
4477 set_field(data->ori_right_knee, new_ori_right_knee);
4487HumanSkeletonInterface::set_ori_right_knee(
unsigned int index,
const float new_ori_right_knee)
4489 set_field(data->ori_right_knee, index, new_ori_right_knee);
4497HumanSkeletonInterface::ori_right_knee_confidence()
const
4499 return data->ori_right_knee_confidence;
4507HumanSkeletonInterface::maxlenof_ori_right_knee_confidence()
const
4518HumanSkeletonInterface::set_ori_right_knee_confidence(
const float new_ori_right_knee_confidence)
4520 set_field(data->ori_right_knee_confidence, new_ori_right_knee_confidence);
4529HumanSkeletonInterface::ori_right_ankle()
const
4531 return data->ori_right_ankle;
4542HumanSkeletonInterface::ori_right_ankle(
unsigned int index)
const
4545 throw Exception(
"Index value %u out of bounds (0..8)", index);
4547 return data->ori_right_ankle[index];
4555HumanSkeletonInterface::maxlenof_ori_right_ankle()
const
4566HumanSkeletonInterface::set_ori_right_ankle(
const float * new_ori_right_ankle)
4568 set_field(data->ori_right_ankle, new_ori_right_ankle);
4578HumanSkeletonInterface::set_ori_right_ankle(
unsigned int index,
const float new_ori_right_ankle)
4580 set_field(data->ori_right_ankle, index, new_ori_right_ankle);
4588HumanSkeletonInterface::ori_right_ankle_confidence()
const
4590 return data->ori_right_ankle_confidence;
4598HumanSkeletonInterface::maxlenof_ori_right_ankle_confidence()
const
4609HumanSkeletonInterface::set_ori_right_ankle_confidence(
const float new_ori_right_ankle_confidence)
4611 set_field(data->ori_right_ankle_confidence, new_ori_right_ankle_confidence);
4620HumanSkeletonInterface::ori_right_foot()
const
4622 return data->ori_right_foot;
4633HumanSkeletonInterface::ori_right_foot(
unsigned int index)
const
4636 throw Exception(
"Index value %u out of bounds (0..8)", index);
4638 return data->ori_right_foot[index];
4646HumanSkeletonInterface::maxlenof_ori_right_foot()
const
4657HumanSkeletonInterface::set_ori_right_foot(
const float * new_ori_right_foot)
4659 set_field(data->ori_right_foot, new_ori_right_foot);
4669HumanSkeletonInterface::set_ori_right_foot(
unsigned int index,
const float new_ori_right_foot)
4671 set_field(data->ori_right_foot, index, new_ori_right_foot);
4679HumanSkeletonInterface::ori_right_foot_confidence()
const
4681 return data->ori_right_foot_confidence;
4689HumanSkeletonInterface::maxlenof_ori_right_foot_confidence()
const
4700HumanSkeletonInterface::set_ori_right_foot_confidence(
const float new_ori_right_foot_confidence)
4702 set_field(data->ori_right_foot_confidence, new_ori_right_foot_confidence);
4707HumanSkeletonInterface::create_message(
const char *type)
const
4710 "message type for this interface type.", type);
4723 type(), other->
type());
4725 memcpy(data, oi->data,
sizeof(HumanSkeletonInterface_data_t));
4729HumanSkeletonInterface::enum_tostring(
const char *enumtype,
int val)
const
4731 if (strcmp(enumtype,
"State") == 0) {
4732 return tostring_State((
State)val);
4743HumanSkeletonInterface::message_valid(
const Message *message)
const
Base class for exceptions in Fawkes.
HumanSkeletonInterface Fawkes BlackBoard Interface.
State
Current tracking state for the skeleton.
Base class for all Fawkes BlackBoard interfaces.
const char * type() const
Get type of interface.
Base class for all messages passed through interfaces in Fawkes BlackBoard.
Fawkes library namespace.