glview.c File Reference
#include <stdio.h>
#include <string.h>
#include "libfreenect.h"
#include <stdint.h>
#include <libusb-1.0/libusb.h>
#include <pthread.h>
#include <GL/glut.h>
#include <GL/gl.h>
#include <GL/glu.h>
#include <math.h>
Go to the source code of this file.
Functions |
void | depth_cb (freenect_device *dev, void *v_depth, uint32_t timestamp) |
void | DrawGLScene () |
void * | freenect_threadfunc (void *arg) |
void * | gl_threadfunc (void *arg) |
void | InitGL (int Width, int Height) |
void | ir_cb (freenect_device *dev, freenect_pixel_ir *rgb, uint32_t timestamp) |
void | keyPressed (unsigned char key, int x, int y) |
int | main (int argc, char **argv) |
void | ReSizeGLScene (int Width, int Height) |
void | rgb_cb (freenect_device *dev, freenect_pixel *rgb, uint32_t timestamp) |
Variables |
volatile int | die = 0 |
freenect_context * | f_ctx |
freenect_device * | f_dev |
int | freenect_angle = 0 |
int | freenect_led |
pthread_t | freenect_thread |
int | g_argc |
char ** | g_argv |
pthread_mutex_t | gl_backbuf_mutex = PTHREAD_MUTEX_INITIALIZER |
uint8_t | gl_depth_back [640 *480 *4] |
uint8_t | gl_depth_front [640 *480 *4] |
GLuint | gl_depth_tex |
pthread_cond_t | gl_frame_cond = PTHREAD_COND_INITIALIZER |
uint8_t | gl_rgb_back [640 *480 *4] |
uint8_t | gl_rgb_front [640 *480 *4] |
GLuint | gl_rgb_tex |
int | got_frames = 0 |
int | ir_mode = 0 |
uint16_t | t_gamma [2048] |
int | window |
Function Documentation
void depth_cb |
( |
freenect_device * |
dev, |
|
|
void * |
v_depth, |
|
|
uint32_t |
timestamp | |
|
) |
| | |
void* freenect_threadfunc |
( |
void * |
arg |
) |
|
void* gl_threadfunc |
( |
void * |
arg |
) |
|
void InitGL |
( |
int |
Width, |
|
|
int |
Height | |
|
) |
| | |
void keyPressed |
( |
unsigned char |
key, |
|
|
int |
x, |
|
|
int |
y | |
|
) |
| | |
int main |
( |
int |
argc, |
|
|
char ** |
argv | |
|
) |
| | |
void ReSizeGLScene |
( |
int |
Width, |
|
|
int |
Height | |
|
) |
| | |
Variable Documentation