Macros | Functions | Variables
tools/CameraCalib/src/main.cpp File Reference
#include <windows.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <GL/gl.h>
#include <GL/glut.h>
#include <ARToolKitPlus/Tracker.h>
#include "ARFileGrabber.h"
#include "calib_camera.h"
Include dependency graph for tools/CameraCalib/src/main.cpp:

Go to the source code of this file.

Macros

#define CAM_H   480
 
#define CAM_W   640
 
#define GL_ABGR   GL_ABGR_EXT
 
#define GL_BGR   GL_BGR_EXT
 
#define GL_BGRA   GL_BGRA_EXT
 

Functions

static void cleanup (void)
 
static void dispClipImage (int sx, int sy, int xsize, int ysize, ARToolKitPlus::ARUint8 *clipImage)
 
static void dispImage (void)
 
static void dispImage2 (unsigned char *pimage)
 
static void draw_line (void)
 
static void draw_line2 (ARFloat *x, ARFloat *y, int num)
 
static void draw_warp_line (ARFloat a, ARFloat b, ARFloat c)
 
static void init (void)
 
static void keyEvent (unsigned char key, int x, int y)
 
int main ()
 
static void motionEvent (int x, int y)
 
static void mouseEvent (int button, int state, int x, int y)
 
static void print_comment (int status)
 
static void save_param (void)
 

Variables

ARFileGrabber camera ("dump_%02d.raw", CAM_W, CAM_H, 4)
 
int check_num
 
unsigned char * clipImage
 
int count = 0
 
ARFloat dist_factor [4]
 
int ex
 
int ey
 
ARFloat mat [3][4]
 
CALIB_PATT_T patt
 
int point_num
 
int status
 
int sx
 
int sy
 
ARToolKitPlus::TrackertheTracker = new ARToolKitPlus::Tracker()
 
int thresh = THRESH
 
char * vconf = ""
 
int win
 
int xsize
 
int ysize
 

Macro Definition Documentation

#define CAM_H   480

Definition at line 87 of file tools/CameraCalib/src/main.cpp.

#define CAM_W   640

Definition at line 86 of file tools/CameraCalib/src/main.cpp.

#define GL_ABGR   GL_ABGR_EXT

Definition at line 22 of file tools/CameraCalib/src/main.cpp.

#define GL_BGR   GL_BGR_EXT

Definition at line 28 of file tools/CameraCalib/src/main.cpp.

#define GL_BGRA   GL_BGRA_EXT

Definition at line 25 of file tools/CameraCalib/src/main.cpp.

Function Documentation

static void cleanup ( void  )
static

Definition at line 519 of file tools/CameraCalib/src/main.cpp.

static void dispClipImage ( int  sx,
int  sy,
int  xsize,
int  ysize,
ARToolKitPlus::ARUint8 clipImage 
)
static

Definition at line 818 of file tools/CameraCalib/src/main.cpp.

static void dispImage ( void  )
static

Definition at line 448 of file tools/CameraCalib/src/main.cpp.

static void dispImage2 ( unsigned char *  pimage)
static

Definition at line 524 of file tools/CameraCalib/src/main.cpp.

static void draw_line ( void  )
static

Definition at line 662 of file tools/CameraCalib/src/main.cpp.

static void draw_line2 ( ARFloat x,
ARFloat y,
int  num 
)
static

Definition at line 720 of file tools/CameraCalib/src/main.cpp.

static void draw_warp_line ( ARFloat  a,
ARFloat  b,
ARFloat  c 
)
static

Definition at line 749 of file tools/CameraCalib/src/main.cpp.

static void init ( void  )
static

Definition at line 159 of file tools/CameraCalib/src/main.cpp.

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

Definition at line 439 of file tools/CameraCalib/src/main.cpp.

int main ( )

Definition at line 116 of file tools/CameraCalib/src/main.cpp.

static void motionEvent ( int  x,
int  y 
)
static

Definition at line 228 of file tools/CameraCalib/src/main.cpp.

static void mouseEvent ( int  button,
int  state,
int  x,
int  y 
)
static

Definition at line 271 of file tools/CameraCalib/src/main.cpp.

static void print_comment ( int  status)
static

Definition at line 778 of file tools/CameraCalib/src/main.cpp.

static void save_param ( void  )
static

Definition at line 92 of file tools/CameraCalib/src/main.cpp.

Variable Documentation

ARFileGrabber camera("dump_%02d.raw", CAM_W, CAM_H, 4)
int check_num

Definition at line 46 of file tools/CameraCalib/src/main.cpp.

unsigned char* clipImage

Definition at line 36 of file tools/CameraCalib/src/main.cpp.

int count = 0

Definition at line 35 of file tools/CameraCalib/src/main.cpp.

ARFloat dist_factor[4]

Definition at line 39 of file tools/CameraCalib/src/main.cpp.

int ex

Definition at line 43 of file tools/CameraCalib/src/main.cpp.

int ey

Definition at line 43 of file tools/CameraCalib/src/main.cpp.

ARFloat mat[3][4]

Definition at line 40 of file tools/CameraCalib/src/main.cpp.

Definition at line 38 of file tools/CameraCalib/src/main.cpp.

int point_num

Definition at line 42 of file tools/CameraCalib/src/main.cpp.

int status

Definition at line 45 of file tools/CameraCalib/src/main.cpp.

int sx

Definition at line 43 of file tools/CameraCalib/src/main.cpp.

int sy

Definition at line 43 of file tools/CameraCalib/src/main.cpp.

Definition at line 90 of file tools/CameraCalib/src/main.cpp.

int thresh = THRESH

Definition at line 34 of file tools/CameraCalib/src/main.cpp.

char* vconf = ""

Definition at line 32 of file tools/CameraCalib/src/main.cpp.

int win

Definition at line 31 of file tools/CameraCalib/src/main.cpp.

int xsize

Definition at line 33 of file tools/CameraCalib/src/main.cpp.

int ysize

Definition at line 33 of file tools/CameraCalib/src/main.cpp.



tuw_artoolkitplus
Author(s): Markus Bader
autogenerated on Sun Sep 4 2016 03:24:33