Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CaveRoutines.C File Reference

#include <cave_ogl.h>
#include "CaveRoutines.h"
#include "Inform.h"
#include "VMDApp.h"
#include "CaveDisplayDevice.h"
#include "CaveScene.h"

Go to the source code of this file.

Defines

#define CAVEMAGICINIT   3141

Functions

int vmd_cave_is_initialized ()
void vmd_set_cave_is_initialized ()
void * malloc_from_CAVE_memory (size_t size)
 use the already alloced memory as the memory arena and amalloc from it. More...

void free_to_CAVE_memory (void *data)
 return shared memory to the arena. More...

void grab_CAVE_memory (size_t megs)
 get a large chunk of memory from the CAVE and remember it for future use. More...

void cave_gl_init_fn (void)
void set_cave_pointers (Scene *scene, DisplayDevice *display)
 set static pointers to the Scene and DisplayDevice. More...

void cave_renderer (void)

Variables

int vmd_cave_initialized_flag = 0
Scenecavescene
DisplayDevicecavedisplay


Define Documentation

#define CAVEMAGICINIT   3141
 

Definition at line 35 of file CaveRoutines.C.

Referenced by vmd_cave_is_initialized, and vmd_set_cave_is_initialized.


Function Documentation

void cave_gl_init_fn void   
 

Definition at line 104 of file CaveRoutines.C.

Referenced by CaveDisplayDevice::render.

void cave_renderer void   
 

Definition at line 118 of file CaveRoutines.C.

References Scene::draw.

void free_to_CAVE_memory void *    data
 

return shared memory to the arena.

Definition at line 72 of file CaveRoutines.C.

References data.

void grab_CAVE_memory size_t    megs
 

get a large chunk of memory from the CAVE and remember it for future use.

Definition at line 84 of file CaveRoutines.C.

References size.

void* malloc_from_CAVE_memory size_t    size
 

use the already alloced memory as the memory arena and amalloc from it.

Definition at line 49 of file CaveRoutines.C.

References NULL, and size.

void set_cave_pointers Scene   scene,
DisplayDevice   display
 

set static pointers to the Scene and DisplayDevice.

Definition at line 112 of file CaveRoutines.C.

int vmd_cave_is_initialized void   
 

Definition at line 38 of file CaveRoutines.C.

References CAVEMAGICINIT, and vmd_cave_initialized_flag.

Referenced by CaveTracker::do_start, and CaveButtons::do_start.

void vmd_set_cave_is_initialized void   
 

Definition at line 45 of file CaveRoutines.C.

References CAVEMAGICINIT, and vmd_cave_initialized_flag.

Referenced by VMDApp::VMDinit.


Variable Documentation

DisplayDevice* cavedisplay [static]
 

Definition at line 110 of file CaveRoutines.C.

Scene* cavescene [static]
 

Definition at line 109 of file CaveRoutines.C.

int vmd_cave_initialized_flag = 0 [static]
 

Definition at line 36 of file CaveRoutines.C.

Referenced by vmd_cave_is_initialized, and vmd_set_cave_is_initialized.


Generated on Sat Nov 9 02:45:51 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002