Defines | Functions | Variables
SceneDrawer.cpp File Reference
#include "cob_people_detection/SceneDrawer.h"
Include dependency graph for SceneDrawer.cpp:

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 Documentation

#define MAX_DEPTH   10000

Definition at line 31 of file SceneDrawer.cpp.


Function Documentation

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.


Variable Documentation

XnFloat Colors[][3]
Initial value:
{
{ 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.

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.



cob_people_detection
Author(s): Richard Bormann , Thomas Zwölfer
autogenerated on Fri Aug 28 2015 10:24:13