#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>
Go to the source code of this file.
Defines | |
#define | VIEW_DISTANCE_MAX 100.0 |
#define | VIEW_DISTANCE_MIN 0.1 |
#define | VIEW_SCALEFACTOR 0.025 |
Functions | |
static void | debugReportMode (const ARGL_CONTEXT_SETTINGS_REF arglContextSettings) |
static void | Display (void) |
static void | DrawCube (void) |
static void | DrawCubeUpdate (float timeDelta) |
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 | setupCamera (const char *cparam_name, char *vconf, ARParam *cparam) |
static int | setupMarker (const char *patt_name, int *patt_id) |
static void | Visibility (int visible) |
Variables | |
static ARGL_CONTEXT_SETTINGS_REF | gArglSettings = NULL |
static ARParam | gARTCparam |
static ARUint8 * | gARTImage = NULL |
static int | gARTThreshhold = 100 |
static long | gCallCountMarkerDetect = 0 |
static int | gDrawRotate = FALSE |
static float | gDrawRotateAngle = 0 |
static double | gPatt_centre [2] = {0.0, 0.0} |
static int | gPatt_found = FALSE |
static int | gPatt_id |
static double | gPatt_trans [3][4] |
static double | gPatt_width = 80.0 |
static int | prefDepth = 32 |
static int | prefHeight = 480 |
static int | prefRefresh = 0 |
static int | prefWidth = 640 |
static int | prefWindowed = TRUE |
#define VIEW_DISTANCE_MAX 100.0 |
Definition at line 61 of file backup/examples/simpleLite/simpleLite.c.
#define VIEW_DISTANCE_MIN 0.1 |
Definition at line 60 of file backup/examples/simpleLite/simpleLite.c.
#define VIEW_SCALEFACTOR 0.025 |
Definition at line 59 of file backup/examples/simpleLite/simpleLite.c.
static void debugReportMode | ( | const ARGL_CONTEXT_SETTINGS_REF | arglContextSettings | ) | [static] |
Definition at line 199 of file backup/examples/simpleLite/simpleLite.c.
static void Display | ( | void | ) | [static] |
Definition at line 376 of file backup/examples/simpleLite/simpleLite.c.
static void DrawCube | ( | void | ) | [static] |
Definition at line 99 of file backup/examples/simpleLite/simpleLite.c.
static void DrawCubeUpdate | ( | float | timeDelta | ) | [static] |
Definition at line 144 of file backup/examples/simpleLite/simpleLite.c.
static void Idle | ( | void | ) | [static] |
Definition at line 289 of file backup/examples/simpleLite/simpleLite.c.
static void Keyboard | ( | unsigned char | key, |
int | x, | ||
int | y | ||
) | [static] |
Definition at line 242 of file backup/examples/simpleLite/simpleLite.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 419 of file backup/examples/simpleLite/simpleLite.c.
static void Quit | ( | void | ) | [static] |
Definition at line 234 of file backup/examples/simpleLite/simpleLite.c.
static void Reshape | ( | int | w, |
int | h | ||
) | [static] |
Definition at line 360 of file backup/examples/simpleLite/simpleLite.c.
static int setupCamera | ( | const char * | cparam_name, |
char * | vconf, | ||
ARParam * | cparam | ||
) | [static] |
Definition at line 152 of file backup/examples/simpleLite/simpleLite.c.
static int setupMarker | ( | const char * | patt_name, |
int * | patt_id | ||
) | [static] |
Definition at line 186 of file backup/examples/simpleLite/simpleLite.c.
static void Visibility | ( | int | visible | ) | [static] |
Definition at line 347 of file backup/examples/simpleLite/simpleLite.c.
ARGL_CONTEXT_SETTINGS_REF gArglSettings = NULL [static] |
Definition at line 90 of file backup/examples/simpleLite/simpleLite.c.
ARParam gARTCparam [static] |
Definition at line 89 of file backup/examples/simpleLite/simpleLite.c.
Definition at line 75 of file backup/examples/simpleLite/simpleLite.c.
int gARTThreshhold = 100 [static] |
Definition at line 78 of file backup/examples/simpleLite/simpleLite.c.
long gCallCountMarkerDetect = 0 [static] |
Definition at line 79 of file backup/examples/simpleLite/simpleLite.c.
int gDrawRotate = FALSE [static] |
Definition at line 91 of file backup/examples/simpleLite/simpleLite.c.
float gDrawRotateAngle = 0 [static] |
Definition at line 92 of file backup/examples/simpleLite/simpleLite.c.
double gPatt_centre[2] = {0.0, 0.0} [static] |
Definition at line 83 of file backup/examples/simpleLite/simpleLite.c.
int gPatt_found = FALSE [static] |
Definition at line 85 of file backup/examples/simpleLite/simpleLite.c.
int gPatt_id [static] |
Definition at line 86 of file backup/examples/simpleLite/simpleLite.c.
double gPatt_trans[3][4] [static] |
Definition at line 84 of file backup/examples/simpleLite/simpleLite.c.
double gPatt_width = 80.0 [static] |
Definition at line 82 of file backup/examples/simpleLite/simpleLite.c.
int prefDepth = 32 [static] |
Definition at line 71 of file backup/examples/simpleLite/simpleLite.c.
int prefHeight = 480 [static] |
Definition at line 70 of file backup/examples/simpleLite/simpleLite.c.
int prefRefresh = 0 [static] |
Definition at line 72 of file backup/examples/simpleLite/simpleLite.c.
int prefWidth = 640 [static] |
Definition at line 69 of file backup/examples/simpleLite/simpleLite.c.
int prefWindowed = TRUE [static] |
Definition at line 68 of file backup/examples/simpleLite/simpleLite.c.