Defines | Functions | Variables
calib_dist.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_dist.h"
Include dependency graph for backup/util/calib_distortion/calib_dist.c:

Go to the source code of this file.

Defines

#define CALIB_DIST_DEBUG   0

Functions

static void beginOrtho2D (void)
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 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 int point_num
char * vconf = ""

Define Documentation

#define CALIB_DIST_DEBUG   0

Definition at line 52 of file backup/util/calib_distortion/calib_dist.c.


Function Documentation

static void beginOrtho2D ( void  ) [static]

Definition at line 507 of file backup/util/calib_distortion/calib_dist.c.

void checkFit ( void  )

Definition at line 227 of file backup/util/calib_distortion/calib_dist.c.

static void Display ( void  ) [static]

Definition at line 524 of file backup/util/calib_distortion/calib_dist.c.

static void draw_line ( void  ) [static]

Definition at line 607 of file backup/util/calib_distortion/calib_dist.c.

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

Definition at line 665 of file backup/util/calib_distortion/calib_dist.c.

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

Definition at line 694 of file backup/util/calib_distortion/calib_dist.c.

static void endOrtho2D ( void  ) [static]

Definition at line 517 of file backup/util/calib_distortion/calib_dist.c.

static void eventCancel ( void  ) [static]

Definition at line 242 of file backup/util/calib_distortion/calib_dist.c.

static void grabImage ( void  ) [static]

Definition at line 197 of file backup/util/calib_distortion/calib_dist.c.

static void Idle ( void  ) [static]

Definition at line 454 of file backup/util/calib_distortion/calib_dist.c.

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

Definition at line 417 of file backup/util/calib_distortion/calib_dist.c.

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

Definition at line 363 of file backup/util/calib_distortion/calib_dist.c.

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

Definition at line 278 of file backup/util/calib_distortion/calib_dist.c.

static void print_comment ( int  status) [static]

Definition at line 722 of file backup/util/calib_distortion/calib_dist.c.

static void Quit ( void  ) [static]

Definition at line 442 of file backup/util/calib_distortion/calib_dist.c.

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

Definition at line 494 of file backup/util/calib_distortion/calib_dist.c.

static void ungrabImage ( void  ) [static]

Definition at line 217 of file backup/util/calib_distortion/calib_dist.c.

static void Visibility ( int  visible) [static]

Definition at line 481 of file backup/util/calib_distortion/calib_dist.c.


Variable Documentation

int check_num [static]

Definition at line 97 of file backup/util/calib_distortion/calib_dist.c.

double dist_factor[4] [static]

Definition at line 91 of file backup/util/calib_distortion/calib_dist.c.

ARGL_CONTEXT_SETTINGS_REF gArglSettings = NULL [static]

Definition at line 82 of file backup/util/calib_distortion/calib_dist.c.

ARParam gARTCparam [static]

Definition at line 81 of file backup/util/calib_distortion/calib_dist.c.

ARUint8* gARTImage = NULL [static]

Definition at line 80 of file backup/util/calib_distortion/calib_dist.c.

unsigned char* gClipImage = NULL [static]

Definition at line 88 of file backup/util/calib_distortion/calib_dist.c.

int gDragEndX = -1 [static]

Definition at line 94 of file backup/util/calib_distortion/calib_dist.c.

int gDragEndY = -1 [static]

Definition at line 94 of file backup/util/calib_distortion/calib_dist.c.

int gDragStartX = -1 [static]

Definition at line 94 of file backup/util/calib_distortion/calib_dist.c.

int gDragStartY = -1 [static]

Definition at line 94 of file backup/util/calib_distortion/calib_dist.c.

CALIB_PATT_T gPatt [static]

Definition at line 90 of file backup/util/calib_distortion/calib_dist.c.

int gStatus [static]

Definition at line 96 of file backup/util/calib_distortion/calib_dist.c.

int gThresh = THRESH [static]

Definition at line 87 of file backup/util/calib_distortion/calib_dist.c.

int gWin [static]

Definition at line 84 of file backup/util/calib_distortion/calib_dist.c.

int gXsize = 0 [static]

Definition at line 85 of file backup/util/calib_distortion/calib_dist.c.

int gYsize = 0 [static]

Definition at line 86 of file backup/util/calib_distortion/calib_dist.c.

int point_num [static]

Definition at line 93 of file backup/util/calib_distortion/calib_dist.c.

char* vconf = ""

Definition at line 77 of file backup/util/calib_distortion/calib_dist.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:00