#include "cob_people_detection/SceneDrawer.h"
Go to the source code of this file.
Defines | |
#define | MAX_DEPTH 10000 |
Functions | |
void | DrawLimb (XnUserID player, XnSkeletonJoint eJoint1, XnSkeletonJoint eJoint2) |
unsigned int | getClosestPowerOfTwo (unsigned int n) |
void | PublishPeopleImage (const xn::DepthMetaData &dmd, const xn::SceneMetaData &smd, image_transport::Publisher &pub) |
Variables | |
XnFloat | Colors [][3] |
xn::DepthGenerator | g_DepthGenerator |
float | g_pDepthHist [MAX_DEPTH] |
xn::UserGenerator | g_UserGenerator |
XnUInt32 | nColors = 10 |
#define MAX_DEPTH 10000 |
Definition at line 31 of file SceneDrawer.cpp.
void DrawLimb | ( | XnUserID | player, |
XnSkeletonJoint | eJoint1, | ||
XnSkeletonJoint | eJoint2 | ||
) |
Definition at line 57 of file SceneDrawer.cpp.
unsigned int getClosestPowerOfTwo | ( | unsigned int | n | ) |
Definition at line 33 of file SceneDrawer.cpp.
void PublishPeopleImage | ( | const xn::DepthMetaData & | dmd, |
const xn::SceneMetaData & | smd, | ||
image_transport::Publisher & | pub | ||
) |
Definition at line 81 of file SceneDrawer.cpp.
XnFloat Colors[][3] |
{ { 0, 1, 1 }, { 0, 0, 1 }, { 0, 1, 0 }, { 1, 1, 0 }, { 1, 0, 0 }, { 1, .5, 0 }, { .5, 1, 0 }, { 0, .5, 1 }, { .5, 0, 1 }, { 1, 1, .5 }, { 1, 1, 1 } }
Definition at line 42 of file SceneDrawer.cpp.
xn::DepthGenerator g_DepthGenerator |
Definition at line 16 of file openni_tracker.cpp.
float g_pDepthHist[MAX_DEPTH] |
Definition at line 32 of file SceneDrawer.cpp.
xn::UserGenerator g_UserGenerator |
Definition at line 17 of file openni_tracker.cpp.
XnUInt32 nColors = 10 |
Definition at line 55 of file SceneDrawer.cpp.