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

vtkDesktopDeliveryServer Class Reference

An object for remote rendering. More...

#include <vtkDesktopDeliveryServer.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
}
enum  TimingMetricSize { TIMING_METRICS_SIZE = sizeof(struct TimingMetrics)/sizeof(double) }
enum  SquirtOptionSize { SQUIRT_OPTIONS_SIZE = sizeof(struct SquirtOptions)/sizeof(int) }
enum  ImageParamsSize { IMAGE_PARAMS_SIZE = sizeof(struct ImageParams)/sizeof(int) }

Public Member Functions

 vtkTypeRevisionMacro (vtkDesktopDeliveryServer, vtkParallelRenderManager)
virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetController (vtkMultiProcessController *controller)
virtual void SetRenderWindow (vtkRenderWindow *renWin)
virtual void SetParallelRenderManager (vtkParallelRenderManager *prm)
virtual vtkParallelRenderManager * GetParallelRenderManager ()
virtual void SetRemoteDisplay (int)
virtual int GetRemoteDisplay ()
virtual void RemoteDisplayOn ()
virtual void RemoteDisplayOff ()

Static Public Member Functions

vtkDesktopDeliveryServerNew ()

Protected Member Functions

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

Protected Attributes

vtkParallelRenderManager * ParallelRenderManager
unsigned long StartParallelRenderTag
unsigned long EndParallelRenderTag
int Squirt
int SquirtCompressionLevel
int RemoteDisplay
vtkUnsignedCharArray * SquirtBuffer


Detailed Description

An object for remote rendering.

The two vtkDesktopDelivery objects (vtkDesktopDeliveryClient and vtkDesktopDeliveryServer) work together to enable interactive viewing of remotely rendered data. The server attaches itself to a vtkRenderWindow and, optionally, another vtkParallelRenderManager. Whenever a new rendering is requested, the client alerts the server, the server renders a new frame, and ships the image back to the client, which will display the image in the vtkRenderWindow.

See also:
vtkDesktopDeliveryClient vtkMultiProcessController vtkRenderWindow vtkParallelRenderManager

Definition at line 38 of file vtkDesktopDeliveryServer.h.


Member Enumeration Documentation

enum vtkDesktopDeliveryServer::Tags
 

Enumeration values:
IMAGE_TAG 
IMAGE_SIZE_TAG 
REMOTE_DISPLAY_TAG 
TIMING_METRICS_TAG 
SQUIRT_OPTIONS_TAG 
IMAGE_PARAMS_TAG 

Definition at line 77 of file vtkDesktopDeliveryServer.h.

enum vtkDesktopDeliveryServer::TimingMetricSize
 

Enumeration values:
TIMING_METRICS_SIZE 

Definition at line 103 of file vtkDesktopDeliveryServer.h.

enum vtkDesktopDeliveryServer::SquirtOptionSize
 

Enumeration values:
SQUIRT_OPTIONS_SIZE 

Definition at line 106 of file vtkDesktopDeliveryServer.h.

enum vtkDesktopDeliveryServer::ImageParamsSize
 

Enumeration values:
IMAGE_PARAMS_SIZE 

Definition at line 109 of file vtkDesktopDeliveryServer.h.


Constructor & Destructor Documentation

vtkDesktopDeliveryServer::vtkDesktopDeliveryServer  )  [protected]
 

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


Member Function Documentation

vtkDesktopDeliveryServer::vtkTypeRevisionMacro vtkDesktopDeliveryServer  ,
vtkParallelRenderManager 
 

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

vtkDesktopDeliveryServer* vtkDesktopDeliveryServer::New  )  [static]
 

virtual void vtkDesktopDeliveryServer::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 vtkDesktopDeliveryServer::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* vtkDesktopDeliveryServer::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 vtkDesktopDeliveryServer::SetRenderWindow vtkRenderWindow *  renWin  )  [virtual]
 

virtual void vtkDesktopDeliveryServer::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 vtkDesktopDeliveryServer::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 vtkDesktopDeliveryServer::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 vtkDesktopDeliveryServer::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 vtkDesktopDeliveryServer::PreRenderProcessing  )  [protected, virtual]
 

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

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

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

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

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

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


Member Data Documentation

vtkParallelRenderManager* vtkDesktopDeliveryServer::ParallelRenderManager [protected]
 

Definition at line 123 of file vtkDesktopDeliveryServer.h.

unsigned long vtkDesktopDeliveryServer::StartParallelRenderTag [protected]
 

Definition at line 125 of file vtkDesktopDeliveryServer.h.

unsigned long vtkDesktopDeliveryServer::EndParallelRenderTag [protected]
 

Definition at line 126 of file vtkDesktopDeliveryServer.h.

int vtkDesktopDeliveryServer::Squirt [protected]
 

Definition at line 134 of file vtkDesktopDeliveryServer.h.

int vtkDesktopDeliveryServer::SquirtCompressionLevel [protected]
 

Definition at line 135 of file vtkDesktopDeliveryServer.h.

int vtkDesktopDeliveryServer::RemoteDisplay [protected]
 

Definition at line 138 of file vtkDesktopDeliveryServer.h.

vtkUnsignedCharArray* vtkDesktopDeliveryServer::SquirtBuffer [protected]
 

Definition at line 140 of file vtkDesktopDeliveryServer.h.


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