#include <vtkCaveRenderManager.h>
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 | |
vtkCaveRenderManager * | New () |
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] |
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.
Definition at line 49 of file vtkCaveRenderManager.h.
|
Definition at line 79 of file vtkCaveRenderManager.h. |
|
|
|
|
|
|
|
|
|
|
|
Set/Get the RenderWindow to use for compositing. We add a start and end observer to the window. |
|
Callbacks that initialize and finish the compositing. |
|
If the user wants to handle the event loop, then they must call this method to initialize the RMIs. |
|
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. |
|
Set/Get the controller use to send final image to client |
|
Set/Get the controller use to send final image to client |
|
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. |
|
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. |
|
This is a hack to get around a shortcomming of the SocketController. There is no way to distinguish between socket processes. |
|
This is a hack to get around a shortcomming of the SocketController. There is no way to distinguish between socket processes. |
|
Always uses the clients zbuffer value. (for picking). |
|
Internal, but public for RMI/Callbacks. |
|
Internal, but public for RMI/Callbacks. |
|
Internal, but public for RMI/Callbacks. |
|
|
|
|
|
Definition at line 131 of file vtkCaveRenderManager.h. |
|
Definition at line 132 of file vtkCaveRenderManager.h. |
|
|
|
Definition at line 122 of file vtkCaveRenderManager.h. |
|
Definition at line 124 of file vtkCaveRenderManager.h. |
|
Definition at line 128 of file vtkCaveRenderManager.h. |
|
Definition at line 129 of file vtkCaveRenderManager.h. |
|
Definition at line 136 of file vtkCaveRenderManager.h. |
|
Definition at line 137 of file vtkCaveRenderManager.h. |
|
Definition at line 138 of file vtkCaveRenderManager.h. |