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

FreeVRRoutines.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: FreeVRRoutines.h,v $
00013  *      $Author: johns $        $Locker:  $             $State: Exp $
00014  *      $Revision: 1.15 $       $Date: 2019/01/17 21:20:59 $
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 #include <freevr.h>
00028 
00029 class Scene;
00030 class DisplayDevice;
00031 
00033 void *malloc_from_FreeVR_memory(size_t size);
00034 
00036 void free_to_FreeVR_memory(void *data);
00037 
00039 void grab_FreeVR_memory(size_t megs);  
00040 
00041 // global routines which call the Scene from the FreeVR 
00042 // set up the graphics, called from FreeVRInitApplication
00043 void freevr_gl_init_fn(void);
00044 
00046 void set_freevr_pointers(Scene *, DisplayDevice *);
00047 
00048 // call the renderer, on the first call this just counts the number of
00049 // drawing processes which were started
00050 //void freevr_renderer(void);
00051 void freevr_renderer(DisplayDevice *display, void *rendinfo);
00052 #endif
00053 

Generated on Wed Apr 17 02:45:39 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002