#include <vtkPVDesktopDeliveryClient.h>
Public Member Functions | |
vtkTypeRevisionMacro (vtkPVDesktopDeliveryClient, vtkParallelRenderManager) | |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetUseCompositing (int v) |
virtual void | SetController (vtkMultiProcessController *controller) |
virtual void | ComputeVisiblePropBounds (vtkRenderer *ren, double bounds[6]) |
virtual double | GetRemoteImageProcessingTime () |
virtual double | GetTransferTime () |
virtual double | GetRenderTime () |
virtual double | GetImageProcessingTime () |
void | SetSquirtLevel (int l) |
virtual void | SetImageReductionFactorForUpdateRate (double desiredUpdateRate) |
float | GetZBufferValue (int x, int y) |
virtual void | ReceiveImageFromServer () |
virtual int | GetRemoteDisplay () |
virtual int | GetSquirt () |
virtual void | SetSquirt (int) |
virtual void | SquirtOn () |
virtual void | SquirtOff () |
virtual int | GetSquirtCompressionLevel () |
virtual void | SetSquirtCompressionLevel (int) |
virtual int | GetId () |
virtual void | SetId (int) |
virtual int | GetAnnotationLayer () |
virtual void | SetAnnotationLayer (int) |
virtual int * | GetWindowPosition () |
virtual void | GetWindowPosition (int &, int &) |
virtual void | GetWindowPosition (int[2]) |
virtual void | SetWindowPosition (int, int) |
void | SetWindowPosition (int[2]) |
virtual int * | GetGUISize () |
virtual void | GetGUISize (int &, int &) |
virtual void | GetGUISize (int[2]) |
virtual void | SetGUISize (int, int) |
void | SetGUISize (int[2]) |
Static Public Member Functions | |
vtkPVDesktopDeliveryClient * | New () |
Protected Member Functions | |
vtkPVDesktopDeliveryClient () | |
~vtkPVDesktopDeliveryClient () | |
virtual void | PreRenderProcessing () |
virtual void | PostRenderProcessing () |
virtual void | SendWindowInformation () |
void | SquirtDecompress (vtkUnsignedCharArray *in, vtkUnsignedCharArray *out) |
Protected Attributes | |
int | ServerProcessId |
int | RemoteDisplay |
double | RemoteImageProcessingTime |
double | TransferTime |
int | Squirt |
int | SquirtCompressionLevel |
vtkUnsignedCharArray * | SquirtBuffer |
int | UseCompositing |
int | Id |
int | AnnotationLayer |
int | WindowPosition [2] |
int | GUISize [2] |
int | ReceivedImageFromServer |
vtkCommand * | ReceiveImageCallback |
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.
On the client side, each render window is assumed to be placed inside a parent GUI window. The layout of the render windows in the GUI window must be given. The following information must be given: a unique identifier for the window, the position of the render window in the parent GUI window, and the size of the parent GUI window. The server will arrange the renderings in its single render window to match the layout given for the parent GUI window on the client side.
Definition at line 48 of file vtkPVDesktopDeliveryClient.h.
|
|
|
|
|
|
|
|
|
|
|
Generally, when you turn compositing off, you expect the image in the local render window to remain unchanged. If you are doing remote display, then there is no point in rendering anything on the server side. Thus, if RemoteDisplay is on and UseCompositing is turned off, then ParallelRendering is also turned off altogether. Likewise, ParallelRendering is turned back on when UseCompositing is turned on. |
|
Set/Get the controller that is attached to a vtkDesktopDeliveryServer. 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. |
|
|
|
Returns true if remote display is on. If remote display is on, then the RenderWindow will be updated with an image rendered on the client. If not, the RenderWindow keeps the image its Renderers draw. The RemoteDisplay flag is determined by the server. The remote display is specified by the server, so the value may be out of date if an image has not been rendered since the last time the value changed on the server. |
|
|
|
|
|
Definition at line 85 of file vtkPVDesktopDeliveryClient.h. |
|
Definition at line 88 of file vtkPVDesktopDeliveryClient.h. |
|
Definition at line 94 of file vtkPVDesktopDeliveryClient.h. |
|
Enables or disables SQUIRT compression for image delivery. By default, compression is off. Note that this function may be replaced with a more universal image compression at a later date. |
|
Enables or disables SQUIRT compression for image delivery. By default, compression is off. Note that this function may be replaced with a more universal image compression at a later date. |
|
Enables or disables SQUIRT compression for image delivery. By default, compression is off. Note that this function may be replaced with a more universal image compression at a later date. |
|
Enables or disables SQUIRT compression for image delivery. By default, compression is off. Note that this function may be replaced with a more universal image compression at a later date. |
|
Sets the compression level used by SQUIRT. Higher values result in better compression but lower resolution in the color space (the size of the image is unaffected by this option). |
|
Sets the compression level used by SQUIRT. Higher values result in better compression but lower resolution in the color space (the size of the image is unaffected by this option). |
|
The client may have many render windows and associated desktop delivery client objects that all attach to the same desktop delivery server. This id distinguishes them. The ids themselves do not matter so long as they are unique. |
|
The client may have many render windows and associated desktop delivery client objects that all attach to the same desktop delivery server. This id distinguishes them. The ids themselves do not matter so long as they are unique. |
|
Any renderer on this layer or higher will be considered annotation an will be drawn on top of any image received from the server. Set to 1 by default. |
|
Any renderer on this layer or higher will be considered annotation an will be drawn on top of any image received from the server. Set to 1 by default. |
|
The location of the upper left corner of the render window in the GUI with (0,0) being the upper most left position. Not that this is different than other most VTK positions, which are referenced from the lower left. This coordinate system was picked to correspond to most GUI APIs. |
|
The location of the upper left corner of the render window in the GUI with (0,0) being the upper most left position. Not that this is different than other most VTK positions, which are referenced from the lower left. This coordinate system was picked to correspond to most GUI APIs. |
|
The location of the upper left corner of the render window in the GUI with (0,0) being the upper most left position. Not that this is different than other most VTK positions, which are referenced from the lower left. This coordinate system was picked to correspond to most GUI APIs. |
|
The location of the upper left corner of the render window in the GUI with (0,0) being the upper most left position. Not that this is different than other most VTK positions, which are referenced from the lower left. This coordinate system was picked to correspond to most GUI APIs. |
|
The location of the upper left corner of the render window in the GUI with (0,0) being the upper most left position. Not that this is different than other most VTK positions, which are referenced from the lower left. This coordinate system was picked to correspond to most GUI APIs. |
|
The size of the GUI in which the render window is placed. By default, the size is the same as the render window. |
|
The size of the GUI in which the render window is placed. By default, the size is the same as the render window. |
|
The size of the GUI in which the render window is placed. By default, the size is the same as the render window. |
|
The size of the GUI in which the render window is placed. By default, the size is the same as the render window. |
|
The size of the GUI in which the render window is placed. By default, the size is the same as the render window. |
|
|
|
|
|
For internal use. |
|
|
|
|
|
|
|
|
|
Definition at line 171 of file vtkPVDesktopDeliveryClient.h. |
|
Definition at line 174 of file vtkPVDesktopDeliveryClient.h. |
|
Definition at line 175 of file vtkPVDesktopDeliveryClient.h. |
|
Definition at line 176 of file vtkPVDesktopDeliveryClient.h. |
|
Definition at line 181 of file vtkPVDesktopDeliveryClient.h. |
|
Definition at line 182 of file vtkPVDesktopDeliveryClient.h. |
|
Definition at line 183 of file vtkPVDesktopDeliveryClient.h. |
|
Definition at line 187 of file vtkPVDesktopDeliveryClient.h. |
|
Definition at line 189 of file vtkPVDesktopDeliveryClient.h. |
|
Definition at line 190 of file vtkPVDesktopDeliveryClient.h. |
|
Definition at line 192 of file vtkPVDesktopDeliveryClient.h. |
|
Definition at line 193 of file vtkPVDesktopDeliveryClient.h. |
|
Definition at line 195 of file vtkPVDesktopDeliveryClient.h. |
|
Definition at line 196 of file vtkPVDesktopDeliveryClient.h. |