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

FreeVRScene Class Reference

Scene subclass that allocates from a FreeVR shared memory arena, and coordinates multiple rendering slave processes. More...

#include <FreeVRScene.h>

Inheritance diagram for FreeVRScene:

Scene List of all members.

Public Methods

 FreeVRScene (VMDApp *)
 pass in VMDApp handle, needed for VMDexit. More...

virtual ~FreeVRScene (void)
void draw (DisplayDevice *)
 Called by the FreeVR display function, copies shared mem variables to process-local variables, then calls draw() in the parent. More...

virtual int prepare ()
 Call the parent's prepare, then update the shared memory info. More...

void * operator new (size_t)
 Use FreeVR allocator-deallocator for FreeVRScene object. More...

void operator delete (void *, size_t)

Detailed Description

Scene subclass that allocates from a FreeVR shared memory arena, and coordinates multiple rendering slave processes.

Definition at line 45 of file FreeVRScene.h.


Constructor & Destructor Documentation

FreeVRScene::FreeVRScene VMDApp  
 

pass in VMDApp handle, needed for VMDexit.

Definition at line 37 of file FreeVRScene.C.

References malloc_from_FreeVR_memory, NULL, vmd_barrier_t, and vmd_thread_barrier_init.

FreeVRScene::~FreeVRScene void    [virtual]
 

Definition at line 64 of file FreeVRScene.C.

References free_to_FreeVR_memory.


Member Function Documentation

void FreeVRScene::draw DisplayDevice   [virtual]
 

Called by the FreeVR display function, copies shared mem variables to process-local variables, then calls draw() in the parent.

Reimplemented from Scene.

Definition at line 77 of file FreeVRScene.C.

References Scene::draw, DisplayDevice::is_renderer_process, vmd_msleep, and vmd_thread_barrier.

void FreeVRScene::operator delete void *   ,
size_t   
 

Definition at line 112 of file FreeVRScene.C.

References free_to_FreeVR_memory.

void * FreeVRScene::operator new size_t   
 

Use FreeVR allocator-deallocator for FreeVRScene object.

Definition at line 108 of file FreeVRScene.C.

References malloc_from_FreeVR_memory.

int FreeVRScene::prepare   [virtual]
 

Call the parent's prepare, then update the shared memory info.

Reimplemented from Scene.

Definition at line 97 of file FreeVRScene.C.

References Scene::prepare, and VMDApp::VMDexit.


The documentation for this class was generated from the following files:
Generated on Sat Sep 6 01:27:46 2008 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002