Defines | Functions | Variables
calib_cparam.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/ar.h>
#include <AR/video.h>
#include <AR/param.h>
#include <AR/gsub_lite.h>
#include "calib_cparam.h"
Include dependency graph for backup/util/calib_cparam/calib_cparam.c:

Go to the source code of this file.

Defines

#define CALIB_CPARAM_DEBUG   0

Functions

static void beginOrtho2D (int xsize, int ysize)
static void Display (void)
static void draw_warp_line (double sx, double ex, double sy, double ey)
static void drawNextLine (void)
static void drawPrevLine (void)
static void endOrtho2D (void)
static void eventCancel (void)
static void getCpara (void)
static void Idle (void)
static int init (int argc, char *argv[])
static void intersection (double line1[4], double line2[4], double *screen_coord)
static void Keyboard (unsigned char key, int x, int y)
int main (int argc, char *argv[])
static void Mouse (int button, int state, int x, int y)
static void Quit (void)
static void Reshape (int w, int h)
static void Special (int key, int x, int y)
static void thetaRadiusSet (void)
static void Visibility (int visible)

Variables

static double dist_factor [4]
static ARGL_CONTEXT_SETTINGS_REF gArglSettings = NULL
static ARParam gARTCparam
static ARUint8gARTImage = NULL
double gEndX
double gEndY
static ARGL_CONTEXT_SETTINGS_REF gSaveArglSettings = NULL
static unsigned char * gSaveARTImage = NULL
double gStartX
double gStartY
static int gWin
static int gXsize = 0
static int gYsize = 0
double inter_coord [LOOP_MAX][LINE_MAX][LINE_MAX][3]
double line_info [LOOP_MAX][LINE_MAX][4]
int line_mode [LINE_MAX]
int line_num
int line_num_current
int loop_num
int loop_num_current
int mode
static ARParam param
double radius
int refresh
double theta
char * vconf = ""

Define Documentation

#define CALIB_CPARAM_DEBUG   0

Definition at line 52 of file backup/util/calib_cparam/calib_cparam.c.


Function Documentation

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

Definition at line 469 of file backup/util/calib_cparam/calib_cparam.c.

static void Display ( void  ) [static]

Definition at line 486 of file backup/util/calib_cparam/calib_cparam.c.

static void draw_warp_line ( double  sx,
double  ex,
double  sy,
double  ey 
) [static]

Definition at line 594 of file backup/util/calib_cparam/calib_cparam.c.

static void drawNextLine ( void  ) [static]

Definition at line 526 of file backup/util/calib_cparam/calib_cparam.c.

static void drawPrevLine ( void  ) [static]

Definition at line 514 of file backup/util/calib_cparam/calib_cparam.c.

static void endOrtho2D ( void  ) [static]

Definition at line 479 of file backup/util/calib_cparam/calib_cparam.c.

static void eventCancel ( void  ) [static]

Definition at line 248 of file backup/util/calib_cparam/calib_cparam.c.

static void getCpara ( void  ) [static]

Definition at line 629 of file backup/util/calib_cparam/calib_cparam.c.

static void Idle ( void  ) [static]

Definition at line 416 of file backup/util/calib_cparam/calib_cparam.c.

static int init ( int  argc,
char *  argv[] 
) [static]
static void intersection ( double  line1[4],
double  line2[4],
double *  screen_coord 
) [static]

Definition at line 675 of file backup/util/calib_cparam/calib_cparam.c.

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

Definition at line 291 of file backup/util/calib_cparam/calib_cparam.c.

int main ( int  argc,
char *  argv[] 
)
static void Mouse ( int  button,
int  state,
int  x,
int  y 
) [static]

Definition at line 267 of file backup/util/calib_cparam/calib_cparam.c.

static void Quit ( void  ) [static]

Definition at line 407 of file backup/util/calib_cparam/calib_cparam.c.

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

Definition at line 456 of file backup/util/calib_cparam/calib_cparam.c.

static void Special ( int  key,
int  x,
int  y 
) [static]

Definition at line 343 of file backup/util/calib_cparam/calib_cparam.c.

static void thetaRadiusSet ( void  ) [static]

Definition at line 220 of file backup/util/calib_cparam/calib_cparam.c.

static void Visibility ( int  visible) [static]

Definition at line 443 of file backup/util/calib_cparam/calib_cparam.c.


Variable Documentation

double dist_factor[4] [static]

Definition at line 93 of file backup/util/calib_cparam/calib_cparam.c.

ARGL_CONTEXT_SETTINGS_REF gArglSettings = NULL [static]

Definition at line 82 of file backup/util/calib_cparam/calib_cparam.c.

ARParam gARTCparam [static]

Definition at line 81 of file backup/util/calib_cparam/calib_cparam.c.

ARUint8* gARTImage = NULL [static]

Definition at line 80 of file backup/util/calib_cparam/calib_cparam.c.

double gEndX

Definition at line 106 of file backup/util/calib_cparam/calib_cparam.c.

double gEndY

Definition at line 106 of file backup/util/calib_cparam/calib_cparam.c.

ARGL_CONTEXT_SETTINGS_REF gSaveArglSettings = NULL [static]

Definition at line 90 of file backup/util/calib_cparam/calib_cparam.c.

unsigned char* gSaveARTImage = NULL [static]

Definition at line 89 of file backup/util/calib_cparam/calib_cparam.c.

double gStartX

Definition at line 106 of file backup/util/calib_cparam/calib_cparam.c.

double gStartY

Definition at line 106 of file backup/util/calib_cparam/calib_cparam.c.

int gWin [static]

Definition at line 84 of file backup/util/calib_cparam/calib_cparam.c.

int gXsize = 0 [static]

Definition at line 85 of file backup/util/calib_cparam/calib_cparam.c.

int gYsize = 0 [static]

Definition at line 86 of file backup/util/calib_cparam/calib_cparam.c.

Definition at line 98 of file backup/util/calib_cparam/calib_cparam.c.

Definition at line 99 of file backup/util/calib_cparam/calib_cparam.c.

Definition at line 97 of file backup/util/calib_cparam/calib_cparam.c.

int line_num

Definition at line 95 of file backup/util/calib_cparam/calib_cparam.c.

Definition at line 102 of file backup/util/calib_cparam/calib_cparam.c.

int loop_num

Definition at line 96 of file backup/util/calib_cparam/calib_cparam.c.

Definition at line 103 of file backup/util/calib_cparam/calib_cparam.c.

int mode

Definition at line 101 of file backup/util/calib_cparam/calib_cparam.c.

ARParam param [static]

Definition at line 92 of file backup/util/calib_cparam/calib_cparam.c.

double radius

Definition at line 105 of file backup/util/calib_cparam/calib_cparam.c.

int refresh

Definition at line 87 of file backup/util/calib_cparam/calib_cparam.c.

double theta

Definition at line 104 of file backup/util/calib_cparam/calib_cparam.c.

char* vconf = ""

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