#include <vtkDesktopDeliveryServer.h>
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 | |
vtkDesktopDeliveryServer * | New () |
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 |
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.
Definition at line 38 of file vtkDesktopDeliveryServer.h.
|
Definition at line 77 of file vtkDesktopDeliveryServer.h. |
|
Definition at line 103 of file vtkDesktopDeliveryServer.h. |
|
Definition at line 106 of file vtkDesktopDeliveryServer.h. |
|
Definition at line 109 of file vtkDesktopDeliveryServer.h. |
|
|
|
|
|
|
|
|
|
|
|
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. |
|
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. |
|
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. |
|
|
|
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. |
|
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. |
|
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. |
|
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. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 123 of file vtkDesktopDeliveryServer.h. |
|
Definition at line 125 of file vtkDesktopDeliveryServer.h. |
|
Definition at line 126 of file vtkDesktopDeliveryServer.h. |
|
Definition at line 134 of file vtkDesktopDeliveryServer.h. |
|
Definition at line 135 of file vtkDesktopDeliveryServer.h. |
|
Definition at line 138 of file vtkDesktopDeliveryServer.h. |
|
Definition at line 140 of file vtkDesktopDeliveryServer.h. |