24 #ifndef __INTERFACES_HUMANSKELETONPROJECTIONINTERFACE_H_ 25 #define __INTERFACES_HUMANSKELETONPROJECTIONINTERFACE_H_ 27 #include <interface/interface.h> 28 #include <interface/message.h> 29 #include <interface/field_iterator.h> 43 typedef struct __attribute__((packed)) {
44 int64_t timestamp_sec;
45 int64_t timestamp_usec;
96 } HumanSkeletonProjectionInterface_data_t;
98 HumanSkeletonProjectionInterface_data_t *data;
115 uint32_t
res_x()
const;
116 void set_res_x(
const uint32_t new_res_x);
118 uint32_t
res_y()
const;
119 void set_res_y(
const uint32_t new_res_y);
125 float proj_com(
unsigned int index)
const;
126 void set_proj_com(
unsigned int index,
const float new_proj_com);
130 float proj_head(
unsigned int index)
const;
131 void set_proj_head(
unsigned int index,
const float new_proj_head);
135 float proj_neck(
unsigned int index)
const;
136 void set_proj_neck(
unsigned int index,
const float new_proj_neck);
141 void set_proj_torso(
unsigned int index,
const float new_proj_torso);
146 void set_proj_waist(
unsigned int index,
const float new_proj_waist);
252 virtual const char *
enum_tostring(
const char *enumtype,
int val)
const;
void set_proj_right_shoulder(unsigned int index, const float new_proj_right_shoulder)
Set proj_right_shoulder value at given index.
void set_proj_left_foot(unsigned int index, const float new_proj_left_foot)
Set proj_left_foot value at given index.
uint16_t max_depth() const
Get max_depth value.
float * proj_right_shoulder() const
Get proj_right_shoulder value.
void set_proj_left_ankle(unsigned int index, const float new_proj_left_ankle)
Set proj_left_ankle value at given index.
size_t maxlenof_proj_left_knee() const
Get maximum length of proj_left_knee value.
float * proj_right_foot() const
Get proj_right_foot value.
void set_proj_left_collar(unsigned int index, const float new_proj_left_collar)
Set proj_left_collar value at given index.
float * proj_left_ankle() const
Get proj_left_ankle value.
size_t maxlenof_proj_left_ankle() const
Get maximum length of proj_left_ankle value.
float * proj_right_ankle() const
Get proj_right_ankle value.
Base class for all messages passed through interfaces in Fawkes BlackBoard.
size_t maxlenof_proj_head() const
Get maximum length of proj_head value.
HumanSkeletonProjectionInterface Fawkes BlackBoard Interface.
void set_proj_right_fingertip(unsigned int index, const float new_proj_right_fingertip)
Set proj_right_fingertip value at given index.
size_t maxlenof_proj_right_hand() const
Get maximum length of proj_right_hand value.
size_t maxlenof_res_y() const
Get maximum length of res_y value.
void set_res_y(const uint32_t new_res_y)
Set res_y value.
void set_proj_right_collar(unsigned int index, const float new_proj_right_collar)
Set proj_right_collar value at given index.
size_t maxlenof_proj_left_hip() const
Get maximum length of proj_left_hip value.
size_t maxlenof_proj_left_hand() const
Get maximum length of proj_left_hand value.
size_t maxlenof_proj_neck() const
Get maximum length of proj_neck value.
void set_proj_left_knee(unsigned int index, const float new_proj_left_knee)
Set proj_left_knee value at given index.
size_t maxlenof_proj_right_elbow() const
Get maximum length of proj_right_elbow value.
size_t maxlenof_proj_left_foot() const
Get maximum length of proj_left_foot value.
Fawkes library namespace.
void set_proj_torso(unsigned int index, const float new_proj_torso)
Set proj_torso value at given index.
size_t maxlenof_proj_right_shoulder() const
Get maximum length of proj_right_shoulder value.
size_t maxlenof_proj_right_foot() const
Get maximum length of proj_right_foot value.
float * proj_left_wrist() const
Get proj_left_wrist value.
float * proj_head() const
Get proj_head value.
float * proj_left_hip() const
Get proj_left_hip value.
void set_proj_right_wrist(unsigned int index, const float new_proj_right_wrist)
Set proj_right_wrist value at given index.
float * proj_right_wrist() const
Get proj_right_wrist value.
size_t maxlenof_proj_left_elbow() const
Get maximum length of proj_left_elbow value.
void set_proj_right_foot(unsigned int index, const float new_proj_right_foot)
Set proj_right_foot value at given index.
size_t maxlenof_horizontal_fov() const
Get maximum length of horizontal_fov value.
size_t maxlenof_proj_left_collar() const
Get maximum length of proj_left_collar value.
float * proj_waist() const
Get proj_waist value.
Base class for all Fawkes BlackBoard interfaces.
size_t maxlenof_proj_com() const
Get maximum length of proj_com value.
size_t maxlenof_proj_right_collar() const
Get maximum length of proj_right_collar value.
void set_proj_head(unsigned int index, const float new_proj_head)
Set proj_head value at given index.
float horizontal_fov() const
Get horizontal_fov value.
void set_proj_right_hand(unsigned int index, const float new_proj_right_hand)
Set proj_right_hand value at given index.
size_t maxlenof_max_depth() const
Get maximum length of max_depth value.
size_t maxlenof_proj_left_fingertip() const
Get maximum length of proj_left_fingertip value.
float * proj_left_elbow() const
Get proj_left_elbow value.
float vertical_fov() const
Get vertical_fov value.
virtual void copy_values(const Interface *other)
Copy values from other interface.
float * proj_left_collar() const
Get proj_left_collar value.
virtual bool message_valid(const Message *message) const
Check if message is valid and can be enqueued.
size_t maxlenof_proj_right_wrist() const
Get maximum length of proj_right_wrist value.
void set_horizontal_fov(const float new_horizontal_fov)
Set horizontal_fov value.
void set_proj_com(unsigned int index, const float new_proj_com)
Set proj_com value at given index.
void set_proj_left_fingertip(unsigned int index, const float new_proj_left_fingertip)
Set proj_left_fingertip value at given index.
float * proj_right_hip() const
Get proj_right_hip value.
const char * type() const
Get type of interface.
virtual Message * create_message(const char *type) const
Create message based on type name.
size_t maxlenof_proj_left_wrist() const
Get maximum length of proj_left_wrist value.
float * proj_left_foot() const
Get proj_left_foot value.
size_t maxlenof_proj_right_hip() const
Get maximum length of proj_right_hip value.
uint32_t res_y() const
Get res_y value.
size_t maxlenof_proj_left_shoulder() const
Get maximum length of proj_left_shoulder value.
void set_proj_right_elbow(unsigned int index, const float new_proj_right_elbow)
Set proj_right_elbow value at given index.
void set_proj_waist(unsigned int index, const float new_proj_waist)
Set proj_waist value at given index.
float * proj_neck() const
Get proj_neck value.
size_t maxlenof_proj_right_knee() const
Get maximum length of proj_right_knee value.
size_t maxlenof_proj_right_ankle() const
Get maximum length of proj_right_ankle value.
float * proj_right_collar() const
Get proj_right_collar value.
void set_proj_neck(unsigned int index, const float new_proj_neck)
Set proj_neck value at given index.
void set_vertical_fov(const float new_vertical_fov)
Set vertical_fov value.
void set_proj_left_hip(unsigned int index, const float new_proj_left_hip)
Set proj_left_hip value at given index.
void set_proj_left_shoulder(unsigned int index, const float new_proj_left_shoulder)
Set proj_left_shoulder value at given index.
float * proj_torso() const
Get proj_torso value.
void set_proj_right_knee(unsigned int index, const float new_proj_right_knee)
Set proj_right_knee value at given index.
size_t maxlenof_proj_waist() const
Get maximum length of proj_waist value.
size_t maxlenof_res_x() const
Get maximum length of res_x value.
float * proj_left_knee() const
Get proj_left_knee value.
float * proj_right_hand() const
Get proj_right_hand value.
void set_proj_left_wrist(unsigned int index, const float new_proj_left_wrist)
Set proj_left_wrist value at given index.
uint32_t res_x() const
Get res_x value.
size_t maxlenof_vertical_fov() const
Get maximum length of vertical_fov value.
void set_proj_right_hip(unsigned int index, const float new_proj_right_hip)
Set proj_right_hip value at given index.
float * proj_right_elbow() const
Get proj_right_elbow value.
float * proj_left_shoulder() const
Get proj_left_shoulder value.
void set_max_depth(const uint16_t new_max_depth)
Set max_depth value.
void set_proj_left_elbow(unsigned int index, const float new_proj_left_elbow)
Set proj_left_elbow value at given index.
float * proj_right_fingertip() const
Get proj_right_fingertip value.
float * proj_com() const
Get proj_com value.
virtual const char * enum_tostring(const char *enumtype, int val) const
Convert arbitrary enum value to string.
size_t maxlenof_proj_right_fingertip() const
Get maximum length of proj_right_fingertip value.
void set_res_x(const uint32_t new_res_x)
Set res_x value.
float * proj_right_knee() const
Get proj_right_knee value.
float * proj_left_hand() const
Get proj_left_hand value.
float * proj_left_fingertip() const
Get proj_left_fingertip value.
size_t maxlenof_proj_torso() const
Get maximum length of proj_torso value.
void set_proj_right_ankle(unsigned int index, const float new_proj_right_ankle)
Set proj_right_ankle value at given index.
void set_proj_left_hand(unsigned int index, const float new_proj_left_hand)
Set proj_left_hand value at given index.