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

FreeVRRoutines.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *cr                                                                       
00003  *cr            (C) Copyright 1995-2008 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: FreeVRRoutines.h,v $
00013  *      $Author: johns $        $Locker:  $             $State: Exp $
00014  *      $Revision: 1.9 $        $Date: 2008/03/27 19:36:39 $
00015  *
00016  ***************************************************************************
00017  * DESCRIPTION:
00018  *
00019  * routines to get memory from and return memory to the 
00020  * FreeVR shared memory arena
00021  ***************************************************************************/
00022 #ifndef FREEVRROUTINES_H
00023 #define FREEVRROUTINES_H
00024 
00025 #include <malloc.h>
00026 
00027 class Scene;
00028 class DisplayDevice;
00029 
00031 void *malloc_from_FreeVR_memory(size_t size);
00032 
00034 void free_to_FreeVR_memory(void *data);
00035 
00037 void grab_FreeVR_memory(int megs);  
00038 
00039 // global routines which call the Scene from the FreeVR 
00040 // set up the graphics, called from FreeVRInitApplication
00041 void freevr_gl_init_fn(void);
00042 
00044 void set_freevr_pointers(Scene *, DisplayDevice *);
00045 
00046 // call the renderer, on the first call this just counts the number of
00047 // drawing processes which were started
00048 void freevr_renderer(void);
00049 #endif
00050 

Generated on Sun Sep 7 01:25:52 2008 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002