23#ifndef _PLUGINS_OPENNI_PCLVIEWER_SKEL_DRAWER_H_
24#define _PLUGINS_OPENNI_PCLVIEWER_SKEL_DRAWER_H_
26#include <interfaces/HumanSkeletonInterface.h>
27#include <interfaces/HumanSkeletonProjectionInterface.h>
28#include <interfaces/ObjectPositionInterface.h>
29#include <plugins/openni/utils/types.h>
49 void print_string(
void *font,
char *str);
50 void draw_limb(
float *p1,
float conf1,
float *p2,
float conf2);
52 void draw_circle(
unsigned int id,
float *p,
float radius);
55 fawkes::openni::UserMap &users_;
56 fawkes::openni::HandMap &hands_;
Draw body skeleton using OpenGL (3D).
PrintState
Print state enum.
@ PRINT_ID_STATE
Print ID and state.
@ PRINT_NONE
Print neither ID nor state.
void draw()
Draw skeletons.
void set_print_state(PrintState state)
Set print state.
void toggle_print_state()
Toggle the printing state.
SkelGuiSkeletonDrawer3D(fawkes::openni::UserMap &users, fawkes::openni::HandMap &hands)
Constructor.
User info to pass to draw_skeletons().