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

vtkCaveRenderManager Class Reference

Duplicates data on each node. No Compositing. More...

#include <vtkCaveRenderManager.h>

List of all members.

Public Types

enum  Tags {
  ROOT_RENDER_RMI_TAG = 12721, SATELLITE_RENDER_RMI_TAG = 12722, INFO_TAG = 22135, DEFINE_DISPLAY_RMI_TAG = 89843,
  DEFINE_DISPLAY_INFO_TAG = 89844
}

Public Member Functions

 vtkTypeRevisionMacro (vtkCaveRenderManager, vtkParallelRenderManager)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetRenderWindow (vtkRenderWindow *renWin)
virtual void ClientEndRender ()
virtual void InitializeRMIs ()
void SetController (vtkMultiProcessController *controller)
float GetZBufferValue (int x, int y)
void SetSocketController (vtkSocketController *controller)
virtual vtkSocketController * GetSocketController ()
void DefineDisplay (int idx, double origin[3], double x[3], double y[3])
void DefineDisplayRMI ()
virtual void SetClientFlag (int)
virtual int GetClientFlag ()
void ClientStartRender ()
void RootStartRenderRMI (vtkPVCaveClientInfo *info)
void SatelliteStartRenderRMI ()

Static Public Member Functions

vtkCaveRenderManagerNew ()

Protected Member Functions

 vtkCaveRenderManager ()
 ~vtkCaveRenderManager ()
void ComputeCamera (vtkPVCaveClientInfo *info, vtkCamera *cam)
void SetupCamera (int tileIdx, int reduction)
void PreRenderProcessing ()
void PostRenderProcessing ()
void InternalSatelliteStartRender (vtkPVCaveClientInfo *info)

Protected Attributes

int ClientFlag
vtkSocketController * SocketController
unsigned long StartTag
unsigned long EndTag
double DisplayOrigin [4]
double DisplayX [4]
double DisplayY [4]


Detailed Description

Duplicates data on each node. No Compositing.

vtkCaveRenderManager is like the tiled display render manager, but it uses arbitrary cameras. A cave display is specified by the camera that points toward it. The camera position is at the origin and the origin is where the person is initially standing. The person can move to an arbitrary location, but the defining cameras are always positioned at the origin. This might replace vtkMultiDisplayManager in the future.

This assumes data is duplicated on all nodes. There is no compositing.

See also:
vtkRenderWindow vtkCompositeManager vtkMultiDisplayManager.

Definition at line 49 of file vtkCaveRenderManager.h.


Member Enumeration Documentation

enum vtkCaveRenderManager::Tags
 

Enumeration values:
ROOT_RENDER_RMI_TAG 
SATELLITE_RENDER_RMI_TAG 
INFO_TAG 
DEFINE_DISPLAY_RMI_TAG 
DEFINE_DISPLAY_INFO_TAG 

Definition at line 79 of file vtkCaveRenderManager.h.


Constructor & Destructor Documentation

vtkCaveRenderManager::vtkCaveRenderManager  )  [protected]
 

vtkCaveRenderManager::~vtkCaveRenderManager  )  [protected]
 


Member Function Documentation

vtkCaveRenderManager* vtkCaveRenderManager::New  )  [static]
 

vtkCaveRenderManager::vtkTypeRevisionMacro vtkCaveRenderManager  ,
vtkParallelRenderManager 
 

void vtkCaveRenderManager::PrintSelf ostream &  os,
vtkIndent  indent
 

virtual void vtkCaveRenderManager::SetRenderWindow vtkRenderWindow *  renWin  )  [virtual]
 

Set/Get the RenderWindow to use for compositing. We add a start and end observer to the window.

virtual void vtkCaveRenderManager::ClientEndRender  )  [virtual]
 

Callbacks that initialize and finish the compositing.

virtual void vtkCaveRenderManager::InitializeRMIs  )  [virtual]
 

If the user wants to handle the event loop, then they must call this method to initialize the RMIs.

void vtkCaveRenderManager::SetController vtkMultiProcessController *  controller  ) 
 

Set/Get the controller use in compositing (set to the global controller by default) If not using the default, this must be called before any other methods.

void vtkCaveRenderManager::SetSocketController vtkSocketController *  controller  ) 
 

Set/Get the controller use to send final image to client

virtual vtkSocketController* vtkCaveRenderManager::GetSocketController  )  [virtual]
 

Set/Get the controller use to send final image to client

void vtkCaveRenderManager::DefineDisplay int  idx,
double  origin[3],
double  x[3],
double  y[3]
 

Assumes one tile per process. Call this on the client multiple times to define the tiles on the different processes. "idx" is the index of the dsiplay/process to set. origin, x, and y are in world coordinates.

void vtkCaveRenderManager::DefineDisplayRMI  ) 
 

Assumes one tile per process. Call this on the client multiple times to define the tiles on the different processes. "idx" is the index of the dsiplay/process to set. origin, x, and y are in world coordinates.

virtual void vtkCaveRenderManager::SetClientFlag int   )  [virtual]
 

This is a hack to get around a shortcomming of the SocketController. There is no way to distinguish between socket processes.

virtual int vtkCaveRenderManager::GetClientFlag  )  [virtual]
 

This is a hack to get around a shortcomming of the SocketController. There is no way to distinguish between socket processes.

float vtkCaveRenderManager::GetZBufferValue int  x,
int  y
 

Always uses the clients zbuffer value. (for picking).

void vtkCaveRenderManager::ClientStartRender  ) 
 

Internal, but public for RMI/Callbacks.

void vtkCaveRenderManager::RootStartRenderRMI vtkPVCaveClientInfo *  info  ) 
 

Internal, but public for RMI/Callbacks.

void vtkCaveRenderManager::SatelliteStartRenderRMI  ) 
 

Internal, but public for RMI/Callbacks.

void vtkCaveRenderManager::ComputeCamera vtkPVCaveClientInfo *  info,
vtkCamera *  cam
[protected]
 

void vtkCaveRenderManager::SetupCamera int  tileIdx,
int  reduction
[protected]
 

void vtkCaveRenderManager::PreRenderProcessing  )  [inline, protected]
 

Definition at line 131 of file vtkCaveRenderManager.h.

void vtkCaveRenderManager::PostRenderProcessing  )  [inline, protected]
 

Definition at line 132 of file vtkCaveRenderManager.h.

void vtkCaveRenderManager::InternalSatelliteStartRender vtkPVCaveClientInfo *  info  )  [protected]
 


Member Data Documentation

int vtkCaveRenderManager::ClientFlag [protected]
 

Definition at line 122 of file vtkCaveRenderManager.h.

vtkSocketController* vtkCaveRenderManager::SocketController [protected]
 

Definition at line 124 of file vtkCaveRenderManager.h.

unsigned long vtkCaveRenderManager::StartTag [protected]
 

Definition at line 128 of file vtkCaveRenderManager.h.

unsigned long vtkCaveRenderManager::EndTag [protected]
 

Definition at line 129 of file vtkCaveRenderManager.h.

double vtkCaveRenderManager::DisplayOrigin[4] [protected]
 

Definition at line 136 of file vtkCaveRenderManager.h.

double vtkCaveRenderManager::DisplayX[4] [protected]
 

Definition at line 137 of file vtkCaveRenderManager.h.

double vtkCaveRenderManager::DisplayY[4] [protected]
 

Definition at line 138 of file vtkCaveRenderManager.h.


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:36:10 2006 for ParaView by doxygen 1.3.5