Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   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...

void draw (DisplayDevice *, vrRenderInfo *rendinfo)
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 51 of file FreeVRScene.h.


Constructor & Destructor Documentation

FreeVRScene::FreeVRScene VMDApp  
 

pass in VMDApp handle, needed for VMDexit.

Definition at line 43 of file FreeVRScene.C.

References malloc_from_FreeVR_memory, NULL, and wkf_thread_barrier_init_proc_shared.

FreeVRScene::~FreeVRScene void    [virtual]
 

Definition at line 70 of file FreeVRScene.C.

References free_to_FreeVR_memory.


Member Function Documentation

void FreeVRScene::draw DisplayDevice  ,
vrRenderInfo *    rendinfo
 

Definition at line 105 of file FreeVRScene.C.

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

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 83 of file FreeVRScene.C.

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

Referenced by freevr_renderer.

void FreeVRScene::operator delete void *   ,
size_t   
 

Definition at line 143 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 139 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 128 of file FreeVRScene.C.

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


The documentation for this class was generated from the following files:
Generated on Wed Apr 24 02:44:53 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002