#include <vtkClientCompositeManager.h>
Public Types | |
enum | Tags { RENDER_RMI_TAG = 12721, WIN_INFO_TAG = 22134, REN_INFO_TAG = 22135, GATHER_Z_RMI_TAG = 987987, SERVER_Z_TAG = 88771, CLIENT_Z_TAG = 88772 } |
Public Member Functions | |
vtkTypeRevisionMacro (vtkClientCompositeManager, vtkParallelRenderManager) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetRenderWindow (vtkRenderWindow *renWin) |
virtual void | InitializeOffScreen () |
virtual void | InitializeRMIs () |
void | SetController (vtkMultiProcessController *controller) |
virtual void | StartRender () |
virtual void | EndRender () |
void | RenderRMI () |
void | SetClientController (vtkSocketController *controller) |
virtual vtkSocketController * | GetClientController () |
virtual void | SetClientFlag (int) |
virtual int | GetClientFlag () |
void | SetUseRGB (int useRGB) |
virtual int | GetUseRGB () |
virtual void | UseRGBOn () |
virtual void | UseRGBOff () |
void | SetCompositer (vtkCompositer *c) |
virtual vtkCompositer * | GetCompositer () |
float | GetZBufferValue (int x, int y) |
void | GatherZBufferValueRMI (int x, int y) |
virtual void | SetSquirtLevel (int) |
virtual int | GetSquirtLevel () |
Static Public Member Functions | |
vtkClientCompositeManager * | New () |
Protected Member Functions | |
vtkClientCompositeManager () | |
~vtkClientCompositeManager () | |
void | SetPDataSize (int x, int y) |
void | ReallocPDataArrays () |
virtual void | SatelliteStartRender () |
virtual void | SatelliteEndRender () |
void | PreRenderProcessing () |
void | PostRenderProcessing () |
void | MagnifyBuffer (vtkDataArray *localP, vtkDataArray *magP, int windowSize[2]) |
void | DoubleBuffer (vtkDataArray *localP, vtkDataArray *magP, int windowSize[2]) |
void | ReceiveAndSetColorBuffer () |
void | SquirtCompress (vtkUnsignedCharArray *in, vtkUnsignedCharArray *out, int compress_level) |
void | SquirtDecompress (vtkUnsignedCharArray *in, vtkUnsignedCharArray *out) |
void | DeltaEncode (vtkUnsignedCharArray *buf) |
void | DeltaDecode (vtkUnsignedCharArray *buf) |
Protected Attributes | |
vtkSocketController * | ClientController |
vtkCompositer * | Compositer |
int | ClientFlag |
unsigned long | StartTag |
vtkImageData * | CompositeData |
vtkImageActor * | ImageActor |
vtkCamera * | SavedCamera |
vtkObject * | RenderView |
double | InternalReductionFactor |
int | PDataSize [2] |
vtkDataArray * | PData |
vtkFloatArray * | ZData |
vtkDataArray * | PData2 |
vtkFloatArray * | ZData2 |
int | SquirtLevel |
vtkUnsignedCharArray * | SquirtArray |
vtkUnsignedCharArray * | BaseArray |
int | UseRGB |
vtkClientCompositeManager operates in client server mode. Server composites normaly. I wanted to use vtkPVTreeComposite here, But have to rethink the architecture. Only the first render in the render window gets composited. Client receives the image over the socket. Additional renderers render on top of the remote image. (No zbuffer).
Definition at line 46 of file vtkClientCompositeManager.h.
|
Definition at line 107 of file vtkClientCompositeManager.h. |
|
|
|
|
|
|
|
|
|
|
|
Set/Get the RenderWindow to use for compositing. We add a start and end observer to the window. |
|
Used to get satellite windows rendering off screen. |
|
Callbacks that initialize and finish the compositing. |
|
Callbacks that initialize and finish the compositing. |
|
Callbacks that initialize and finish the compositing. |
|
If the user wants to handle the event loop, then they must call this method to initialize the RMIs. |
|
Set/Get the controller use in compositing (set to the global controller by default) If not using the default, this must be called before any other methods. |
|
Set/Get the controller use to communicate to client. |
|
Set/Get the controller use to communicate to client. |
|
This flag is needed to differentiate between client and server, since the socket controller allways thinks it is node 0. |
|
This flag is needed to differentiate between client and server, since the socket controller allways thinks it is node 0. |
|
This flag tells the compositier to get the color buffer as RGB instead of RGBA. We do not use the alpha value so it is not important to get. ATI Radeon cards / drivers do not properly get the color buffer as RGBA. |
|
This flag tells the compositier to get the color buffer as RGB instead of RGBA. We do not use the alpha value so it is not important to get. ATI Radeon cards / drivers do not properly get the color buffer as RGBA. |
|
This flag tells the compositier to get the color buffer as RGB instead of RGBA. We do not use the alpha value so it is not important to get. ATI Radeon cards / drivers do not properly get the color buffer as RGBA. |
|
This flag tells the compositier to get the color buffer as RGB instead of RGBA. We do not use the alpha value so it is not important to get. ATI Radeon cards / drivers do not properly get the color buffer as RGBA. |
|
When the server has more than one process, this object composites the buffers into one. Defaults to vtkCompressCompositer. |
|
When the server has more than one process, this object composites the buffers into one. Defaults to vtkCompressCompositer. |
|
Get the z buffer value at a pixel. GatherZBufferValue is an internal method. |
|
Get the z buffer value at a pixel. GatherZBufferValue is an internal method. |
|
Turn on and off Squirt compression. Level 0 means no compression. |
|
Turn on and off Squirt compression. Level 0 means no compression. |
|
|
|
|
|
|
|
|
|
Definition at line 146 of file vtkClientCompositeManager.h. |
|
Definition at line 147 of file vtkClientCompositeManager.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 134 of file vtkClientCompositeManager.h. |
|
Definition at line 135 of file vtkClientCompositeManager.h. |
|
Definition at line 137 of file vtkClientCompositeManager.h. |
|
Definition at line 138 of file vtkClientCompositeManager.h. |
|
Definition at line 148 of file vtkClientCompositeManager.h. |
|
Definition at line 149 of file vtkClientCompositeManager.h. |
|
Definition at line 152 of file vtkClientCompositeManager.h. |
|
Definition at line 168 of file vtkClientCompositeManager.h. |
|
Definition at line 169 of file vtkClientCompositeManager.h. |
|
Definition at line 171 of file vtkClientCompositeManager.h. |
|
Definition at line 172 of file vtkClientCompositeManager.h. |
|
Definition at line 173 of file vtkClientCompositeManager.h. |
|
Definition at line 175 of file vtkClientCompositeManager.h. |
|
Definition at line 176 of file vtkClientCompositeManager.h. |
|
Definition at line 178 of file vtkClientCompositeManager.h. |
|
Definition at line 179 of file vtkClientCompositeManager.h. |
|
Definition at line 186 of file vtkClientCompositeManager.h. |
|
Definition at line 190 of file vtkClientCompositeManager.h. |