#include <iostream>
#include <vector>
#include <pthread.h>
#include <libfreenect.hpp>
#include <GL/glut.h>
Go to the source code of this file.
Classes | |
class | Mutex |
class | MyFreenectDevice |
class | Mutex::ScopedLock |
Functions | |
void | DrawGLScene () |
void | idleGLScene () |
void | keyPressed (unsigned char key, int x, int y) |
int | main (int argc, char **argv) |
void | mouseButtonPressed (int button, int state, int x, int y) |
void | mouseMoved (int x, int y) |
void | printInfo () |
void | resizeGLScene (int width, int height) |
int | window (0) |
Variables | |
float | anglex = 0 |
float | angley = 0 |
bool | color = true |
MyFreenectDevice * | device |
Freenect::Freenect | freenect |
int | mx = -1 |
int | my = -1 |
float | zoom = 1 |
void DrawGLScene | ( | ) |
Definition at line 155 of file cpp_pc_view.cpp.
void idleGLScene | ( | ) |
Definition at line 284 of file cpp_pc_view.cpp.
void keyPressed | ( | unsigned char | key, |
int | x, | ||
int | y | ||
) |
Definition at line 212 of file cpp_pc_view.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 301 of file cpp_pc_view.cpp.
void mouseButtonPressed | ( | int | button, |
int | state, | ||
int | x, | ||
int | y | ||
) |
Definition at line 245 of file cpp_pc_view.cpp.
void mouseMoved | ( | int | x, |
int | y | ||
) |
Definition at line 232 of file cpp_pc_view.cpp.
void printInfo | ( | ) |
Definition at line 290 of file cpp_pc_view.cpp.
void resizeGLScene | ( | int | width, |
int | height | ||
) |
Definition at line 273 of file cpp_pc_view.cpp.
int window | ( | 0 | ) |
float anglex = 0 |
Definition at line 150 of file cpp_pc_view.cpp.
float angley = 0 |
Definition at line 150 of file cpp_pc_view.cpp.
bool color = true |
Definition at line 152 of file cpp_pc_view.cpp.
MyFreenectDevice* device |
Definition at line 146 of file cpp_pc_view.cpp.
Freenect::Freenect freenect |
Definition at line 145 of file cpp_pc_view.cpp.
int mx = -1 |
Definition at line 149 of file cpp_pc_view.cpp.
int my = -1 |
Definition at line 149 of file cpp_pc_view.cpp.
float zoom = 1 |
Definition at line 151 of file cpp_pc_view.cpp.