23 #ifndef __PLUGINS_OPENNI_SKELGUI_SKEL_DRAWER_H_
24 #define __PLUGINS_OPENNI_SKELGUI_SKEL_DRAWER_H_
26 #include <plugins/openni/utils/types.h>
28 #include <interfaces/HumanSkeletonInterface.h>
29 #include <interfaces/HumanSkeletonProjectionInterface.h>
30 #include <interfaces/ObjectPositionInterface.h>
43 fawkes::openni::HandMap &hands);
51 void print_string(
void *font,
char *str);
52 void draw_limb(
float *proj1,
float conf1,
float *proj2,
float conf2);
54 void draw_circle(
unsigned int id,
float *proj,
float radius);
57 fawkes::openni::UserMap &__users;
58 fawkes::openni::HandMap &__hands;
void toggle_print_state()
Toggle the printing state.
Draw body skeleton using OpenGL.
void draw()
Draw skeletons.
SkelGuiSkeletonDrawer(fawkes::openni::UserMap &users, fawkes::openni::HandMap &hands)
Constructor.
Print neither ID nor state.
void set_print_state(PrintState state)
Set print state.
PrintState
Print state enum.
User info to pass to draw_skeletons().