Classes | Defines | Functions | Variables
relationTest.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <GL/glut.h>
#include <AR/gsub.h>
#include <AR/video.h>
#include <AR/param.h>
#include <AR/ar.h>
Include dependency graph for examples/relation/relationTest.c:

Go to the source code of this file.

Classes

struct  OBJECT_T

Defines

#define OBJ1_MODEL_ID   1
#define OBJ1_PATT_NAME   "Data/patt.hiro"
#define OBJ1_SIZE   80.0
#define OBJ2_MODEL_ID   2
#define OBJ2_PATT_NAME   "Data/patt.kanji"
#define OBJ2_SIZE   80.0

Functions

static void cleanup (void)
static void draw (int object, double trans[3][4])
static void init (void)
static void keyEvent (unsigned char key, int x, int y)
int main (int argc, char *argv[])
static void mainLoop (void)

Variables

int count = 0
ARParam cparam
char * cparam_name = "Data/camera_para.dat"
OBJECT_T object [2]
int thresh = 100
char * vconf = ""
int xsize
int ysize

Define Documentation

#define OBJ1_MODEL_ID   1

Definition at line 21 of file examples/relation/relationTest.c.

#define OBJ1_PATT_NAME   "Data/patt.hiro"

Definition at line 16 of file examples/relation/relationTest.c.

#define OBJ1_SIZE   80.0

Definition at line 18 of file examples/relation/relationTest.c.

#define OBJ2_MODEL_ID   2

Definition at line 22 of file examples/relation/relationTest.c.

#define OBJ2_PATT_NAME   "Data/patt.kanji"

Definition at line 17 of file examples/relation/relationTest.c.

#define OBJ2_SIZE   80.0

Definition at line 19 of file examples/relation/relationTest.c.


Function Documentation

static void cleanup ( void  ) [static]

Definition at line 180 of file examples/relation/relationTest.c.

static void draw ( int  object,
double  trans[3][4] 
) [static]

Definition at line 187 of file examples/relation/relationTest.c.

static void init ( void  ) [static]
static void keyEvent ( unsigned char  key,
int  x,
int  y 
) [static]

Definition at line 71 of file examples/relation/relationTest.c.

int main ( int  argc,
char *  argv[] 
)

Definition at line 61 of file examples/relation/relationTest.c.

static void mainLoop ( void  ) [static]

Definition at line 82 of file examples/relation/relationTest.c.


Variable Documentation

int count = 0

Definition at line 49 of file examples/relation/relationTest.c.

Definition at line 52 of file examples/relation/relationTest.c.

char* cparam_name = "Data/camera_para.dat"

Definition at line 51 of file examples/relation/relationTest.c.

Initial value:
 {
             {OBJ1_PATT_NAME, -1, OBJ1_MODEL_ID, 0, OBJ1_SIZE, {0.0,0.0}},
             {OBJ2_PATT_NAME, -1, OBJ2_MODEL_ID, 0, OBJ2_SIZE, {0.0,0.0}}
           }

Definition at line 34 of file examples/relation/relationTest.c.

int thresh = 100

Definition at line 48 of file examples/relation/relationTest.c.

char* vconf = ""

Definition at line 44 of file examples/relation/relationTest.c.

int xsize

Definition at line 47 of file examples/relation/relationTest.c.

int ysize

Definition at line 47 of file examples/relation/relationTest.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


ar_recog
Author(s): Graylin Trevor Jay and Christopher Crick
autogenerated on Fri Jan 25 2013 12:15:01