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

vtkPVDesktopDeliveryServer Class Reference

An object for remote rendering. More...

#include <vtkPVDesktopDeliveryServer.h>

List of all members.

Public Types

enum  Tags {
  IMAGE_TAG = 12433, IMAGE_SIZE_TAG = 12434, REMOTE_DISPLAY_TAG = 834340, TIMING_METRICS_TAG = 834341,
  SQUIRT_OPTIONS_TAG = 834342, IMAGE_PARAMS_TAG = 834343, WINDOW_ID_RMI_TAG = 502382, WINDOW_GEOMETRY_TAG = 502383
}
enum  TimingMetricSize { TIMING_METRICS_SIZE = sizeof(struct TimingMetrics)/sizeof(double) }
enum  WindowGeometrySize { WINDOW_GEOMETRY_SIZE = sizeof(struct WindowGeometry)/sizeof(int) }
enum  SquirtOptionSize { SQUIRT_OPTIONS_SIZE = sizeof(struct SquirtOptions)/sizeof(int) }
enum  ImageParamsSize { IMAGE_PARAMS_SIZE = sizeof(struct ImageParams)/sizeof(int) }

Public Member Functions

 vtkTypeRevisionMacro (vtkPVDesktopDeliveryServer, vtkParallelRenderManager)
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetController (vtkMultiProcessController *controller)
virtual void SetRenderWindow (vtkRenderWindow *renWin)
virtual void InitializeRMIs ()
virtual void UseRendererSet (int id)
virtual void SetParallelRenderManager (vtkParallelRenderManager *prm)
virtual vtkParallelRenderManager * GetParallelRenderManager ()
virtual void SetRemoteDisplay (int)
virtual int GetRemoteDisplay ()
virtual void RemoteDisplayOn ()
virtual void RemoteDisplayOff ()
virtual void AddRenderer (vtkRenderer *ren)
virtual void RemoveRenderer (vtkRenderer *ren)
virtual void RemoveAllRenderers ()
virtual void AddRenderer (int id, vtkRenderer *ren)
virtual void RemoveRenderer (int id, vtkRenderer *ren)
virtual void RemoveAllRenderers (int id)

Static Public Member Functions

vtkPVDesktopDeliveryServerNew ()

Protected Member Functions

 vtkPVDesktopDeliveryServer ()
virtual ~vtkPVDesktopDeliveryServer ()
virtual void PreRenderProcessing ()
virtual void PostRenderProcessing ()
virtual void LocalComputeVisiblePropBounds (vtkRenderer *, double bounds[6])
virtual void SetRenderWindowSize ()
virtual void ReadReducedImage ()
virtual void ReceiveWindowInformation ()
virtual void ReceiveRendererInformation (vtkRenderer *)
void SquirtCompress (vtkUnsignedCharArray *in, vtkUnsignedCharArray *out)

Protected Attributes

vtkParallelRenderManager * ParallelRenderManager
unsigned long StartParallelRenderTag
unsigned long EndParallelRenderTag
unsigned long ReceiveWindowIdTag
int Squirt
int SquirtCompressionLevel
int RemoteDisplay
vtkUnsignedCharArray * SquirtBuffer
vtkPVDesktopDeliveryServerRendererMap * RendererMap
int ClientWindowPosition [2]
int ClientWindowSize [2]
int ClientRequestedImageSize [2]
int ClientGUISize [2]
int AnnotationLayer
int ImageResized
vtkUnsignedCharArray * SendImageBuffer


Detailed Description

An object for remote rendering.

The two vtkPVDesktopDelivery objects (vtkPVDesktopDeliveryClient and vtkPVDesktopDeliveryServer) work together to enable interactive viewing of remotely rendered data. On the client side, there may be multiple render windows arranged in a GUI, each having its own vtkPVDesktopDeliveryClient object attached. The server has a single render window and vtkPVDesktopDeliveryServer. All the vtkPVDesktopDeliveryClient objects connect to a single vtkPVDesktopDeliveryServer object.

See also:
vtkPVDesktopDeliveryClient

Definition at line 40 of file vtkPVDesktopDeliveryServer.h.


Member Enumeration Documentation

enum vtkPVDesktopDeliveryServer::Tags
 

Enumeration values:
IMAGE_TAG 
IMAGE_SIZE_TAG 
REMOTE_DISPLAY_TAG 
TIMING_METRICS_TAG 
SQUIRT_OPTIONS_TAG 
IMAGE_PARAMS_TAG 
WINDOW_ID_RMI_TAG 
WINDOW_GEOMETRY_TAG 

Definition at line 96 of file vtkPVDesktopDeliveryServer.h.

enum vtkPVDesktopDeliveryServer::TimingMetricSize
 

Enumeration values:
TIMING_METRICS_SIZE 

