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