#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <GL/gl.h>
#include <GL/glut.h>
#include <AR/gsubUtil.h>
#include <AR/gsub.h>
#include <AR/video.h>
#include <AR/param.h>
#include <AR/ar.h>
#include "object.h"
#include "draw_object.h"
Go to the source code of this file.
Defines | |
#define | TARGET_PATT_FILE "Data/patt.calib" |
Functions | |
static void | calibPostFunc (ARParam *lpara, ARParam *rpara) |
static void | cleanup (void) |
static int | init (int argc, char *argv[]) |
static void | keyEvent (unsigned char key, int x, int y) |
int | main (int argc, char **argv) |
static void | mainLoop (void) |
static void | mouseEvent (int button, int state, int x, int y) |
static void | usage (char *com) |
Variables | |
static int | count = 0 |
ARParam | cparam |
int | hmd_param_flag |
ObjectData_T * | object |
double | object_center [2] = {0.0, 0.0} |
int | objectnum |
int | opticalFlag = 0 |
int | saveFittingMode |
int | target_id |
int | thresh = 100 |
char * | vconf = "" |
int | xsize |
int | ysize |
#define TARGET_PATT_FILE "Data/patt.calib" |
Definition at line 22 of file examples/optical/optical.c.
static void calibPostFunc | ( | ARParam * | lpara, |
ARParam * | rpara | ||
) | [static] |
Definition at line 132 of file examples/optical/optical.c.
static void cleanup | ( | void | ) | [static] |
Definition at line 317 of file examples/optical/optical.c.
static int init | ( | int | argc, |
char * | argv[] | ||
) | [static] |
static void keyEvent | ( | unsigned char | key, |
int | x, | ||
int | y | ||
) | [static] |
Definition at line 78 of file examples/optical/optical.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 68 of file examples/optical/optical.c.
static void mainLoop | ( | void | ) | [static] |
Definition at line 154 of file examples/optical/optical.c.
static void mouseEvent | ( | int | button, |
int | state, | ||
int | x, | ||
int | y | ||
) | [static] |
Definition at line 110 of file examples/optical/optical.c.
static void usage | ( | char * | com | ) | [static] |
Definition at line 58 of file examples/optical/optical.c.
int count = 0 [static] |
Definition at line 46 of file examples/optical/optical.c.
Definition at line 39 of file examples/optical/optical.c.
int hmd_param_flag |
Definition at line 40 of file examples/optical/optical.c.
Definition at line 42 of file examples/optical/optical.c.
double object_center[2] = {0.0, 0.0} |
Definition at line 44 of file examples/optical/optical.c.
int objectnum |
Definition at line 43 of file examples/optical/optical.c.
int opticalFlag = 0 |
Definition at line 35 of file examples/optical/optical.c.
int saveFittingMode |
Definition at line 36 of file examples/optical/optical.c.
int target_id |
Definition at line 41 of file examples/optical/optical.c.
int thresh = 100 |
Definition at line 34 of file examples/optical/optical.c.
char* vconf = "" |
Definition at line 29 of file examples/optical/optical.c.
int xsize |
Definition at line 32 of file examples/optical/optical.c.
int ysize |
Definition at line 33 of file examples/optical/optical.c.