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

Go to the source code of this file.

Classes

struct  CONTEXT_INFO

Defines

#define CONTEXTSACTIVECOUNT   2
#define CONTEXTSACTIVECOUNTMAX   CONTEXTSACTIVECOUNT
#define VIEW_DISTANCE_MAX   100.0
#define VIEW_DISTANCE_MIN   0.1
#define VIEW_SCALEFACTOR   0.025

Functions

static void debugReportMode (ARGL_CONTEXT_SETTINGS_REF arglSettings)
static void Display (void)
static void DisplayPerContext (const int drawContextIndex)
static void DrawCube (int contextIndex)
static int DrawCubeCleanup (int contextIndex)
static int DrawCubeFinal (void)
static int DrawCubeInit (int contextsActiveCountMax)
static int DrawCubeSetup (int contextIndex)
static void DrawCubeUpdate (float timeDelta)
int getContextIndexForCurrentGLUTWindow (void)
static void Idle (void)
static void Keyboard (unsigned char key, int x, int y)
int main (int argc, char **argv)
static void Quit (void)
static void Reshape (int w, int h)
static int setupCameras (const int cameraCount, const char *cparam_names[], char *vconfs[])
static int setupMarker (const char *patt_name, int *patt_id)
static void Visibility (int visible)

Variables

static long gCallCountGetImage = 0
CONTEXT_INFOgContextsActive
int gContextsActiveCount = 0
static GLuint * gDrawListBox = NULL
static int gDrawRotate = FALSE
static float gDrawRotateAngle = 0
static double gPatt_centre [2] = {0.0, 0.0}
static int gPatt_id
static double gPatt_width = 80.0

Define Documentation

#define CONTEXTSACTIVECOUNT   2

Definition at line 64 of file examples/twoView/twoView.c.

Definition at line 65 of file examples/twoView/twoView.c.

#define VIEW_DISTANCE_MAX   100.0

Definition at line 61 of file examples/twoView/twoView.c.

#define VIEW_DISTANCE_MIN   0.1

Definition at line 60 of file examples/twoView/twoView.c.

#define VIEW_SCALEFACTOR   0.025

Definition at line 59 of file examples/twoView/twoView.c.


Function Documentation

static void debugReportMode ( ARGL_CONTEXT_SETTINGS_REF  arglSettings) [static]

Definition at line 246 of file examples/twoView/twoView.c.

static void Display ( void  ) [static]

Definition at line 516 of file examples/twoView/twoView.c.

static void DisplayPerContext ( const int  drawContextIndex) [static]

Definition at line 457 of file examples/twoView/twoView.c.

static void DrawCube ( int  contextIndex) [static]

Definition at line 152 of file examples/twoView/twoView.c.

static int DrawCubeCleanup ( int  contextIndex) [static]

Definition at line 171 of file examples/twoView/twoView.c.

static int DrawCubeFinal ( void  ) [static]

Definition at line 184 of file examples/twoView/twoView.c.

static int DrawCubeInit ( int  contextsActiveCountMax) [static]

Definition at line 103 of file examples/twoView/twoView.c.

static int DrawCubeSetup ( int  contextIndex) [static]

Definition at line 114 of file examples/twoView/twoView.c.

static void DrawCubeUpdate ( float  timeDelta) [static]

Definition at line 163 of file examples/twoView/twoView.c.

Definition at line 504 of file examples/twoView/twoView.c.

static void Idle ( void  ) [static]

Definition at line 363 of file examples/twoView/twoView.c.

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

Definition at line 311 of file examples/twoView/twoView.c.

int main ( int  argc,
char **  argv 
)

Definition at line 526 of file examples/twoView/twoView.c.

static void Quit ( void  ) [static]

Definition at line 287 of file examples/twoView/twoView.c.

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

Definition at line 441 of file examples/twoView/twoView.c.

static int setupCameras ( const int  cameraCount,
const char *  cparam_names[],
char *  vconfs[] 
) [static]

Definition at line 194 of file examples/twoView/twoView.c.

static int setupMarker ( const char *  patt_name,
int *  patt_id 
) [static]

Definition at line 233 of file examples/twoView/twoView.c.

static void Visibility ( int  visible) [static]

Definition at line 428 of file examples/twoView/twoView.c.


Variable Documentation

long gCallCountGetImage = 0 [static]

Definition at line 90 of file examples/twoView/twoView.c.

Definition at line 86 of file examples/twoView/twoView.c.

Definition at line 87 of file examples/twoView/twoView.c.

GLuint* gDrawListBox = NULL [static]

Definition at line 84 of file examples/twoView/twoView.c.

int gDrawRotate = FALSE [static]

Definition at line 96 of file examples/twoView/twoView.c.

float gDrawRotateAngle = 0 [static]

Definition at line 97 of file examples/twoView/twoView.c.

double gPatt_centre[2] = {0.0, 0.0} [static]

Definition at line 93 of file examples/twoView/twoView.c.

int gPatt_id [static]

Definition at line 91 of file examples/twoView/twoView.c.

double gPatt_width = 80.0 [static]

Definition at line 92 of file examples/twoView/twoView.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