#include <inttypes.h>
#include "sensor_msgs/PointCloud2.h"
#include "cob_openni2_tracker/body_tracker.h"
#include <cob_openni2_tracker/NiteSampleUtilities.h>
#include <math.h>
#include <stdio.h>
Go to the source code of this file.
Defines | |
#define | __STDC_FORMAT_MACROS |
#define | GL_WIN_SIZE_X 640 |
#define | GL_WIN_SIZE_Y 512 |
#define | MAX_USERS 10 |
#define | MIN_CHUNKS_SIZE(data_size, chunk_size) (MIN_NUM_CHUNKS(data_size, chunk_size) * (chunk_size)) |
#define | MIN_NUM_CHUNKS(data_size, chunk_size) ((((data_size)-1) / (chunk_size) + 1)) |
#define | TEXTURE_SIZE 256 |
#define | USER_MESSAGE(msg) |
Functions | |
int | main (int argc, char **argv) |
Variables | |
int | colorCount = 3 |
float | Colors [][3] = {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}, {1, 1, 1}} |
static std::string | detector_ = "camera" |
char | generalMessage [100] = {0} |
nite::SkeletonState | skeletonStates [MAX_USERS] = {nite::SKELETON_NONE} |
char | userStatusLabels [MAX_USERS][100] = {{0}} |
bool | visibleUsers [MAX_USERS] = {false} |
#define __STDC_FORMAT_MACROS |
Definition at line 73 of file body_tracker.cpp.
#define GL_WIN_SIZE_X 640 |
Definition at line 85 of file body_tracker.cpp.
#define GL_WIN_SIZE_Y 512 |
Definition at line 86 of file body_tracker.cpp.
#define MAX_USERS 10 |
Definition at line 88 of file body_tracker.cpp.
#define MIN_CHUNKS_SIZE | ( | data_size, | |
chunk_size | |||
) | (MIN_NUM_CHUNKS(data_size, chunk_size) * (chunk_size)) |
Definition at line 90 of file body_tracker.cpp.
#define MIN_NUM_CHUNKS | ( | data_size, | |
chunk_size | |||
) | ((((data_size)-1) / (chunk_size) + 1)) |
Definition at line 89 of file body_tracker.cpp.
#define TEXTURE_SIZE 256 |
Definition at line 87 of file body_tracker.cpp.
#define USER_MESSAGE | ( | msg | ) |
{\ sprintf(userStatusLabels[user.getId()], "%s", msg);\ printf("[%08" PRIu64 "] User #%d:\t%s\n", ts, user.getId(), msg);}
Definition at line 92 of file body_tracker.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 900 of file body_tracker.cpp.
int colorCount = 3 |
Definition at line 98 of file body_tracker.cpp.
float Colors[][3] = {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}, {1, 1, 1}} |
Definition at line 96 of file body_tracker.cpp.
std::string detector_ = "camera" [static] |
Definition at line 102 of file body_tracker.cpp.
char generalMessage[100] = {0} |
Definition at line 101 of file body_tracker.cpp.
nite::SkeletonState skeletonStates[MAX_USERS] = {nite::SKELETON_NONE} |
Definition at line 99 of file body_tracker.cpp.
char userStatusLabels[MAX_USERS][100] = {{0}} |
Definition at line 100 of file body_tracker.cpp.
bool visibleUsers[MAX_USERS] = {false} |
Definition at line 97 of file body_tracker.cpp.