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

CaveScene Class Reference

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

#include <CaveScene.h>

Inheritance diagram for CaveScene:

Scene List of all members.

Public Methods

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

virtual ~CaveScene (void)
void draw (DisplayDevice *)
 Called by the CAVE 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 CAVE allocator-deallocator for CaveScene object. More...

void operator delete (void *, size_t)

Detailed Description

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

Definition at line 55 of file CaveScene.h.


Constructor & Destructor Documentation

CaveScene::CaveScene VMDApp  
 

pass in VMDApp handle, needed for VMDexit.

Definition at line 42 of file CaveScene.C.

References malloc_from_CAVE_memory, NULL, and wkf_thread_barrier_init_proc_shared.

CaveScene::~CaveScene void    [virtual]
 

Definition at line 68 of file CaveScene.C.

References free_to_CAVE_memory.


Member Function Documentation

void CaveScene::draw DisplayDevice   [virtual]
 

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

Reimplemented from Scene.

Definition at line 79 of file CaveScene.C.

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

void CaveScene::operator delete void *   ,
size_t   
 

Definition at line 115 of file CaveScene.C.

References free_to_CAVE_memory.

void * CaveScene::operator new size_t   
 

Use CAVE allocator-deallocator for CaveScene object.

Definition at line 111 of file CaveScene.C.

References malloc_from_CAVE_memory.

int CaveScene::prepare   [virtual]
 

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

Reimplemented from Scene.

Definition at line 100 of file CaveScene.C.

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


The documentation for this class was generated from the following files:
Generated on Sun Dec 8 02:45:36 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002