#include <vtkDesktopDeliveryClient.h>
Public Member Functions | |
vtkTypeRevisionMacro (vtkDesktopDeliveryClient, vtkParallelRenderManager) | |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetUseCompositing (int v) |
virtual void | SetController (vtkMultiProcessController *controller) |
virtual void | SetRenderWindow (vtkRenderWindow *renWin) |
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 void | SetReplaceActors (int) |
virtual int | GetReplaceActors () |
virtual void | ReplaceActorsOn () |
virtual void | ReplaceActorsOff () |
virtual int | GetRemoteDisplay () |
virtual int | GetSquirt () |
virtual void | SetSquirt (int) |
virtual void | SquirtOn () |
virtual void | SquirtOff () |
virtual int | GetSquirtCompressionLevel () |
virtual void | SetSquirtCompressionLevel (int) |
Static Public Member Functions | |
vtkDesktopDeliveryClient * | New () |
Protected Member Functions | |
vtkDesktopDeliveryClient () | |
~vtkDesktopDeliveryClient () | |
virtual void | PreRenderProcessing () |
virtual void | PostRenderProcessing () |
virtual void | SendWindowInformation () |
void | SquirtDecompress (vtkUnsignedCharArray *in, vtkUnsignedCharArray *out) |
Protected Attributes | |
int | ServerProcessId |
int | ReplaceActors |
int | RemoteDisplay |
double | RemoteImageProcessingTime |
double | TransferTime |
int | Squirt |
int | SquirtCompressionLevel |
vtkUnsignedCharArray * | SquirtBuffer |
int | UseCompositing |
int | ReceivedImageFromServer |
vtkCommand * | ReceiveImageCallback |
The two vtkDesktopDelivery objects (vtkDesktopDeliveryClient and vtkDesktopDeliveryServer) work together to enable interactive viewing of remotely rendered data. The client attaches itself to a vtkRenderWindow and, optionally, a vtkRenderWindowInteractor. 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 41 of file vtkDesktopDeliveryClient.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. |
|
|
|
If ReplaceActors is set to on (the default), then all the actors of each Renderer attached to the RenderWindow are replaced with a single bounding box. The replacement occurs whenever a camera is reset or the visible prop bounds are calculated. If set to off, the actors are never modified. |
|
If ReplaceActors is set to on (the default), then all the actors of each Renderer attached to the RenderWindow are replaced with a single bounding box. The replacement occurs whenever a camera is reset or the visible prop bounds are calculated. If set to off, the actors are never modified. |
|
If ReplaceActors is set to on (the default), then all the actors of each Renderer attached to the RenderWindow are replaced with a single bounding box. The replacement occurs whenever a camera is reset or the visible prop bounds are calculated. If set to off, the actors are never modified. |
|
If ReplaceActors is set to on (the default), then all the actors of each Renderer attached to the RenderWindow are replaced with a single bounding box. The replacement occurs whenever a camera is reset or the visible prop bounds are calculated. If set to off, the actors are never modified. |
|
|
|
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 91 of file vtkDesktopDeliveryClient.h. |
|
Definition at line 94 of file vtkDesktopDeliveryClient.h. |
|
Definition at line 100 of file vtkDesktopDeliveryClient.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). |
|
|
|
|
|
For internal use. |
|
|
|
|
|
|
|
|
|
Definition at line 143 of file vtkDesktopDeliveryClient.h. |
|
Definition at line 145 of file vtkDesktopDeliveryClient.h. |
|
Definition at line 148 of file vtkDesktopDeliveryClient.h. |
|
Definition at line 149 of file vtkDesktopDeliveryClient.h. |
|
Definition at line 150 of file vtkDesktopDeliveryClient.h. |
|
Definition at line 155 of file vtkDesktopDeliveryClient.h. |
|
Definition at line 156 of file vtkDesktopDeliveryClient.h. |
|
Definition at line 157 of file vtkDesktopDeliveryClient.h. |
|
Definition at line 161 of file vtkDesktopDeliveryClient.h. |
|
Definition at line 163 of file vtkDesktopDeliveryClient.h. |
|
Definition at line 164 of file vtkDesktopDeliveryClient.h. |