#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/ar.h>
#include <AR/gsub_lite.h>
#include <AR/arvrml.h>
#include "object.h"
Go to the source code of this file.
Defines | |
#define | VIEW_DISTANCE_MAX 10000.0 |
#define | VIEW_DISTANCE_MIN 10.0 |
#define | VIEW_SCALEFACTOR 1.0 |
Functions | |
static void | debugReportMode (const ARGL_CONTEXT_SETTINGS_REF arglContextSettings) |
static void | Display (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 | setupCamera (const char *cparam_name, char *vconf, ARParam *cparam) |
static int | setupMarkersObjects (char *objectDataFilename, ObjectData_T **objectDataRef, int *objectDataCountRef) |
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 ObjectData_T * | gObjectData |
static int | gObjectDataCount |
static int | prefDepth = 32 |
static int | prefHeight = 480 |
static int | prefRefresh = 0 |
static int | prefWidth = 640 |
static int | prefWindowed = TRUE |
#define VIEW_DISTANCE_MAX 10000.0 |
Definition at line 71 of file backup/examples/simpleVRML/simpleVRML.c.
#define VIEW_DISTANCE_MIN 10.0 |
Definition at line 70 of file backup/examples/simpleVRML/simpleVRML.c.
#define VIEW_SCALEFACTOR 1.0 |
Definition at line 69 of file backup/examples/simpleVRML/simpleVRML.c.
static void debugReportMode | ( | const ARGL_CONTEXT_SETTINGS_REF | arglContextSettings | ) | [static] |
Definition at line 152 of file backup/examples/simpleVRML/simpleVRML.c.
static void Display | ( | void | ) | [static] |
Definition at line 358 of file backup/examples/simpleVRML/simpleVRML.c.
static void Idle | ( | void | ) | [static] |
Definition at line 257 of file backup/examples/simpleVRML/simpleVRML.c.
static void Keyboard | ( | unsigned char | key, |
int | x, | ||
int | y | ||
) | [static] |
Definition at line 198 of file backup/examples/simpleVRML/simpleVRML.c.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 405 of file backup/examples/simpleVRML/simpleVRML.c.
static void Quit | ( | void | ) | [static] |
Definition at line 187 of file backup/examples/simpleVRML/simpleVRML.c.
static void Reshape | ( | int | w, |
int | h | ||
) | [static] |
Definition at line 342 of file backup/examples/simpleVRML/simpleVRML.c.
static int setupCamera | ( | const char * | cparam_name, |
char * | vconf, | ||
ARParam * | cparam | ||
) | [static] |
Definition at line 104 of file backup/examples/simpleVRML/simpleVRML.c.
static int setupMarkersObjects | ( | char * | objectDataFilename, |
ObjectData_T ** | objectDataRef, | ||
int * | objectDataCountRef | ||
) | [static] |
Definition at line 138 of file backup/examples/simpleVRML/simpleVRML.c.
static void Visibility | ( | int | visible | ) | [static] |
Definition at line 329 of file backup/examples/simpleVRML/simpleVRML.c.
ARGL_CONTEXT_SETTINGS_REF gArglSettings = NULL [static] |
Definition at line 94 of file backup/examples/simpleVRML/simpleVRML.c.
ARParam gARTCparam [static] |
Definition at line 93 of file backup/examples/simpleVRML/simpleVRML.c.
Definition at line 86 of file backup/examples/simpleVRML/simpleVRML.c.
int gARTThreshhold = 100 [static] |
Definition at line 89 of file backup/examples/simpleVRML/simpleVRML.c.
long gCallCountMarkerDetect = 0 [static] |
Definition at line 90 of file backup/examples/simpleVRML/simpleVRML.c.
ObjectData_T* gObjectData [static] |
Definition at line 97 of file backup/examples/simpleVRML/simpleVRML.c.
int gObjectDataCount [static] |
Definition at line 98 of file backup/examples/simpleVRML/simpleVRML.c.
int prefDepth = 32 [static] |
Definition at line 82 of file backup/examples/simpleVRML/simpleVRML.c.
int prefHeight = 480 [static] |
Definition at line 81 of file backup/examples/simpleVRML/simpleVRML.c.
int prefRefresh = 0 [static] |
Definition at line 83 of file backup/examples/simpleVRML/simpleVRML.c.
int prefWidth = 640 [static] |
Definition at line 80 of file backup/examples/simpleVRML/simpleVRML.c.
int prefWindowed = TRUE [static] |
Definition at line 79 of file backup/examples/simpleVRML/simpleVRML.c.