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

CaveRoutines.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *cr                                                                       
00003  *cr            (C) Copyright 1995-2019 The Board of Trustees of the           
00004  *cr                        University of Illinois                       
00005  *cr                         All Rights Reserved                        
00006  *cr                                                                   
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  * RCS INFORMATION:
00011  *
00012  *      $RCSfile: CaveRoutines.h,v $
00013  *      $Author: johns $        $Locker:  $             $State: Exp $
00014  *      $Revision: 1.26 $       $Date: 2019/01/17 21:20:58 $
00015  *
00016  ***************************************************************************
00017  * DESCRIPTION:
00018  *
00019  * routines to get memory from and return memory to the 
00020  * CAVE shared memory arena
00021  ***************************************************************************/
00022 #ifndef CAVEROUTINES_H
00023 #define CAVEROUTINES_H
00024 
00025 #include <malloc.h>
00026 
00027 class Scene;
00028 class DisplayDevice;
00029 
00030 // check and set when the CAVE routines are available
00031 int vmd_cave_is_initialized(void);
00032 void vmd_set_cave_is_initialized(void);
00033 
00035 void *malloc_from_CAVE_memory(size_t size);
00036 
00038 void free_to_CAVE_memory(void *data);
00039 
00041 void grab_CAVE_memory(size_t megs);  
00042 
00043 // global routines which call the Scene from the CAVE
00044 // set up the graphics, called from CAVEInitApplication
00045 void cave_gl_init_fn(void);
00046 
00048 void set_cave_pointers(Scene *, DisplayDevice *);
00049 
00050 // call the renderer, on the first call this just counts the number of
00051 // drawing processes which were started
00052 void cave_renderer(void);
00053 #endif
00054 

Generated on Tue Apr 23 04:22:29 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002