#include <vtkParallelRenderManager.h>
Inheritance diagram for vtkParallelRenderManager:
vtkParallelRenderManager operates in multiple processes. It provides proper renderers and render windows for performing the parallel rendering correctly. It can also attach itself to render windows and propagate rendering events and camera views.
This class is based on the vtkCompositeManager class, except that it can handle any type of parallel rendering.
Definition at line 61 of file vtkParallelRenderManager.h.
|
Reimplemented from vtkObject. Reimplemented in vtkCompositeRenderManager. Definition at line 64 of file vtkParallelRenderManager.h. |
|
Definition at line 233 of file vtkParallelRenderManager.h. |
|
Definition at line 292 of file vtkParallelRenderManager.h. |
|
|
|
|
|
Reimplemented from vtkObject. Reimplemented in vtkCompositeRenderManager. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkCompositeRenderManager. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkCompositeRenderManager. |
|
Reimplemented from vtkObject. Reimplemented in vtkCompositeRenderManager. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkObject. Reimplemented in vtkCompositeRenderManager. |
|
Builds a vtkRenderWindow compatible with this render manager. The user program is responsible for registering the render window with the SetRenderWindow method and calling Delete. It is not advisable to use a parallel render manager with a render window that was not built with this method. |
|
Builds a vtkRenderer compatible with this render manager. (Should we also register it?) The user program is responsible for calling Delete. It is not advisable to use a parallel render manager with a renderer that was not built with this method. |
|
Set/Get the RenderWindow to use for compositing. We add a start and end observer to the window. |
|
Builds a vtkRenderer compatible with this render manager. (Should we also register it?) The user program is responsible for calling Delete. It is not advisable to use a parallel render manager with a renderer that was not built with this method. |
|
Set/Get the vtkMultiProcessController which will handle communications for the parallel rendering. |
|
Set/Get the vtkMultiProcessController which will handle communications for the parallel rendering. |
|
This method sets the piece and number of pieces for each actor with a polydata mapper. |
|
Make all rendering windows not viewable set as off screen rendering. To make all renderwindows on screen rendering again, call OffScreenRenderingOff on all the render windows. This class assumes the window on root node is the only one viewable. Subclasses should change this as necessary. |
|
Initializes the RMIs and then, if on root node, starts the interactor on the attached render window. Otherwise, starts processing RMIs. When the interactor returns, it breaks the RMI listening on all other processors. |
|
If on node other than root, starts serving RMI requests for parallel renders. |
|
If on root node, stops the RMI processing on all service nodes. |
|
Callbacks that initialize and finish rendering and other tasks. |
|
If on root node, stops the RMI processing on all service nodes. |
|
If on root node, stops the RMI processing on all service nodes. |
|
If on root node, stops the RMI processing on all service nodes. |
|
If on root node, stops the RMI processing on all service nodes. |
|
If on root node, stops the RMI processing on all service nodes. |
|
If on root node, stops the RMI processing on all service nodes. |
|
If on root node, stops the RMI processing on all service nodes. |
|
|
|
Resets the camera of each renderer contained in the RenderWindow. Should only be called in the "root" process, and all remote processes must be processing RMIs for this method to complete. |
|
Calculates the bounds by gathering information from all processes. |
|
Turns on/off parallel rendering. When on (the default) the object responds to render events of the attached window, propagates the render event to other processors, and otherwise enables the parallel rendering process. |
|
Calculates the bounds by gathering information from all processes. |
|
Calculates the bounds by gathering information from all processes. |
|
Calculates the bounds by gathering information from all processes. |
|
Turns on/off render event propagation. When on (the default) and ParallelRendering is on, process 0 will send an RMI call to all remote processes to perform a synchronized render. When off, render must be manually called on each process. |
|
Turns on/off render event propagation. When on (the default) and ParallelRendering is on, process 0 will send an RMI call to all remote processes to perform a synchronized render. When off, render must be manually called on each process. |
|
Turns on/off render event propagation. When on (the default) and ParallelRendering is on, process 0 will send an RMI call to all remote processes to perform a synchronized render. When off, render must be manually called on each process. |
|
Turns on/off render event propagation. When on (the default) and ParallelRendering is on, process 0 will send an RMI call to all remote processes to perform a synchronized render. When off, render must be manually called on each process. |
|
This is used for tiled display rendering. When data has been duplicated on all processes, then we do not need to compositing. Cameras and renders are still propagated though. |
|
This is used for tiled display rendering. When data has been duplicated on all processes, then we do not need to compositing. Cameras and renders are still propagated though. |
|
This is used for tiled display rendering. When data has been duplicated on all processes, then we do not need to compositing. Cameras and renders are still propagated though. |
|
This is used for tiled display rendering. When data has been duplicated on all processes, then we do not need to compositing. Cameras and renders are still propagated though. |
|
Set/Get the reduction factor (for sort-last based parallel renderers). The size of rendered image is divided by the reduction factor and then is blown up to the size of the current vtkRenderWindow. Setting higher reduction factors enables shorter image transfer times (which is often the bottleneck) but will greatly reduce image quality. A reduction factor of 2 or greater should only be used for intermediate images in interactive applications. A reduction factor of 1 (or less) will result in no change in image quality. A parallel render manager may ignore the image reduction factor if it will result in little or no performance enhancements (eg. it does not do image space manipulations). |
|
Set/Get the reduction factor (for sort-last based parallel renderers). The size of rendered image is divided by the reduction factor and then is blown up to the size of the current vtkRenderWindow. Setting higher reduction factors enables shorter image transfer times (which is often the bottleneck) but will greatly reduce image quality. A reduction factor of 2 or greater should only be used for intermediate images in interactive applications. A reduction factor of 1 (or less) will result in no change in image quality. A parallel render manager may ignore the image reduction factor if it will result in little or no performance enhancements (eg. it does not do image space manipulations). |
|
|
|
|
|
Sets the ReductionFactor based on the given desired update rate and the rendering metrics taken from the last time UpdateServerInfo was called. Note that if AutoReductionFactor is on, this function is called with the desired update rate of the render window automatically. |
|
If on, the ReductionFactor is automatically adjusted to best meet the the DesiredUpdateRate in the current RenderWindow based on metrics from the last render. |
|
Sets the ReductionFactor based on the given desired update rate and the rendering metrics taken from the last time UpdateServerInfo was called. Note that if AutoReductionFactor is on, this function is called with the desired update rate of the render window automatically. |
|
Sets the ReductionFactor based on the given desired update rate and the rendering metrics taken from the last time UpdateServerInfo was called. Note that if AutoReductionFactor is on, this function is called with the desired update rate of the render window automatically. |
|
Sets the ReductionFactor based on the given desired update rate and the rendering metrics taken from the last time UpdateServerInfo was called. Note that if AutoReductionFactor is on, this function is called with the desired update rate of the render window automatically. |
|
Get rendering metrics. |
|
Get rendering metrics. Reimplemented in vtkCompositeRenderManager. |
|
If on (the default), the result of any image space manipulations are written back to the render window frame buffer. If off, the image stored in the frame buffer may not be correct. Either way, the correct frame buffer images may be read with vtkParallelRenderManager::GetPixelData. Turning WriteBackImages off may result in a speedup if the render window is not visible to the user and images are read back for further processing or transit. |
|
If on (the default), the result of any image space manipulations are written back to the render window frame buffer. If off, the image stored in the frame buffer may not be correct. Either way, the correct frame buffer images may be read with vtkParallelRenderManager::GetPixelData. Turning WriteBackImages off may result in a speedup if the render window is not visible to the user and images are read back for further processing or transit. |
|
If on (the default), the result of any image space manipulations are written back to the render window frame buffer. If off, the image stored in the frame buffer may not be correct. Either way, the correct frame buffer images may be read with vtkParallelRenderManager::GetPixelData. Turning WriteBackImages off may result in a speedup if the render window is not visible to the user and images are read back for further processing or transit. |
|
If on (the default), the result of any image space manipulations are written back to the render window frame buffer. If off, the image stored in the frame buffer may not be correct. Either way, the correct frame buffer images may be read with vtkParallelRenderManager::GetPixelData. Turning WriteBackImages off may result in a speedup if the render window is not visible to the user and images are read back for further processing or transit. |
|
If on (the default), when the ImageReductionFactor is greater than 1 and WriteBackImages is on, the image will be magnified to fill the entire render window. |
|
If on (the default), when the ImageReductionFactor is greater than 1 and WriteBackImages is on, the image will be magnified to fill the entire render window. |
|
If on (the default), when the ImageReductionFactor is greater than 1 and WriteBackImages is on, the image will be magnified to fill the entire render window. |
|
If on (the default), when the ImageReductionFactor is greater than 1 and WriteBackImages is on, the image will be magnified to fill the entire render window. |
|
Sets the method used to magnify images. Nearest simply replicates each pixel enough times to fill the image. Linear performs linear interpolation between the pixels. |
|
Sets the method used to magnify images. Nearest simply replicates each pixel enough times to fill the image. Linear performs linear interpolation between the pixels. |
|
Sets the method used to magnify images. Nearest simply replicates each pixel enough times to fill the image. Linear performs linear interpolation between the pixels. Definition at line 242 of file vtkParallelRenderManager.h. |
|
Sets the method used to magnify images. Nearest simply replicates each pixel enough times to fill the image. Linear performs linear interpolation between the pixels. Definition at line 245 of file vtkParallelRenderManager.h. |
|
The most appropriate way to retrieve full size image data after a render. Will work regardless of whether WriteBackImages or MagnifyImage is on or off. The data returned may be a shallow copy of an internal array. Therefore, the data may be invalid after the next render or if the ParallelRenderManager is destroyed. |
|
The most appropriate way to retrieve full size image data after a render. Will work regardless of whether WriteBackImages or MagnifyImage is on or off. The data returned may be a shallow copy of an internal array. Therefore, the data may be invalid after the next render or if the ParallelRenderManager is destroyed. |
|
The most appropriate way to retrieve reduced size image data after a render. Will work regardless of whether WriteBackImages or MagnifyImage is on or off. The data returned may be a shallow copy of an internal array. Therefore, the data may be invalid after the next render or if the ParallelRenderManager is destroyed. |
|
The most appropriate way to retrieve reduced size image data after a render. Will work regardless of whether WriteBackImages or MagnifyImage is on or off. The data returned may be a shallow copy of an internal array. Therefore, the data may be invalid after the next render or if the ParallelRenderManager is destroyed. |
|
Returns the full image size calculated at the last render. |
|
Returns the full image size calculated at the last render. |
|
Returns the full image size calculated at the last render. |
|
Returns the full image size calculated at the last render. |
|
Returns the full image size calculated at the last render. |
|
Returns the full image size calculated at the last render. |
|
Given the x and y size of the render windows, reposition them in a tile of n columns. |
|
Get/Set if all Images must use RGBA instead of RGB. By default, this flag is on. |
|
Given the x and y size of the render windows, reposition them in a tile of n columns. |
|
Definition at line 304 of file vtkParallelRenderManager.h. |
|
Definition at line 305 of file vtkParallelRenderManager.h. |
|
|
|
Used to synchronize rendering information per frame. Definition at line 406 of file vtkParallelRenderManager.h. |
|
Definition at line 407 of file vtkParallelRenderManager.h. |
|
Definition at line 408 of file vtkParallelRenderManager.h. |
|
Definition at line 409 of file vtkParallelRenderManager.h. |
|
Here is a good place to handle processing of data before and after render. Implemented in vtkCompositeRenderManager. |
|
Here is a good place to handle processing of data before and after render. Implemented in vtkCompositeRenderManager. |
|
Called in satellites to set the render window size to the current FullImageSize and ReducedImageSize (or vice versa) |
|
Called by ComputeVisiblePropBoundsRMI to get the bounds of a local renderer. Override this method if the true bounds are different than those reported by the renderer. |
|
When called, fills FullImage. |
|
Write the full image back to the RenderWindow. |
|
Reads in the reduced image from the RenderWindow. |
|
Returns 1 if the RenderWindow's last image is in the front buffer, 0 if it is in the back. |
|
Select buffer to read from / render into. |
|
Sets the current render window's pixel data. |
|
Definition at line 347 of file vtkParallelRenderManager.h. |
|
Definition at line 348 of file vtkParallelRenderManager.h. |
|
The "root" node's process id. This is the node which is listening for and propagating new render events from the RenderWindow. All processes on the controller must have the same value. This value must be set before SetRenderWindow method is called. In the constructor or the SetController methods are good places. By default this is set to 0. Definition at line 356 of file vtkParallelRenderManager.h. |
|
Definition at line 358 of file vtkParallelRenderManager.h. |
|
Definition at line 359 of file vtkParallelRenderManager.h. |
|
Definition at line 360 of file vtkParallelRenderManager.h. |
|
Definition at line 362 of file vtkParallelRenderManager.h. |
|
Definition at line 363 of file vtkParallelRenderManager.h. |
|
Definition at line 364 of file vtkParallelRenderManager.h. |
|
Definition at line 365 of file vtkParallelRenderManager.h. |
|
Definition at line 366 of file vtkParallelRenderManager.h. |
|
Definition at line 368 of file vtkParallelRenderManager.h. |
|
Definition at line 369 of file vtkParallelRenderManager.h. |
|
Definition at line 370 of file vtkParallelRenderManager.h. |
|
Definition at line 372 of file vtkParallelRenderManager.h. |
|
Definition at line 373 of file vtkParallelRenderManager.h. |
|
Definition at line 374 of file vtkParallelRenderManager.h. |
|
Definition at line 376 of file vtkParallelRenderManager.h. |
|
Definition at line 378 of file vtkParallelRenderManager.h. |
|
Definition at line 379 of file vtkParallelRenderManager.h. |
|
Definition at line 381 of file vtkParallelRenderManager.h. |
|
Definition at line 382 of file vtkParallelRenderManager.h. |
|
Definition at line 384 of file vtkParallelRenderManager.h. |
|
Definition at line 385 of file vtkParallelRenderManager.h. |
|
Definition at line 386 of file vtkParallelRenderManager.h. |
|
Definition at line 388 of file vtkParallelRenderManager.h. |
|
Definition at line 390 of file vtkParallelRenderManager.h. |
|
Definition at line 391 of file vtkParallelRenderManager.h. |
|
Definition at line 392 of file vtkParallelRenderManager.h. |
|
Definition at line 393 of file vtkParallelRenderManager.h. |
|
Definition at line 395 of file vtkParallelRenderManager.h. |
|
Definition at line 397 of file vtkParallelRenderManager.h. |
|
Definition at line 398 of file vtkParallelRenderManager.h. |
|
Used by SetImageReductionFactorForUpdateRate to smooth transitions transitions between image reduction factors. Definition at line 402 of file vtkParallelRenderManager.h. |
|
Definition at line 490 of file vtkParallelRenderManager.h. |
|
Definition at line 491 of file vtkParallelRenderManager.h. |
|
Definition at line 492 of file vtkParallelRenderManager.h. |
|
Definition at line 493 of file vtkParallelRenderManager.h. |
|
Definition at line 494 of file vtkParallelRenderManager.h. |
|
Definition at line 497 of file vtkParallelRenderManager.h. |