Definition at line 131 of file vtkPVDesktopDeliveryServer.h.

enum vtkPVDesktopDeliveryServer::WindowGeometrySize
 

Enumeration values:
WINDOW_GEOMETRY_SIZE 

Definition at line 134 of file vtkPVDesktopDeliveryServer.h.

enum vtkPVDesktopDeliveryServer::SquirtOptionSize
 

Enumeration values:
SQUIRT_OPTIONS_SIZE 

Definition at line 137 of file vtkPVDesktopDeliveryServer.h.

enum vtkPVDesktopDeliveryServer::ImageParamsSize
 

Enumeration values:
IMAGE_PARAMS_SIZE 

Definition at line 140 of file vtkPVDesktopDeliveryServer.h.


Constructor & Destructor Documentation

vtkPVDesktopDeliveryServer::vtkPVDesktopDeliveryServer  )  [protected]
 

virtual vtkPVDesktopDeliveryServer::~vtkPVDesktopDeliveryServer  )  [protected, virtual]
 


Member Function Documentation

vtkPVDesktopDeliveryServer::vtkTypeRevisionMacro vtkPVDesktopDeliveryServer  ,
vtkParallelRenderManager 
 

virtual void vtkPVDesktopDeliveryServer::PrintSelf ostream &  os,
vtkIndent  indent
[virtual]
 

vtkPVDesktopDeliveryServer* vtkPVDesktopDeliveryServer::New  )  [static]
 

virtual void vtkPVDesktopDeliveryServer::SetController vtkMultiProcessController *  controller  )  [virtual]
 

Set/Get the controller that is attached to a vtkDesktopDeliveryClient. This object will assume that the controller has two processors, and that the controller on the opposite side of the controller has been given to the server object.

virtual void vtkPVDesktopDeliveryServer::SetParallelRenderManager vtkParallelRenderManager *  prm  )  [virtual]
 

Set/Get a parallel render manager that is used for parallel rendering. If not set or set to NULL, rendering is done on the render window directly in single process mode. It will be assumed that the ParallelRenderManager will have the final image stored at the local processes.

virtual vtkParallelRenderManager* vtkPVDesktopDeliveryServer::GetParallelRenderManager  )  [virtual]
 

Set/Get a parallel render manager that is used for parallel rendering. If not set or set to NULL, rendering is done on the render window directly in single process mode. It will be assumed that the ParallelRenderManager will have the final image stored at the local processes.

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

virtual void vtkPVDesktopDeliveryServer::SetRemoteDisplay int   )  [virtual]
 

If on (the default) locally rendered images will be shipped back to the client. To facilitate this, the local rendering windows will be resized based on the remote window settings. If off, the images are assumed to be displayed locally. The render window maintains its current size.

virtual int vtkPVDesktopDeliveryServer::GetRemoteDisplay  )  [virtual]
 

If on (the default) locally rendered images will be shipped back to the client. To facilitate this, the local rendering windows will be resized based on the remote window settings. If off, the images are assumed to be displayed locally. The render window maintains its current size.

virtual void vtkPVDesktopDeliveryServer::RemoteDisplayOn  )  [virtual]
 

If on (the default) locally rendered images will be shipped back to the client. To facilitate this, the local rendering windows will be resized based on the remote window settings. If off, the images are assumed to be displayed locally. The render window maintains its current size.

virtual void vtkPVDesktopDeliveryServer::RemoteDisplayOff  )  [virtual]
 

If on (the default) locally rendered images will be shipped back to the client. To facilitate this, the local rendering windows will be resized based on the remote window settings. If off, the images are assumed to be displayed locally. The render window maintains its current size.

virtual void vtkPVDesktopDeliveryServer::AddRenderer vtkRenderer *  ren  )  [inline, virtual]
 

Because the client may have many vtkPVDesktopDeliveryClient objects attached to many render windows, separate renderers by the id associated with the same id on the client side.

Definition at line 81 of file vtkPVDesktopDeliveryServer.h.

virtual void vtkPVDesktopDeliveryServer::RemoveRenderer vtkRenderer *  ren  )  [inline, virtual]
 

Because the client may have many vtkPVDesktopDeliveryClient objects attached to many render windows, separate renderers by the id associated with the same id on the client side.

Definition at line 82 of file vtkPVDesktopDeliveryServer.h.

virtual void vtkPVDesktopDeliveryServer::RemoveAllRenderers  )  [inline, virtual]
 

Because the client may have many vtkPVDesktopDeliveryClient objects attached to many render windows, separate renderers by the id associated with the same id on the client side.

Definition at line 83 of file vtkPVDesktopDeliveryServer.h.

virtual void vtkPVDesktopDeliveryServer::AddRenderer int  id,
vtkRenderer *  ren
[virtual]
 

