Defines | Functions | Variables
main.c File Reference
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <GL/glut.h>
#include <AR/config.h>
#include <AR/video.h>
#include <AR/param.h>
#include <AR/matrix.h>
#include <AR/gsub_lite.h>
#include "calib_camera.h"
Include dependency graph for util/calib_camera2/main.c:

Go to the source code of this file.

Defines

#define CALIB_CAMERA2_DEBUG   0

Functions

static void beginOrtho2D (int xsize, int ysize)
void checkFit (void)
static void Display (void)
static void draw_line (void)
static void draw_line2 (double *x, double *y, int num)
static void draw_warp_line (double a, double b, double c)
static void endOrtho2D (void)
static void eventCancel (void)
static void grabImage (void)
static void Idle (void)
static int init (int argc, char *argv[])
static void Keyboard (unsigned char key, int x, int y)
int main (int argc, char *argv[])
static void Motion (int x, int y)
static void Mouse (int button, int state, int x, int y)
static void print_comment (int status)
static void Quit (void)
static void Reshape (int w, int h)
static void save_param (void)
static void ungrabImage (void)
static void Visibility (int visible)

Variables

static int check_num
static double dist_factor [4]
static ARGL_CONTEXT_SETTINGS_REF gArglSettings = NULL
static ARParam gARTCparam
static ARUint8gARTImage = NULL
static unsigned char * gClipImage = NULL
static int gDragEndX = -1
static int gDragEndY = -1
static int gDragStartX = -1
static int gDragStartY = -1
static CALIB_PATT_T gPatt
static int gStatus
static int gThresh = THRESH
static int gWin
static int gXsize = 0
static int gYsize = 0
static double mat [3][4]
static int point_num
static char * vconf = ""

Define Documentation

#define CALIB_CAMERA2_DEBUG   0

Definition at line 52 of file util/calib_camera2/main.c.


Function Documentation

static void beginOrtho2D ( int  xsize,
int  ysize 
) [static]

Definition at line 534 of file util/calib_camera2/main.c.

void checkFit ( void  )

Definition at line 243 of file util/calib_camera2/main.c.

static void Display ( void  ) [static]

Definition at line 551 of file util/calib_camera2/main.c.

static void draw_line ( void  ) [static]

Definition at line 634 of file util/calib_camera2/main.c.

static void draw_line2 ( double *  x,
double *  y,
int  num 
) [static]

Definition at line 692 of file util/calib_camera2/main.c.

static void draw_warp_line ( double  a,
double  b,
double  c 
) [static]

Definition at line 721 of file util/calib_camera2/main.c.

static void endOrtho2D ( void  ) [static]

Definition at line 544 of file util/calib_camera2/main.c.

static void eventCancel ( void  ) [static]

Definition at line 269 of file util/calib_camera2/main.c.

static void grabImage ( void  ) [static]

Definition at line 213 of file util/calib_camera2/main.c.

static void Idle ( void  ) [static]

Definition at line 481 of file util/calib_camera2/main.c.

static int init ( int  argc,
char *  argv[] 
) [static]
static void Keyboard ( unsigned char  key,
int  x,
int  y 
) [static]

Definition at line 444 of file util/calib_camera2/main.c.

int main ( int  argc,
char *  argv[] 
)
static void Motion ( int  x,
int  y 
) [static]

Definition at line 390 of file util/calib_camera2/main.c.

static void Mouse ( int  button,
int  state,
int  x,
int  y 
) [static]

Definition at line 305 of file util/calib_camera2/main.c.

static void print_comment ( int  status) [static]

Definition at line 749 of file util/calib_camera2/main.c.

static void Quit ( void  ) [static]

Definition at line 469 of file util/calib_camera2/main.c.

static void Reshape ( int  w,
int  h 
) [static]

Definition at line 521 of file util/calib_camera2/main.c.

static void save_param ( void  ) [static]

Definition at line 775 of file util/calib_camera2/main.c.

static void ungrabImage ( void  ) [static]

Definition at line 233 of file util/calib_camera2/main.c.

static void Visibility ( int  visible) [static]

Definition at line 508 of file util/calib_camera2/main.c.


Variable Documentation

int check_num [static]

Definition at line 99 of file util/calib_camera2/main.c.

double dist_factor[4] [static]

Definition at line 92 of file util/calib_camera2/main.c.

ARGL_CONTEXT_SETTINGS_REF gArglSettings = NULL [static]

Definition at line 82 of file util/calib_camera2/main.c.

ARParam gARTCparam [static]

Definition at line 81 of file util/calib_camera2/main.c.

ARUint8* gARTImage = NULL [static]

Definition at line 80 of file util/calib_camera2/main.c.

unsigned char* gClipImage = NULL [static]

Definition at line 89 of file util/calib_camera2/main.c.

int gDragEndX = -1 [static]

Definition at line 96 of file util/calib_camera2/main.c.

int gDragEndY = -1 [static]

Definition at line 96 of file util/calib_camera2/main.c.

int gDragStartX = -1 [static]

Definition at line 96 of file util/calib_camera2/main.c.

int gDragStartY = -1 [static]

Definition at line 96 of file util/calib_camera2/main.c.

CALIB_PATT_T gPatt [static]

Definition at line 91 of file util/calib_camera2/main.c.

int gStatus [static]

Definition at line 98 of file util/calib_camera2/main.c.

int gThresh = THRESH [static]

Definition at line 88 of file util/calib_camera2/main.c.

int gWin [static]

Definition at line 85 of file util/calib_camera2/main.c.

int gXsize = 0 [static]

Definition at line 86 of file util/calib_camera2/main.c.

int gYsize = 0 [static]

Definition at line 87 of file util/calib_camera2/main.c.

double mat[3][4] [static]

Definition at line 93 of file util/calib_camera2/main.c.

int point_num [static]

Definition at line 95 of file util/calib_camera2/main.c.

char* vconf = "" [static]

Definition at line 77 of file util/calib_camera2/main.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