Fawkes API Fawkes Development Version
HumanSkeletonInterface.h
1
2/***************************************************************************
3 * HumanSkeletonInterface.h - Fawkes BlackBoard Interface - HumanSkeletonInterface
4 *
5 * Templated created: Thu Oct 12 10:49:19 2006
6 * Copyright 2007-2011 Tim Niemueller
7 *
8 ****************************************************************************/
9
10/* This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version. A runtime exception applies to
14 * this software (see LICENSE.GPL_WRE file mentioned below for details).
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Library General Public License for more details.
20 *
21 * Read the full text in the LICENSE.GPL_WRE file in the doc directory.
22 */
23
24#ifndef _INTERFACES_HUMANSKELETONINTERFACE_H_
25#define _INTERFACES_HUMANSKELETONINTERFACE_H_
26
27#include <interface/interface.h>
28#include <interface/message.h>
29#include <interface/field_iterator.h>
30
31namespace fawkes {
32
34{
35 /// @cond INTERNALS
36 INTERFACE_MGMT_FRIENDS(HumanSkeletonInterface)
37 /// @endcond
38 public:
39 /* constants */
40
41 /**
42 Current tracking state for the skeleton.
43 */
44 typedef enum {
45 STATE_INVALID /**<
46 This interface does not represent a valid skeleton at the moment.
47 */,
49 The user's pose is currently being determined. This usually indicates
50 that the tracker is looking for a particular calibration pose.
51 */,
53 The tracker is currently calibrating for the recognized human.
54 */,
55 STATE_TRACKING /**<
56 The user is being tracked and the skeleton contains valid data.
57 */
59 const char * tostring_State(State value) const;
60
61 private:
62 /** Internal data storage, do NOT modify! */
63 typedef struct {
64 int64_t timestamp_sec; /**< Interface Unix timestamp, seconds */
65 int64_t timestamp_usec; /**< Interface Unix timestamp, micro-seconds */
66 int32_t state; /**< Current state. */
67 uint32_t user_id; /**< Tracking ID of this user. */
68 int32_t visibility_history; /**<
69 The visibility history indicates the persistence of user sightings.
70 A positive value indicates the number of successful consecutive sightings
71 of the user (center of mass not equal to zero), the absolute of a negative
72 value gives the number of consecutive negative (non-) sightings. The value
73 is zero only if uninitialized.
74 */
75 char pose[32]; /**< Detected user pose. */
76 float com[3]; /**< Center of mass. */
77 float pos_head[3]; /**< Head position vector. */
78 float pos_head_confidence; /**<
79 Head position confidence. */
80 float pos_neck[3]; /**< Neck position vector. */
81 float pos_neck_confidence; /**<
82 Neck position confidence. */
83 float pos_torso[3]; /**< Torso position vector. */
84 float pos_torso_confidence; /**<
85 Torso position confidence. */
86 float pos_waist[3]; /**< Waist position vector. */
87 float pos_waist_confidence; /**<
88 Waist position confidence. */
89 float pos_left_collar[3]; /**<
90 Left position vector. */
92 Left position confidence. */
93 float pos_left_shoulder[3]; /**<
94 Left shoulder position vector. */
96 Left shoulder position confidence. */
97 float pos_left_elbow[3]; /**<
98 Left elbow position vector. */
99 float pos_left_elbow_confidence; /**<
100 Left elbow position confidence. */
101 float pos_left_wrist[3]; /**<
102 Left wrist position vector. */
103 float pos_left_wrist_confidence; /**<
104 Left wrist position confidence. */
105 float pos_left_hand[3]; /**<
106 Left hand position vector. */
107 float pos_left_hand_confidence; /**<
108 Left hand position confidence. */
109 float pos_left_fingertip[3]; /**<
110 Left fingertip position vector. */
112 Left fingertip position confidence. */
113 float pos_right_collar[3]; /**<
114 Right collar position vector. */
115 float pos_right_collar_confidence; /**<
116 Right collar position confidence. */
117 float pos_right_shoulder[3]; /**<
118 Right shoulder position vector. */
120 Right shoulder position confidence. */
121 float pos_right_elbow[3]; /**<
122 Right elbow position vector. */
123 float pos_right_elbow_confidence; /**<
124 Right elbow position confidence. */
125 float pos_right_wrist[3]; /**<
126 Right wrist position vector. */
127 float pos_right_wrist_confidence; /**<
128 Right wrist position confidence. */
129 float pos_right_hand[3]; /**<
130 Right hand position vector. */
131 float pos_right_hand_confidence; /**<
132 Right hand position confidence. */
133 float pos_right_fingertip[3]; /**<
134 Right fingertip position vector. */
136 Right fingertip position confidence. */
137 float pos_left_hip[3]; /**<
138 Left hip position vector. */
139 float pos_left_hip_confidence; /**<
140 Left hip position confidence. */
141 float pos_left_knee[3]; /**<
142 Left knee position vector. */
143 float pos_left_knee_confidence; /**<
144 Left knee position confidence. */
145 float pos_left_ankle[3]; /**<
146 Left ankle position vector. */
147 float pos_left_ankle_confidence; /**<
148 Left ankle position confidence. */
149 float pos_left_foot[3]; /**<
150 Left foot position vector. */
151 float pos_left_foot_confidence; /**<
152 Left foot position confidence. */
153 float pos_right_hip[3]; /**<
154 Right hip position vector. */
155 float pos_right_hip_confidence; /**<
156 Right hip position confidence. */
157 float pos_right_knee[3]; /**<
158 Right knee position vector. */
159 float pos_right_knee_confidence; /**<
160 Right knee position confidence. */
161 float pos_right_ankle[3]; /**<
162 Right ankle position vector. */
163 float pos_right_ankle_confidence; /**<
164 Right ankle position confidence. */
165 float pos_right_foot[3]; /**<
166 Right foot position vector. */
167 float pos_right_foot_confidence; /**<
168 Right foot position confidence. */
169 float ori_head[9]; /**< Head position vector. */
170 float ori_head_confidence; /**<
171 Head position confidence. */
172 float ori_neck[9]; /**< Neck position vector. */
173 float ori_neck_confidence; /**<
174 Neck position confidence. */
175 float ori_torso[9]; /**< Torso position vector. */
176 float ori_torso_confidence; /**<
177 Torso position confidence. */
178 float ori_waist[9]; /**< Waist position vector. */
179 float ori_waist_confidence; /**<
180 Waist position confidence. */
181 float ori_left_collar[9]; /**<
182 Left position vector. */
183 float ori_left_collar_confidence; /**<
184 Left position confidence. */
185 float ori_left_shoulder[9]; /**<
186 Left shoulder position vector. */
188 Left shoulder position confidence. */
189 float ori_left_elbow[9]; /**<
190 Left elbow position vector. */
191 float ori_left_elbow_confidence; /**<
192 Left elbow position confidence. */
193 float ori_left_wrist[9]; /**<
194 Left wrist position vector. */
195 float ori_left_wrist_confidence; /**<
196 Left wrist position confidence. */
197 float ori_left_hand[9]; /**<
198 Left hand position vector. */
199 float ori_left_hand_confidence; /**<
200 Left hand position confidence. */
201 float ori_left_fingertip[9]; /**<
202 Left fingertip position vector. */
204 Left fingertip position confidence. */
205 float ori_right_collar[9]; /**<
206 Right collar position vector. */
207 float ori_right_collar_confidence; /**<
208 Right collar position confidence. */
209 float ori_right_shoulder[9]; /**<
210 Right shoulder position vector. */
212 Right shoulder position confidence. */
213 float ori_right_elbow[9]; /**<
214 Right elbow position vector. */
215 float ori_right_elbow_confidence; /**<
216 Right elbow position confidence. */
217 float ori_right_wrist[9]; /**<
218 Right wrist position vector. */
219 float ori_right_wrist_confidence; /**<
220 Right wrist position confidence. */
221 float ori_right_hand[9]; /**<
222 Right hand position vector. */
223 float ori_right_hand_confidence; /**<
224 Right hand position confidence. */
225 float ori_right_fingertip[9]; /**<
226 Right fingertip position vector. */
228 Right fingertip position confidence. */
229 float ori_left_hip[9]; /**<
230 Left hip position vector. */
231 float ori_left_hip_confidence; /**<
232 Left hip position confidence. */
233 float ori_left_knee[9]; /**<
234 Left knee position vector. */
235 float ori_left_knee_confidence; /**<
236 Left knee position confidence. */
237 float ori_left_ankle[9]; /**<
238 Left ankle position vector. */
239 float ori_left_ankle_confidence; /**<
240 Left ankle position confidence. */
241 float ori_left_foot[9]; /**<
242 Left foot position vector. */
243 float ori_left_foot_confidence; /**<
244 Left foot position confidence. */
245 float ori_right_hip[9]; /**<
246 Right hip position vector. */
247 float ori_right_hip_confidence; /**<
248 Right hip position confidence. */
249 float ori_right_knee[9]; /**<
250 Right knee position vector. */
251 float ori_right_knee_confidence; /**<
252 Right knee position confidence. */
253 float ori_right_ankle[9]; /**<
254 Right ankle position vector. */
255 float ori_right_ankle_confidence; /**<
256 Right ankle position confidence. */
257 float ori_right_foot[9]; /**<
258 Right foot position vector. */
259 float ori_right_foot_confidence; /**<
260 Right foot position confidence. */
261 } HumanSkeletonInterface_data_t;
262
263 HumanSkeletonInterface_data_t *data;
264
265 interface_enum_map_t enum_map_State;
266 public:
267 /* messages */
268 virtual bool message_valid(const Message *message) const;
269 private:
270 HumanSkeletonInterface();
271 ~HumanSkeletonInterface();
272
273 public:
274 /* Methods */
275 State state() const;
276 void set_state(const State new_state);
277 size_t maxlenof_state() const;
278 uint32_t user_id() const;
279 void set_user_id(const uint32_t new_user_id);
280 size_t maxlenof_user_id() const;
281 int32_t visibility_history() const;
282 void set_visibility_history(const int32_t new_visibility_history);
283 size_t maxlenof_visibility_history() const;
284 char * pose() const;
285 void set_pose(const char * new_pose);
286 size_t maxlenof_pose() const;
287 float * com() const;
288 float com(unsigned int index) const;
289 void set_com(unsigned int index, const float new_com);
290 void set_com(const float * new_com);
291 size_t maxlenof_com() const;
292 float * pos_head() const;
293 float pos_head(unsigned int index) const;
294 void set_pos_head(unsigned int index, const float new_pos_head);
295 void set_pos_head(const float * new_pos_head);
296 size_t maxlenof_pos_head() const;
297 float pos_head_confidence() const;
298 void set_pos_head_confidence(const float new_pos_head_confidence);
299 size_t maxlenof_pos_head_confidence() const;
300 float * pos_neck() const;
301 float pos_neck(unsigned int index) const;
302 void set_pos_neck(unsigned int index, const float new_pos_neck);
303 void set_pos_neck(const float * new_pos_neck);
304 size_t maxlenof_pos_neck() const;
305 float pos_neck_confidence() const;
306 void set_pos_neck_confidence(const float new_pos_neck_confidence);
307 size_t maxlenof_pos_neck_confidence() const;
308 float * pos_torso() const;
309 float pos_torso(unsigned int index) const;
310 void set_pos_torso(unsigned int index, const float new_pos_torso);
311 void set_pos_torso(const float * new_pos_torso);
312 size_t maxlenof_pos_torso() const;
313 float pos_torso_confidence() const;
314 void set_pos_torso_confidence(const float new_pos_torso_confidence);
315 size_t maxlenof_pos_torso_confidence() const;
316 float * pos_waist() const;
317 float pos_waist(unsigned int index) const;
318 void set_pos_waist(unsigned int index, const float new_pos_waist);
319 void set_pos_waist(const float * new_pos_waist);
320 size_t maxlenof_pos_waist() const;
321 float pos_waist_confidence() const;
322 void set_pos_waist_confidence(const float new_pos_waist_confidence);
323 size_t maxlenof_pos_waist_confidence() const;
324 float * pos_left_collar() const;
325 float pos_left_collar(unsigned int index) const;
326 void set_pos_left_collar(unsigned int index, const float new_pos_left_collar);
327 void set_pos_left_collar(const float * new_pos_left_collar);
328 size_t maxlenof_pos_left_collar() const;
329 float pos_left_collar_confidence() const;
330 void set_pos_left_collar_confidence(const float new_pos_left_collar_confidence);
332 float * pos_left_shoulder() const;
333 float pos_left_shoulder(unsigned int index) const;
334 void set_pos_left_shoulder(unsigned int index, const float new_pos_left_shoulder);
335 void set_pos_left_shoulder(const float * new_pos_left_shoulder);
336 size_t maxlenof_pos_left_shoulder() const;
337 float pos_left_shoulder_confidence() const;
338 void set_pos_left_shoulder_confidence(const float new_pos_left_shoulder_confidence);
340 float * pos_left_elbow() const;
341 float pos_left_elbow(unsigned int index) const;
342 void set_pos_left_elbow(unsigned int index, const float new_pos_left_elbow);
343 void set_pos_left_elbow(const float * new_pos_left_elbow);
344 size_t maxlenof_pos_left_elbow() const;
345 float pos_left_elbow_confidence() const;
346 void set_pos_left_elbow_confidence(const float new_pos_left_elbow_confidence);
348 float * pos_left_wrist() const;
349 float pos_left_wrist(unsigned int index) const;
350 void set_pos_left_wrist(unsigned int index, const float new_pos_left_wrist);
351 void set_pos_left_wrist(const float * new_pos_left_wrist);
352 size_t maxlenof_pos_left_wrist() const;
353 float pos_left_wrist_confidence() const;
354 void set_pos_left_wrist_confidence(const float new_pos_left_wrist_confidence);
356 float * pos_left_hand() const;
357 float pos_left_hand(unsigned int index) const;
358 void set_pos_left_hand(unsigned int index, const float new_pos_left_hand);
359 void set_pos_left_hand(const float * new_pos_left_hand);
360 size_t maxlenof_pos_left_hand() const;
361 float pos_left_hand_confidence() const;
362 void set_pos_left_hand_confidence(const float new_pos_left_hand_confidence);
364 float * pos_left_fingertip() const;
365 float pos_left_fingertip(unsigned int index) const;
366 void set_pos_left_fingertip(unsigned int index, const float new_pos_left_fingertip);
367 void set_pos_left_fingertip(const float * new_pos_left_fingertip);
368 size_t maxlenof_pos_left_fingertip() const;
369 float pos_left_fingertip_confidence() const;
370 void set_pos_left_fingertip_confidence(const float new_pos_left_fingertip_confidence);
372 float * pos_right_collar() const;
373 float pos_right_collar(unsigned int index) const;
374 void set_pos_right_collar(unsigned int index, const float new_pos_right_collar);
375 void set_pos_right_collar(const float * new_pos_right_collar);
376 size_t maxlenof_pos_right_collar() const;
377 float pos_right_collar_confidence() const;
378 void set_pos_right_collar_confidence(const float new_pos_right_collar_confidence);
380 float * pos_right_shoulder() const;
381 float pos_right_shoulder(unsigned int index) const;
382 void set_pos_right_shoulder(unsigned int index, const float new_pos_right_shoulder);
383 void set_pos_right_shoulder(const float * new_pos_right_shoulder);
384 size_t maxlenof_pos_right_shoulder() const;
385 float pos_right_shoulder_confidence() const;
386 void set_pos_right_shoulder_confidence(const float new_pos_right_shoulder_confidence);
388 float * pos_right_elbow() const;
389 float pos_right_elbow(unsigned int index) const;
390 void set_pos_right_elbow(unsigned int index, const float new_pos_right_elbow);
391 void set_pos_right_elbow(const float * new_pos_right_elbow);
392 size_t maxlenof_pos_right_elbow() const;
393 float pos_right_elbow_confidence() const;
394 void set_pos_right_elbow_confidence(const float new_pos_right_elbow_confidence);
396 float * pos_right_wrist() const;
397 float pos_right_wrist(unsigned int index) const;
398 void set_pos_right_wrist(unsigned int index, const float new_pos_right_wrist);
399 void set_pos_right_wrist(const float * new_pos_right_wrist);
400 size_t maxlenof_pos_right_wrist() const;
401 float pos_right_wrist_confidence() const;
402 void set_pos_right_wrist_confidence(const float new_pos_right_wrist_confidence);
404 float * pos_right_hand() const;
405 float pos_right_hand(unsigned int index) const;
406 void set_pos_right_hand(unsigned int index, const float new_pos_right_hand);
407 void set_pos_right_hand(const float * new_pos_right_hand);
408 size_t maxlenof_pos_right_hand() const;
409 float pos_right_hand_confidence() const;
410 void set_pos_right_hand_confidence(const float new_pos_right_hand_confidence);
412 float * pos_right_fingertip() const;
413 float pos_right_fingertip(unsigned int index) const;
414 void set_pos_right_fingertip(unsigned int index, const float new_pos_right_fingertip);
415 void set_pos_right_fingertip(const float * new_pos_right_fingertip);
416 size_t maxlenof_pos_right_fingertip() const;
417 float pos_right_fingertip_confidence() const;
418 void set_pos_right_fingertip_confidence(const float new_pos_right_fingertip_confidence);
420 float * pos_left_hip() const;
421 float pos_left_hip(unsigned int index) const;
422 void set_pos_left_hip(unsigned int index, const float new_pos_left_hip);
423 void set_pos_left_hip(const float * new_pos_left_hip);
424 size_t maxlenof_pos_left_hip() const;
425 float pos_left_hip_confidence() const;
426 void set_pos_left_hip_confidence(const float new_pos_left_hip_confidence);
428 float * pos_left_knee() const;
429 float pos_left_knee(unsigned int index) const;
430 void set_pos_left_knee(unsigned int index, const float new_pos_left_knee);
431 void set_pos_left_knee(const float * new_pos_left_knee);
432 size_t maxlenof_pos_left_knee() const;
433 float pos_left_knee_confidence() const;
434 void set_pos_left_knee_confidence(const float new_pos_left_knee_confidence);
436 float * pos_left_ankle() const;
437 float pos_left_ankle(unsigned int index) const;
438 void set_pos_left_ankle(unsigned int index, const float new_pos_left_ankle);
439 void set_pos_left_ankle(const float * new_pos_left_ankle);
440 size_t maxlenof_pos_left_ankle() const;
441 float pos_left_ankle_confidence() const;
442 void set_pos_left_ankle_confidence(const float new_pos_left_ankle_confidence);
444 float * pos_left_foot() const;
445 float pos_left_foot(unsigned int index) const;
446 void set_pos_left_foot(unsigned int index, const float new_pos_left_foot);
447 void set_pos_left_foot(const float * new_pos_left_foot);
448 size_t maxlenof_pos_left_foot() const;
449 float pos_left_foot_confidence() const;
450 void set_pos_left_foot_confidence(const float new_pos_left_foot_confidence);
452 float * pos_right_hip() const;
453 float pos_right_hip(unsigned int index) const;
454 void set_pos_right_hip(unsigned int index, const float new_pos_right_hip);
455 void set_pos_right_hip(const float * new_pos_right_hip);
456 size_t maxlenof_pos_right_hip() const;
457 float pos_right_hip_confidence() const;
458 void set_pos_right_hip_confidence(const float new_pos_right_hip_confidence);
460 float * pos_right_knee() const;
461 float pos_right_knee(unsigned int index) const;
462 void set_pos_right_knee(unsigned int index, const float new_pos_right_knee);
463 void set_pos_right_knee(const float * new_pos_right_knee);
464 size_t maxlenof_pos_right_knee() const;
465 float pos_right_knee_confidence() const;
466 void set_pos_right_knee_confidence(const float new_pos_right_knee_confidence);
468 float * pos_right_ankle() const;
469 float pos_right_ankle(unsigned int index) const;
470 void set_pos_right_ankle(unsigned int index, const float new_pos_right_ankle);
471 void set_pos_right_ankle(const float * new_pos_right_ankle);
472 size_t maxlenof_pos_right_ankle() const;
473 float pos_right_ankle_confidence() const;
474 void set_pos_right_ankle_confidence(const float new_pos_right_ankle_confidence);
476 float * pos_right_foot() const;
477 float pos_right_foot(unsigned int index) const;
478 void set_pos_right_foot(unsigned int index, const float new_pos_right_foot);
479 void set_pos_right_foot(const float * new_pos_right_foot);
480 size_t maxlenof_pos_right_foot() const;
481 float pos_right_foot_confidence() const;
482 void set_pos_right_foot_confidence(const float new_pos_right_foot_confidence);
484 float * ori_head() const;
485 float ori_head(unsigned int index) const;
486 void set_ori_head(unsigned int index, const float new_ori_head);
487 void set_ori_head(const float * new_ori_head);
488 size_t maxlenof_ori_head() const;
489 float ori_head_confidence() const;
490 void set_ori_head_confidence(const float new_ori_head_confidence);
491 size_t maxlenof_ori_head_confidence() const;
492 float * ori_neck() const;
493 float ori_neck(unsigned int index) const;
494 void set_ori_neck(unsigned int index, const float new_ori_neck);
495 void set_ori_neck(const float * new_ori_neck);
496 size_t maxlenof_ori_neck() const;
497 float ori_neck_confidence() const;
498 void set_ori_neck_confidence(const float new_ori_neck_confidence);
499 size_t maxlenof_ori_neck_confidence() const;
500 float * ori_torso() const;
501 float ori_torso(unsigned int index) const;
502 void set_ori_torso(unsigned int index, const float new_ori_torso);
503 void set_ori_torso(const float * new_ori_torso);
504 size_t maxlenof_ori_torso() const;
505 float ori_torso_confidence() const;
506 void set_ori_torso_confidence(const float new_ori_torso_confidence);
507 size_t maxlenof_ori_torso_confidence() const;
508 float * ori_waist() const;
509 float ori_waist(unsigned int index) const;
510 void set_ori_waist(unsigned int index, const float new_ori_waist);
511 void set_ori_waist(const float * new_ori_waist);
512 size_t maxlenof_ori_waist() const;
513 float ori_waist_confidence() const;
514 void set_ori_waist_confidence(const float new_ori_waist_confidence);
515 size_t maxlenof_ori_waist_confidence() const;
516 float * ori_left_collar() const;
517 float ori_left_collar(unsigned int index) const;
518 void set_ori_left_collar(unsigned int index, const float new_ori_left_collar);
519 void set_ori_left_collar(const float * new_ori_left_collar);
520 size_t maxlenof_ori_left_collar() const;
521 float ori_left_collar_confidence() const;
522 void set_ori_left_collar_confidence(const float new_ori_left_collar_confidence);
524 float * ori_left_shoulder() const;
525 float ori_left_shoulder(unsigned int index) const;
526 void set_ori_left_shoulder(unsigned int index, const float new_ori_left_shoulder);
527 void set_ori_left_shoulder(const float * new_ori_left_shoulder);
528 size_t maxlenof_ori_left_shoulder() const;
529 float ori_left_shoulder_confidence() const;
530 void set_ori_left_shoulder_confidence(const float new_ori_left_shoulder_confidence);
532 float * ori_left_elbow() const;
533 float ori_left_elbow(unsigned int index) const;
534 void set_ori_left_elbow(unsigned int index, const float new_ori_left_elbow);
535 void set_ori_left_elbow(const float * new_ori_left_elbow);
536 size_t maxlenof_ori_left_elbow() const;
537 float ori_left_elbow_confidence() const;
538 void set_ori_left_elbow_confidence(const float new_ori_left_elbow_confidence);
540 float * ori_left_wrist() const;
541 float ori_left_wrist(unsigned int index) const;
542 void set_ori_left_wrist(unsigned int index, const float new_ori_left_wrist);
543 void set_ori_left_wrist(const float * new_ori_left_wrist);
544 size_t maxlenof_ori_left_wrist() const;
545 float ori_left_wrist_confidence() const;
546 void set_ori_left_wrist_confidence(const float new_ori_left_wrist_confidence);
548 float * ori_left_hand() const;
549 float ori_left_hand(unsigned int index) const;
550 void set_ori_left_hand(unsigned int index, const float new_ori_left_hand);
551 void set_ori_left_hand(const float * new_ori_left_hand);
552 size_t maxlenof_ori_left_hand() const;
553 float ori_left_hand_confidence() const;
554 void set_ori_left_hand_confidence(const float new_ori_left_hand_confidence);
556 float * ori_left_fingertip() const;
557 float ori_left_fingertip(unsigned int index) const;
558 void set_ori_left_fingertip(unsigned int index, const float new_ori_left_fingertip);
559 void set_ori_left_fingertip(const float * new_ori_left_fingertip);
560 size_t maxlenof_ori_left_fingertip() const;
561 float ori_left_fingertip_confidence() const;
562 void set_ori_left_fingertip_confidence(const float new_ori_left_fingertip_confidence);
564 float * ori_right_collar() const;
565 float ori_right_collar(unsigned int index) const;
566 void set_ori_right_collar(unsigned int index, const float new_ori_right_collar);
567 void set_ori_right_collar(const float * new_ori_right_collar);
568 size_t maxlenof_ori_right_collar() const;
569 float ori_right_collar_confidence() const;
570 void set_ori_right_collar_confidence(const float new_ori_right_collar_confidence);
572 float * ori_right_shoulder() const;
573 float ori_right_shoulder(unsigned int index) const;
574 void set_ori_right_shoulder(unsigned int index, const float new_ori_right_shoulder);
575 void set_ori_right_shoulder(const float * new_ori_right_shoulder);
576 size_t maxlenof_ori_right_shoulder() const;
577 float ori_right_shoulder_confidence() const;
578 void set_ori_right_shoulder_confidence(const float new_ori_right_shoulder_confidence);
580 float * ori_right_elbow() const;
581 float ori_right_elbow(unsigned int index) const;
582 void set_ori_right_elbow(unsigned int index, const float new_ori_right_elbow);
583 void set_ori_right_elbow(const float * new_ori_right_elbow);
584 size_t maxlenof_ori_right_elbow() const;
585 float ori_right_elbow_confidence() const;
586 void set_ori_right_elbow_confidence(const float new_ori_right_elbow_confidence);
588 float * ori_right_wrist() const;
589 float ori_right_wrist(unsigned int index) const;
590 void set_ori_right_wrist(unsigned int index, const float new_ori_right_wrist);
591 void set_ori_right_wrist(const float * new_ori_right_wrist);
592 size_t maxlenof_ori_right_wrist() const;
593 float ori_right_wrist_confidence() const;
594 void set_ori_right_wrist_confidence(const float new_ori_right_wrist_confidence);
596 float * ori_right_hand() const;
597 float ori_right_hand(unsigned int index) const;
598 void set_ori_right_hand(unsigned int index, const float new_ori_right_hand);
599 void set_ori_right_hand(const float * new_ori_right_hand);
600 size_t maxlenof_ori_right_hand() const;
601 float ori_right_hand_confidence() const;
602 void set_ori_right_hand_confidence(const float new_ori_right_hand_confidence);
604 float * ori_right_fingertip() const;
605 float ori_right_fingertip(unsigned int index) const;
606 void set_ori_right_fingertip(unsigned int index, const float new_ori_right_fingertip);
607 void set_ori_right_fingertip(const float * new_ori_right_fingertip);
608 size_t maxlenof_ori_right_fingertip() const;
609 float ori_right_fingertip_confidence() const;
610 void set_ori_right_fingertip_confidence(const float new_ori_right_fingertip_confidence);
612 float * ori_left_hip() const;
613 float ori_left_hip(unsigned int index) const;
614 void set_ori_left_hip(unsigned int index, const float new_ori_left_hip);
615 void set_ori_left_hip(const float * new_ori_left_hip);
616 size_t maxlenof_ori_left_hip() const;
617 float ori_left_hip_confidence() const;
618 void set_ori_left_hip_confidence(const float new_ori_left_hip_confidence);
620 float * ori_left_knee() const;
621 float ori_left_knee(unsigned int index) const;
622 void set_ori_left_knee(unsigned int index, const float new_ori_left_knee);
623 void set_ori_left_knee(const float * new_ori_left_knee);
624 size_t maxlenof_ori_left_knee() const;
625 float ori_left_knee_confidence() const;
626 void set_ori_left_knee_confidence(const float new_ori_left_knee_confidence);
628 float * ori_left_ankle() const;
629 float ori_left_ankle(unsigned int index) const;
630 void set_ori_left_ankle(unsigned int index, const float new_ori_left_ankle);
631 void set_ori_left_ankle(const float * new_ori_left_ankle);
632 size_t maxlenof_ori_left_ankle() const;
633 float ori_left_ankle_confidence() const;
634 void set_ori_left_ankle_confidence(const float new_ori_left_ankle_confidence);
636 float * ori_left_foot() const;
637 float ori_left_foot(unsigned int index) const;
638 void set_ori_left_foot(unsigned int index, const float new_ori_left_foot);
639 void set_ori_left_foot(const float * new_ori_left_foot);
640 size_t maxlenof_ori_left_foot() const;
641 float ori_left_foot_confidence() const;
642 void set_ori_left_foot_confidence(const float new_ori_left_foot_confidence);
644 float * ori_right_hip() const;
645 float ori_right_hip(unsigned int index) const;
646 void set_ori_right_hip(unsigned int index, const float new_ori_right_hip);
647 void set_ori_right_hip(const float * new_ori_right_hip);
648 size_t maxlenof_ori_right_hip() const;
649 float ori_right_hip_confidence() const;
650 void set_ori_right_hip_confidence(const float new_ori_right_hip_confidence);
652 float * ori_right_knee() const;
653 float ori_right_knee(unsigned int index) const;
654 void set_ori_right_knee(unsigned int index, const float new_ori_right_knee);
655 void set_ori_right_knee(const float * new_ori_right_knee);
656 size_t maxlenof_ori_right_knee() const;
657 float ori_right_knee_confidence() const;
658 void set_ori_right_knee_confidence(const float new_ori_right_knee_confidence);
660 float * ori_right_ankle() const;
661 float ori_right_ankle(unsigned int index) const;
662 void set_ori_right_ankle(unsigned int index, const float new_ori_right_ankle);
663 void set_ori_right_ankle(const float * new_ori_right_ankle);
664 size_t maxlenof_ori_right_ankle() const;
665 float ori_right_ankle_confidence() const;
666 void set_ori_right_ankle_confidence(const float new_ori_right_ankle_confidence);
668 float * ori_right_foot() const;
669 float ori_right_foot(unsigned int index) const;
670 void set_ori_right_foot(unsigned int index, const float new_ori_right_foot);
671 void set_ori_right_foot(const float * new_ori_right_foot);
672 size_t maxlenof_ori_right_foot() const;
673 float ori_right_foot_confidence() const;
674 void set_ori_right_foot_confidence(const float new_ori_right_foot_confidence);
676 virtual Message * create_message(const char *type) const;
677
678 virtual void copy_values(const Interface *other);
679 virtual const char * enum_tostring(const char *enumtype, int val) const;
680
681};
682
683} // end namespace fawkes
684
685#endif
HumanSkeletonInterface Fawkes BlackBoard Interface.
size_t maxlenof_pos_left_elbow() const
Get maximum length of pos_left_elbow value.
void set_pos_neck(unsigned int index, const float new_pos_neck)
Set pos_neck value at given index.
void set_pos_left_hip(unsigned int index, const float new_pos_left_hip)
Set pos_left_hip value at given index.
State state() const
Get state value.
void set_pos_left_wrist(unsigned int index, const float new_pos_left_wrist)
Set pos_left_wrist value at given index.
float * pos_left_shoulder() const
Get pos_left_shoulder value.
void set_ori_torso_confidence(const float new_ori_torso_confidence)
Set ori_torso_confidence value.
float * pos_right_elbow() const
Get pos_right_elbow value.
float ori_right_foot_confidence() const
Get ori_right_foot_confidence value.
float pos_right_ankle_confidence() const
Get pos_right_ankle_confidence value.
size_t maxlenof_ori_left_shoulder() const
Get maximum length of ori_left_shoulder value.
void set_pos_right_knee_confidence(const float new_pos_right_knee_confidence)
Set pos_right_knee_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 * ori_right_hip() const
Get ori_right_hip value.
void set_ori_left_fingertip(unsigned int index, const float new_ori_left_fingertip)
Set ori_left_fingertip value at given index.
size_t maxlenof_ori_waist_confidence() const
Get maximum length of ori_waist_confidence value.
size_t maxlenof_ori_left_hip() const
Get maximum length of ori_left_hip value.
size_t maxlenof_ori_right_hip_confidence() const
Get maximum length of ori_right_hip_confidence value.
size_t maxlenof_pos_right_shoulder_confidence() const
Get maximum length of pos_right_shoulder_confidence value.
void set_ori_left_ankle(unsigned int index, const float new_ori_left_ankle)
Set ori_left_ankle value at given index.
void set_ori_left_hip(unsigned int index, const float new_ori_left_hip)
Set ori_left_hip value at given index.
void set_ori_head(unsigned int index, const float new_ori_head)
Set ori_head value at given index.
size_t maxlenof_ori_left_hip_confidence() const
Get maximum length of ori_left_hip_confidence value.
size_t maxlenof_ori_right_knee_confidence() const
Get maximum length of ori_right_knee_confidence value.
size_t maxlenof_ori_left_fingertip() const
Get maximum length of ori_left_fingertip value.
size_t maxlenof_ori_waist() const
Get maximum length of ori_waist value.
size_t maxlenof_pos_torso_confidence() const
Get maximum length of pos_torso_confidence value.
size_t maxlenof_ori_left_elbow() const
Get maximum length of ori_left_elbow value.
float * pos_left_hip() const
Get pos_left_hip value.
size_t maxlenof_pos_left_knee_confidence() const
Get maximum length of pos_left_knee_confidence value.
size_t maxlenof_ori_right_ankle() const
Get maximum length of ori_right_ankle value.
float ori_right_ankle_confidence() const
Get ori_right_ankle_confidence value.
float pos_head_confidence() const
Get pos_head_confidence value.
size_t maxlenof_ori_left_hand_confidence() const
Get maximum length of ori_left_hand_confidence value.
void set_pos_right_wrist(unsigned int index, const float new_pos_right_wrist)
Set pos_right_wrist value at given index.
void set_pos_left_ankle(unsigned int index, const float new_pos_left_ankle)
Set pos_left_ankle value at given index.
size_t maxlenof_pos_right_elbow() const
Get maximum length of pos_right_elbow value.
float * ori_neck() const
Get ori_neck value.
float pos_right_hip_confidence() const
Get pos_right_hip_confidence value.
void set_ori_right_hand_confidence(const float new_ori_right_hand_confidence)
Set ori_right_hand_confidence value.
float * ori_right_wrist() const
Get ori_right_wrist value.
size_t maxlenof_ori_left_foot() const
Get maximum length of ori_left_foot value.
float pos_waist_confidence() const
Get pos_waist_confidence value.
void set_ori_torso(unsigned int index, const float new_ori_torso)
Set ori_torso 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.
size_t maxlenof_pos_left_wrist_confidence() const
Get maximum length of pos_left_wrist_confidence value.
size_t maxlenof_ori_neck() const
Get maximum length of ori_neck value.
void set_pos_waist(unsigned int index, const float new_pos_waist)
Set pos_waist value at given index.
size_t maxlenof_pos_head() const
Get maximum length of pos_head value.
size_t maxlenof_ori_right_wrist() const
Get maximum length of ori_right_wrist value.
size_t maxlenof_pos_left_collar() const
Get maximum length of pos_left_collar value.
size_t maxlenof_com() const
Get maximum length of com value.
float * ori_right_elbow() const
Get ori_right_elbow value.
size_t maxlenof_pos_left_hand_confidence() const
Get maximum length of pos_left_hand_confidence value.
float * ori_right_hand() const
Get ori_right_hand value.
void set_pos_right_wrist_confidence(const float new_pos_right_wrist_confidence)
Set pos_right_wrist_confidence value.
void set_pos_left_foot(unsigned int index, const float new_pos_left_foot)
Set pos_left_foot value at given index.
float pos_left_foot_confidence() const
Get pos_left_foot_confidence value.
void set_pos_left_hand(unsigned int index, const float new_pos_left_hand)
Set pos_left_hand value at given index.
float * ori_left_hand() const
Get ori_left_hand value.
uint32_t user_id() const
Get user_id value.
float pos_right_foot_confidence() const
Get pos_right_foot_confidence value.
void set_pos_left_elbow_confidence(const float new_pos_left_elbow_confidence)
Set pos_left_elbow_confidence 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_shoulder_confidence(const float new_pos_left_shoulder_confidence)
Set pos_left_shoulder_confidence value.
float * ori_left_collar() const
Get ori_left_collar value.
virtual Message * create_message(const char *type) const
Create message based on type name.
void set_pos_left_elbow(unsigned int index, const float new_pos_left_elbow)
Set pos_left_elbow value at given index.
void set_ori_left_collar_confidence(const float new_ori_left_collar_confidence)
Set ori_left_collar_confidence value.
size_t maxlenof_visibility_history() const
Get maximum length of visibility_history value.
size_t maxlenof_ori_right_collar_confidence() const
Get maximum length of ori_right_collar_confidence value.
size_t maxlenof_pose() const
Get maximum length of pose value.
void set_pos_right_elbow(unsigned int index, const float new_pos_right_elbow)
Set pos_right_elbow value at given index.
void set_pos_left_ankle_confidence(const float new_pos_left_ankle_confidence)
Set pos_left_ankle_confidence value.
void set_ori_right_knee(unsigned int index, const float new_ori_right_knee)
Set ori_right_knee value at given index.
size_t maxlenof_pos_right_foot_confidence() const
Get maximum length of pos_right_foot_confidence value.
void set_state(const State new_state)
Set state value.
void set_pos_neck_confidence(const float new_pos_neck_confidence)
Set pos_neck_confidence value.
float * ori_torso() const
Get ori_torso value.
size_t maxlenof_pos_right_wrist() const
Get maximum length of pos_right_wrist value.
size_t maxlenof_pos_waist() const
Get maximum length of pos_waist value.
void set_ori_left_shoulder_confidence(const float new_ori_left_shoulder_confidence)
Set ori_left_shoulder_confidence value.
float pos_right_knee_confidence() const
Get pos_right_knee_confidence value.
float * pos_right_knee() const
Get pos_right_knee value.
float * ori_waist() const
Get ori_waist value.
float * ori_left_hip() const
Get ori_left_hip value.
size_t maxlenof_pos_torso() const
Get maximum length of pos_torso value.
size_t maxlenof_ori_left_knee_confidence() const
Get maximum length of ori_left_knee_confidence value.
float * pos_left_foot() const
Get pos_left_foot value.
void set_pos_head(unsigned int index, const float new_pos_head)
Set pos_head value at given index.
float * pos_right_shoulder() const
Get pos_right_shoulder value.
float pos_right_fingertip_confidence() const
Get pos_right_fingertip_confidence value.
float pos_right_collar_confidence() const
Get pos_right_collar_confidence value.
float ori_left_hip_confidence() const
Get ori_left_hip_confidence value.
float pos_right_shoulder_confidence() const
Get pos_right_shoulder_confidence value.
void set_ori_right_fingertip_confidence(const float new_ori_right_fingertip_confidence)
Set ori_right_fingertip_confidence value.
float ori_neck_confidence() const
Get ori_neck_confidence value.
float * ori_right_collar() const
Get ori_right_collar value.
float ori_waist_confidence() const
Get ori_waist_confidence value.
void set_pos_left_knee_confidence(const float new_pos_left_knee_confidence)
Set pos_left_knee_confidence value.
size_t maxlenof_state() const
Get maximum length of state value.
void set_ori_right_foot(unsigned int index, const float new_ori_right_foot)
Set ori_right_foot value at given index.
float pos_left_ankle_confidence() const
Get pos_left_ankle_confidence value.
void set_ori_left_elbow_confidence(const float new_ori_left_elbow_confidence)
Set ori_left_elbow_confidence value.
void set_pos_head_confidence(const float new_pos_head_confidence)
Set pos_head_confidence value.
void set_ori_left_collar(unsigned int index, const float new_ori_left_collar)
Set ori_left_collar value at given index.
void set_ori_right_hip(unsigned int index, const float new_ori_right_hip)
Set ori_right_hip value at given index.
void set_ori_left_foot_confidence(const float new_ori_left_foot_confidence)
Set ori_left_foot_confidence value.
size_t maxlenof_pos_left_foot() const
Get maximum length of pos_left_foot value.
void set_ori_right_elbow(unsigned int index, const float new_ori_right_elbow)
Set ori_right_elbow value at given index.
float pos_right_elbow_confidence() const
Get pos_right_elbow_confidence value.
void set_pose(const char *new_pose)
Set pose value.
float * ori_left_knee() const
Get ori_left_knee value.
size_t maxlenof_ori_neck_confidence() const
Get maximum length of ori_neck_confidence value.
size_t maxlenof_ori_right_collar() const
Get maximum length of ori_right_collar value.
float pos_left_knee_confidence() const
Get pos_left_knee_confidence value.
size_t maxlenof_ori_right_elbow() const
Get maximum length of ori_right_elbow value.
void set_pos_left_wrist_confidence(const float new_pos_left_wrist_confidence)
Set pos_left_wrist_confidence value.
size_t maxlenof_pos_left_shoulder() const
Get maximum length of pos_left_shoulder value.
float * pos_left_knee() const
Get pos_left_knee value.
float * ori_right_foot() const
Get ori_right_foot value.
size_t maxlenof_ori_left_collar() const
Get maximum length of ori_left_collar value.
void set_ori_left_foot(unsigned int index, const float new_ori_left_foot)
Set ori_left_foot value at given index.
void set_ori_left_ankle_confidence(const float new_ori_left_ankle_confidence)
Set ori_left_ankle_confidence value.
void set_pos_right_collar(unsigned int index, const float new_pos_right_collar)
Set pos_right_collar value at given index.
size_t maxlenof_pos_right_collar() const
Get maximum length of pos_right_collar value.
float * ori_left_foot() const
Get ori_left_foot value.
float * pos_left_wrist() const
Get pos_left_wrist value.
void set_ori_right_ankle_confidence(const float new_ori_right_ankle_confidence)
Set ori_right_ankle_confidence value.
size_t maxlenof_pos_right_shoulder() const
Get maximum length of pos_right_shoulder value.
size_t maxlenof_pos_neck() const
Get maximum length of pos_neck value.
size_t maxlenof_ori_right_ankle_confidence() const
Get maximum length of ori_right_ankle_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_ori_left_hand(unsigned int index, const float new_ori_left_hand)
Set ori_left_hand value at given index.
float * ori_left_ankle() const
Get ori_left_ankle value.
char * pose() const
Get pose value.
float * pos_head() const
Get pos_head value.
size_t maxlenof_pos_right_hip_confidence() const
Get maximum length of pos_right_hip_confidence value.
float pos_left_hand_confidence() const
Get pos_left_hand_confidence value.
size_t maxlenof_ori_left_ankle_confidence() const
Get maximum length of ori_left_ankle_confidence value.
float ori_left_wrist_confidence() const
Get ori_left_wrist_confidence value.
float * pos_right_hip() const
Get pos_right_hip value.
size_t maxlenof_ori_left_elbow_confidence() const
Get maximum length of ori_left_elbow_confidence value.
float ori_right_shoulder_confidence() const
Get ori_right_shoulder_confidence value.
float ori_right_fingertip_confidence() const
Get ori_right_fingertip_confidence value.
size_t maxlenof_ori_left_hand() const
Get maximum length of ori_left_hand value.
void set_ori_neck_confidence(const float new_ori_neck_confidence)
Set ori_neck_confidence value.
void set_ori_right_shoulder_confidence(const float new_ori_right_shoulder_confidence)
Set ori_right_shoulder_confidence value.
void set_ori_waist_confidence(const float new_ori_waist_confidence)
Set ori_waist_confidence value.
void set_ori_right_elbow_confidence(const float new_ori_right_elbow_confidence)
Set ori_right_elbow_confidence value.
size_t maxlenof_ori_right_foot_confidence() const
Get maximum length of ori_right_foot_confidence value.
size_t maxlenof_pos_right_wrist_confidence() const
Get maximum length of pos_right_wrist_confidence value.
float * pos_right_ankle() const
Get pos_right_ankle value.
void set_ori_right_wrist_confidence(const float new_ori_right_wrist_confidence)
Set ori_right_wrist_confidence value.
size_t maxlenof_pos_right_hip() const
Get maximum length of pos_right_hip value.
float * ori_right_knee() const
Get ori_right_knee value.
void set_ori_right_ankle(unsigned int index, const float new_ori_right_ankle)
Set ori_right_ankle value at given index.
size_t maxlenof_ori_left_shoulder_confidence() const
Get maximum length of ori_left_shoulder_confidence value.
float ori_right_hip_confidence() const
Get ori_right_hip_confidence value.
const char * tostring_State(State value) const
Convert State constant to string.
size_t maxlenof_pos_head_confidence() const
Get maximum length of pos_head_confidence value.
size_t maxlenof_pos_left_ankle_confidence() const
Get maximum length of pos_left_ankle_confidence value.
size_t maxlenof_pos_right_fingertip_confidence() const
Get maximum length of pos_right_fingertip_confidence value.
float * ori_right_shoulder() const
Get ori_right_shoulder value.
size_t maxlenof_pos_left_shoulder_confidence() const
Get maximum length of pos_left_shoulder_confidence value.
size_t maxlenof_ori_right_hand() const
Get maximum length of ori_right_hand value.
size_t maxlenof_pos_right_foot() const
Get maximum length of pos_right_foot value.
void set_ori_right_hand(unsigned int index, const float new_ori_right_hand)
Set ori_right_hand value at given index.
size_t maxlenof_pos_right_collar_confidence() const
Get maximum length of pos_right_collar_confidence value.
float * pos_left_fingertip() const
Get pos_left_fingertip value.
size_t maxlenof_pos_right_hand_confidence() const
Get maximum length of pos_right_hand_confidence value.
float * pos_right_hand() const
Get pos_right_hand value.
float pos_neck_confidence() const
Get pos_neck_confidence value.
void set_pos_left_fingertip_confidence(const float new_pos_left_fingertip_confidence)
Set pos_left_fingertip_confidence value.
float * pos_waist() const
Get pos_waist value.
void set_ori_right_hip_confidence(const float new_ori_right_hip_confidence)
Set ori_right_hip_confidence value.
void set_pos_waist_confidence(const float new_pos_waist_confidence)
Set pos_waist_confidence value.
int32_t visibility_history() const
Get visibility_history value.
size_t maxlenof_ori_right_hand_confidence() const
Get maximum length of ori_right_hand_confidence value.
size_t maxlenof_pos_right_elbow_confidence() const
Get maximum length of pos_right_elbow_confidence value.
float pos_left_wrist_confidence() const
Get pos_left_wrist_confidence value.
void set_pos_torso(unsigned int index, const float new_pos_torso)
Set pos_torso value at given index.
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_head_confidence(const float new_ori_head_confidence)
Set ori_head_confidence value.
void set_pos_left_foot_confidence(const float new_pos_left_foot_confidence)
Set pos_left_foot_confidence value.
State
Current tracking state for the skeleton.
@ STATE_CALIBRATING
The tracker is currently calibrating for the recognized human.
@ STATE_INVALID
This interface does not represent a valid skeleton at the moment.
@ STATE_TRACKING
The user is being tracked and the skeleton contains valid data.
@ STATE_DETECTING_POSE
The user's pose is currently being determined.
size_t maxlenof_pos_left_collar_confidence() const
Get maximum length of pos_left_collar_confidence value.
void set_ori_left_hip_confidence(const float new_ori_left_hip_confidence)
Set ori_left_hip_confidence value.
virtual void copy_values(const Interface *other)
Copy values from other interface.
void set_pos_right_elbow_confidence(const float new_pos_right_elbow_confidence)
Set pos_right_elbow_confidence value.
size_t maxlenof_ori_right_fingertip_confidence() const
Get maximum length of ori_right_fingertip_confidence value.
size_t maxlenof_ori_right_wrist_confidence() const
Get maximum length of ori_right_wrist_confidence value.
void set_ori_waist(unsigned int index, const float new_ori_waist)
Set ori_waist value at given index.
float ori_right_collar_confidence() const
Get ori_right_collar_confidence value.
void set_pos_right_ankle(unsigned int index, const float new_pos_right_ankle)
Set pos_right_ankle value at given index.
void set_pos_right_hip_confidence(const float new_pos_right_hip_confidence)
Set pos_right_hip_confidence value.
void set_pos_right_collar_confidence(const float new_pos_right_collar_confidence)
Set pos_right_collar_confidence value.
size_t maxlenof_pos_right_ankle() const
Get maximum length of pos_right_ankle value.
float * pos_right_wrist() const
Get pos_right_wrist value.
float ori_head_confidence() const
Get ori_head_confidence value.
size_t maxlenof_pos_left_fingertip() const
Get maximum length of pos_left_fingertip value.
void set_com(unsigned int index, const float new_com)
Set com value at given index.
void set_ori_right_foot_confidence(const float new_ori_right_foot_confidence)
Set ori_right_foot_confidence value.
float ori_right_hand_confidence() const
Get ori_right_hand_confidence value.
size_t maxlenof_ori_head() const
Get maximum length of ori_head value.
size_t maxlenof_pos_neck_confidence() const
Get maximum length of pos_neck_confidence value.
float * pos_right_collar() const
Get pos_right_collar value.
size_t maxlenof_user_id() const
Get maximum length of user_id value.
void set_pos_right_hand_confidence(const float new_pos_right_hand_confidence)
Set pos_right_hand_confidence value.
float pos_left_collar_confidence() const
Get pos_left_collar_confidence value.
void set_pos_left_collar_confidence(const float new_pos_left_collar_confidence)
Set pos_left_collar_confidence value.
float * ori_right_fingertip() const
Get ori_right_fingertip value.
void set_ori_left_knee(unsigned int index, const float new_ori_left_knee)
Set ori_left_knee value at given index.
float * pos_left_collar() const
Get pos_left_collar value.
virtual const char * enum_tostring(const char *enumtype, int val) const
Convert arbitrary enum value to string.
size_t maxlenof_ori_right_elbow_confidence() const
Get maximum length of ori_right_elbow_confidence value.
void set_pos_left_collar(unsigned int index, const float new_pos_left_collar)
Set pos_left_collar value at given index.
float * pos_neck() const
Get pos_neck value.
size_t maxlenof_pos_left_wrist() const
Get maximum length of pos_left_wrist value.
void set_pos_right_fingertip(unsigned int index, const float new_pos_right_fingertip)
Set pos_right_fingertip value at given index.
float * pos_left_elbow() const
Get pos_left_elbow value.
size_t maxlenof_ori_right_hip() const
Get maximum length of ori_right_hip value.
float * ori_left_fingertip() const
Get ori_left_fingertip 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_ori_right_collar(unsigned int index, const float new_ori_right_collar)
Set ori_right_collar value at given index.
size_t maxlenof_ori_right_fingertip() const
Get maximum length of ori_right_fingertip value.
void set_pos_right_shoulder_confidence(const float new_pos_right_shoulder_confidence)
Set pos_right_shoulder_confidence value.
void set_pos_right_fingertip_confidence(const float new_pos_right_fingertip_confidence)
Set pos_right_fingertip_confidence value.
float pos_left_elbow_confidence() const
Get pos_left_elbow_confidence value.
void set_ori_right_knee_confidence(const float new_ori_right_knee_confidence)
Set ori_right_knee_confidence value.
float ori_left_elbow_confidence() const
Get ori_left_elbow_confidence value.
void set_ori_left_hand_confidence(const float new_ori_left_hand_confidence)
Set ori_left_hand_confidence value.
float pos_right_wrist_confidence() const
Get pos_right_wrist_confidence value.
float pos_right_hand_confidence() const
Get pos_right_hand_confidence value.
virtual bool message_valid(const Message *message) const
Check if message is valid and can be enqueued.
float * pos_right_fingertip() const
Get pos_right_fingertip value.
float pos_torso_confidence() const
Get pos_torso_confidence value.
size_t maxlenof_ori_right_shoulder() const
Get maximum length of ori_right_shoulder value.
size_t maxlenof_pos_left_fingertip_confidence() const
Get maximum length of pos_left_fingertip_confidence value.
size_t maxlenof_ori_torso_confidence() const
Get maximum length of ori_torso_confidence value.
float pos_left_hip_confidence() const
Get pos_left_hip_confidence value.
size_t maxlenof_ori_head_confidence() const
Get maximum length of ori_head_confidence value.
size_t maxlenof_pos_left_knee() const
Get maximum length of pos_left_knee value.
float ori_torso_confidence() const
Get ori_torso_confidence value.
size_t maxlenof_pos_left_elbow_confidence() const
Get maximum length of pos_left_elbow_confidence value.
void set_ori_right_collar_confidence(const float new_ori_right_collar_confidence)
Set ori_right_collar_confidence value.
float * pos_torso() const
Get pos_torso value.
void set_pos_left_hip_confidence(const float new_pos_left_hip_confidence)
Set pos_left_hip_confidence value.
void set_pos_right_foot_confidence(const float new_pos_right_foot_confidence)
Set pos_right_foot_confidence value.
size_t maxlenof_pos_right_fingertip() const
Get maximum length of pos_right_fingertip value.
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_pos_left_hand() const
Get maximum length of pos_left_hand value.
size_t maxlenof_pos_left_ankle() const
Get maximum length of pos_left_ankle value.
size_t maxlenof_ori_left_collar_confidence() const
Get maximum length of ori_left_collar_confidence value.
float * ori_head() const
Get ori_head value.
size_t maxlenof_pos_left_hip_confidence() const
Get maximum length of pos_left_hip_confidence value.
void set_pos_torso_confidence(const float new_pos_torso_confidence)
Set pos_torso_confidence value.
float ori_left_knee_confidence() const
Get ori_left_knee_confidence value.
size_t maxlenof_ori_right_knee() const
Get maximum length of ori_right_knee value.
size_t maxlenof_pos_waist_confidence() const
Get maximum length of pos_waist_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_ori_left_fingertip_confidence(const float new_ori_left_fingertip_confidence)
Set ori_left_fingertip_confidence value.
void set_pos_left_shoulder(unsigned int index, const float new_pos_left_shoulder)
Set pos_left_shoulder 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.
void set_ori_left_wrist(unsigned int index, const float new_ori_left_wrist)
Set ori_left_wrist value at given index.
size_t maxlenof_ori_left_knee() const
Get maximum length of ori_left_knee value.
float ori_right_knee_confidence() const
Get ori_right_knee_confidence value.
size_t maxlenof_pos_right_knee() const
Get maximum length of pos_right_knee value.
float * pos_right_foot() const
Get pos_right_foot value.
void set_ori_left_knee_confidence(const float new_ori_left_knee_confidence)
Set ori_left_knee_confidence value.
void set_pos_right_ankle_confidence(const float new_pos_right_ankle_confidence)
Set pos_right_ankle_confidence value.
float ori_left_shoulder_confidence() const
Get ori_left_shoulder_confidence value.
size_t maxlenof_pos_right_knee_confidence() const
Get maximum length of pos_right_knee_confidence value.
void set_ori_left_wrist_confidence(const float new_ori_left_wrist_confidence)
Set ori_left_wrist_confidence value.
size_t maxlenof_ori_left_wrist() const
Get maximum length of ori_left_wrist value.
float * com() const
Get com value.
void set_visibility_history(const int32_t new_visibility_history)
Set visibility_history value.
float ori_left_hand_confidence() const
Get ori_left_hand_confidence value.
size_t maxlenof_ori_right_foot() const
Get maximum length of ori_right_foot value.
float ori_right_elbow_confidence() const
Get ori_right_elbow_confidence value.
size_t maxlenof_ori_left_fingertip_confidence() const
Get maximum length of ori_left_fingertip_confidence value.
float ori_left_ankle_confidence() const
Get ori_left_ankle_confidence value.
size_t maxlenof_ori_left_wrist_confidence() const
Get maximum length of ori_left_wrist_confidence value.
float * pos_left_ankle() const
Get pos_left_ankle value.
float * ori_left_shoulder() const
Get ori_left_shoulder value.
void set_ori_neck(unsigned int index, const float new_ori_neck)
Set ori_neck 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.
float pos_left_fingertip_confidence() const
Get pos_left_fingertip_confidence value.
float * pos_left_hand() const
Get pos_left_hand value.
float * ori_left_wrist() const
Get ori_left_wrist value.
size_t maxlenof_pos_left_hip() const
Get maximum length of pos_left_hip value.
size_t maxlenof_pos_right_ankle_confidence() const
Get maximum length of pos_right_ankle_confidence value.
float ori_left_fingertip_confidence() const
Get ori_left_fingertip_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_pos_right_hip(unsigned int index, const float new_pos_right_hip)
Set pos_right_hip value at given index.
size_t maxlenof_pos_left_foot_confidence() const
Get maximum length of pos_left_foot_confidence value.
size_t maxlenof_ori_left_foot_confidence() const
Get maximum length of ori_left_foot_confidence value.
void set_pos_left_hand_confidence(const float new_pos_left_hand_confidence)
Set pos_left_hand_confidence value.
void set_user_id(const uint32_t new_user_id)
Set user_id value.
size_t maxlenof_pos_right_hand() const
Get maximum length of pos_right_hand value.
size_t maxlenof_ori_left_ankle() const
Get maximum length of ori_left_ankle value.
size_t maxlenof_ori_right_shoulder_confidence() const
Get maximum length of ori_right_shoulder_confidence value.
float ori_left_collar_confidence() const
Get ori_left_collar_confidence value.
float * ori_left_elbow() const
Get ori_left_elbow value.
float * ori_right_ankle() const
Get ori_right_ankle value.
size_t maxlenof_ori_torso() const
Get maximum length of ori_torso value.
float ori_left_foot_confidence() const
Get ori_left_foot_confidence value.
float pos_left_shoulder_confidence() const
Get pos_left_shoulder_confidence value.
float ori_right_wrist_confidence() const
Get ori_right_wrist_confidence value.
Base class for all Fawkes BlackBoard interfaces.
Definition: interface.h:80
const char * type() const
Get type of interface.
Definition: interface.cpp:652
Interface()
Constructor.
Definition: interface.cpp:239
Fawkes library namespace.
std::map< int, std::string > interface_enum_map_t
Map of enum integer to string values.
Definition: types.h:54