Because the client may have many vtkPVDesktopDeliveryClient objects attached to many render windows, separate renderers by the id associated with the same id on the client side.

virtual void vtkPVDesktopDeliveryServer::RemoveRenderer int  id,
vtkRenderer *  ren
[virtual]
 

Because the client may have many vtkPVDesktopDeliveryClient objects attached to many render windows, separate renderers by the id associated with the same id on the client side.

virtual void vtkPVDesktopDeliveryServer::RemoveAllRenderers int  id  )  [virtual]
 

Because the client may have many vtkPVDesktopDeliveryClient objects attached to many render windows, separate renderers by the id associated with the same id on the client side.

virtual void vtkPVDesktopDeliveryServer::InitializeRMIs  )  [virtual]
 

virtual void vtkPVDesktopDeliveryServer::UseRendererSet int  id  )  [virtual]
 

DO NOT USE. FOR INTERNAL USE ONLY.

virtual void vtkPVDesktopDeliveryServer::PreRenderProcessing  )  [protected, virtual]
 

virtual void vtkPVDesktopDeliveryServer::PostRenderProcessing  )  [protected, virtual]
 

virtual void vtkPVDesktopDeliveryServer::LocalComputeVisiblePropBounds vtkRenderer *  ,
double  bounds[6]
[protected, virtual]
 

virtual void vtkPVDesktopDeliveryServer::SetRenderWindowSize  )  [protected, virtual]
 

virtual void vtkPVDesktopDeliveryServer::ReadReducedImage  )  [protected, virtual]
 

virtual void vtkPVDesktopDeliveryServer::ReceiveWindowInformation  )  [protected, virtual]
 

virtual void vtkPVDesktopDeliveryServer::ReceiveRendererInformation vtkRenderer *   )  [protected, virtual]
 

void vtkPVDesktopDeliveryServer::SquirtCompress vtkUnsignedCharArray *  in,
vtkUnsignedCharArray *  out
[protected]
 


Member Data Documentation

vtkParallelRenderManager* vtkPVDesktopDeliveryServer::ParallelRenderManager [protected]
 

Definition at line 154 of file vtkPVDesktopDeliveryServer.h.

unsigned long vtkPVDesktopDeliveryServer::StartParallelRenderTag [protected]
 

Definition at line 156 of file vtkPVDesktopDeliveryServer.h.

unsigned long vtkPVDesktopDeliveryServer::EndParallelRenderTag [protected]
 

Definition at line 157 of file vtkPVDesktopDeliveryServer.h.

unsigned long vtkPVDesktopDeliveryServer::ReceiveWindowIdTag [protected]
 

Definition at line 159 of file vtkPVDesktopDeliveryServer.h.

int vtkPVDesktopDeliveryServer::Squirt [protected]
 

Definition at line 168 of file vtkPVDesktopDeliveryServer.h.

int vtkPVDesktopDeliveryServer::SquirtCompressionLevel [protected]
 

Definition at line 169 of file vtkPVDesktopDeliveryServer.h.

int vtkPVDesktopDeliveryServer::RemoteDisplay [protected]
 

Definition at line 172 of file vtkPVDesktopDeliveryServer.h.

vtkUnsignedCharArray* vtkPVDesktopDeliveryServer::SquirtBuffer [protected]
 

Definition at line 174 of file vtkPVDesktopDeliveryServer.h.

vtkPVDesktopDeliveryServerRendererMap* vtkPVDesktopDeliveryServer::RendererMap [protected]
 

Definition at line 176 of file vtkPVDesktopDeliveryServer.h.

int vtkPVDesktopDeliveryServer::ClientWindowPosition[2] [protected]
 

Definition at line 178 of file vtkPVDesktopDeliveryServer.h.

int vtkPVDesktopDeliveryServer::ClientWindowSize[2] [protected]
 

Definition at line 179 of file vtkPVDesktopDeliveryServer.h.

int vtkPVDesktopDeliveryServer::ClientRequestedImageSize[2] [protected]
 

Definition at line 180 of file vtkPVDesktopDeliveryServer.h.

int vtkPVDesktopDeliveryServer::ClientGUISize[2] [protected]
 

Definition at line 181 of file vtkPVDesktopDeliveryServer.h.

int vtkPVDesktopDeliveryServer::AnnotationLayer [protected]
 

Definition at line 183 of file vtkPVDesktopDeliveryServer.h.

int vtkPVDesktopDeliveryServer::ImageResized [protected]
 

Definition at line 185 of file vtkPVDesktopDeliveryServer.h.

vtkUnsignedCharArray* vtkPVDesktopDeliveryServer::SendImageBuffer [protected]
 

Definition at line 187 of file vtkPVDesktopDeliveryServer.h.


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