ActiViz .NET  5.8.0
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkParallelRenderManager Class Reference

vtkParallelRenderManager - An object to control parallel rendering. More...

Inheritance diagram for Kitware.VTK.vtkParallelRenderManager:
[legend]
Collaboration diagram for Kitware.VTK.vtkParallelRenderManager:
[legend]

List of all members.

Public Types

enum  LINEAR_WrapperEnum { LINEAR = 1, NEAREST = 0 }
 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. More...
enum  Tags {
  BOUNDS_TAG = 23543, COMPUTE_VISIBLE_PROP_BOUNDS_RMI_TAG = 54636, LIGHT_INFO_TAG = 87838, RENDER_RMI_TAG = 34532,
  REN_ID_TAG = 58794, REN_INFO_TAG = 87836, WIN_INFO_TAG = 87834
}
 If ForceRenderWindowSize is set to true, the render manager will use the Size ivar instead of getting the size from the render window. More...

Public Member Functions

 vtkParallelRenderManager (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
virtual void AddRenderer (vtkRenderer arg0)
 By default, the state of all renderers in the root's render window is propagated to the rest of the processes. In order for this to work, all render windows must have the same renderers in the same order. If this is not the case, you can turn off the SyncRenderWindowRenderers. When this flag is off, the list of renderers held by this parallel render manager (initially empty) is synced. You can modify the list of renderers with the AddRenderer, RemoveRenderer, and RemoveAllRenderers methods.
virtual void AutoImageReductionFactorOff ()
 If on, the ReductionFactor is automatically adjusted to best meet the the DesiredUpdateRate in the current RenderWindow based on metrics from the last render.
virtual void AutoImageReductionFactorOn ()
 If on, the ReductionFactor is automatically adjusted to best meet the the DesiredUpdateRate in the current RenderWindow based on metrics from the last render.
virtual int CheckForAbortComposite ()
 If ForceRenderWindowSize is set to true, the render manager will use the Size ivar instead of getting the size from the render window.
virtual void CheckForAbortRender ()
 If ForceRenderWindowSize is set to true, the render manager will use the Size ivar instead of getting the size from the render window.
virtual void ComputeVisiblePropBounds (vtkRenderer ren, IntPtr bounds)
 Calculates the bounds by gathering information from all processes.
virtual void ComputeVisiblePropBoundsRMI (int renderId)
 Callbacks that initialize and finish rendering and other tasks.
virtual void EndRender ()
 Callbacks that initialize and finish rendering and other tasks.
virtual void GenericEndRenderCallback ()
 INTERNAL METHODS (DON NOT USE). There are internal methods made public so that they can be called from callback functions.
virtual void GenericStartRenderCallback ()
 INTERNAL METHODS (DON NOT USE). There are internal methods made public so that they can be called from callback functions.
virtual int GetAutoImageReductionFactor ()
 If on, the ReductionFactor is automatically adjusted to best meet the the DesiredUpdateRate in the current RenderWindow based on metrics from the last render.
virtual vtkMultiProcessController GetController ()
 Set/Get the vtkMultiProcessController which will handle communications for the parallel rendering.
virtual int GetForceRenderWindowSize ()
 If ForceRenderWindowSize is set to true, the render manager will use the RenderWindowSize ivar instead of getting the size from the render window.
virtual int[] GetForcedRenderWindowSize ()
 If ForceRenderWindowSize is set to true, the render manager will use the Size ivar instead of getting the size from the render window.
virtual void GetForcedRenderWindowSize (ref int _arg1, ref int _arg2)
 If ForceRenderWindowSize is set to true, the render manager will use the Size ivar instead of getting the size from the render window.
virtual void GetForcedRenderWindowSize (IntPtr _arg)
 If ForceRenderWindowSize is set to true, the render manager will use the Size ivar instead of getting the size from the render window.
virtual int[] GetFullImageSize ()
 Returns the full image size calculated at the last render.
virtual void GetFullImageSize (ref int _arg1, ref int _arg2)
 Returns the full image size calculated at the last render.
virtual void GetFullImageSize (IntPtr _arg)
 Returns the full image size calculated at the last render.
virtual double GetImageProcessingTime ()
 Get rendering metrics.
virtual double GetImageReductionFactor ()
 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).
virtual int GetMagnifyImageMethod ()
 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.
virtual int GetMagnifyImages ()
 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.
virtual double GetMaxImageReductionFactor ()
 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).
virtual int GetParallelRendering ()
 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.
virtual void GetPixelData (vtkUnsignedCharArray data)
 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.
virtual void GetPixelData (int x1, int y1, int x2, int y2, vtkUnsignedCharArray data)
 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.
virtual int[] GetReducedImageSize ()
 Returns the reduced image size calculated at the last render.
virtual void GetReducedImageSize (ref int _arg1, ref int _arg2)
 Returns the reduced image size calculated at the last render.
virtual void GetReducedImageSize (IntPtr _arg)
 Returns the reduced image size calculated at the last render.
virtual void GetReducedPixelData (vtkUnsignedCharArray data)
 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.
virtual void GetReducedPixelData (int x1, int y1, int x2, int y2, vtkUnsignedCharArray data)
 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.
virtual int GetRenderEventPropagation ()
 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.
virtual double GetRenderTime ()
 Get rendering metrics.
virtual vtkRenderWindow GetRenderWindow ()
 Set/Get the RenderWindow to use for compositing. We add a start and end observer to the window.
virtual int GetSyncRenderWindowRenderers ()
 By default, the state of all renderers in the root's render window is propagated to the rest of the processes. In order for this to work, all render windows must have the same renderers in the same order. If this is not the case, you can turn off the SyncRenderWindowRenderers. When this flag is off, the list of renderers held by this parallel render manager (initially empty) is synced. You can modify the list of renderers with the AddRenderer, RemoveRenderer, and RemoveAllRenderers methods.
virtual int GetSynchronizeTileProperties ()
 When set the render manager will synchronize the TileViewport and TileScale properties. This may not be desirable in cases where there's some other mechanism to set the tile dimensions eg. Tile displays.
virtual int GetUseBackBuffer ()
 The default is to allow the use of the back buffer for compositing. If set to false, this will prevent to manager from swapping buffers. This allows something else (for instance VisibleCellSelection) to control front/back buffer swapping.
virtual int GetUseCompositing ()
 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.
virtual int GetUseRGBA ()
 Get/Set if all Images must use RGBA instead of RGB. By default, this flag is on.
virtual int GetWriteBackImages ()
 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.
virtual void InitializeOffScreen ()
 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.
virtual void InitializePieces ()
 This method sets the piece and number of pieces for each actor with a polydata mapper.
virtual void InitializeRMIs ()
 Callbacks that initialize and finish rendering and other tasks.
override int IsA (string type)
 Undocumented Block.
virtual void MagnifyImage (vtkUnsignedCharArray fullImage, IntPtr fullImageSize, vtkUnsignedCharArray reducedImage, IntPtr reducedImageSize, IntPtr fullImageViewport, IntPtr reducedImageViewport)
 Convenience functions for magnifying images.
virtual void MagnifyImagesOff ()
 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.
virtual void MagnifyImagesOn ()
 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.
virtual vtkRenderWindow MakeRenderWindow ()
 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.
virtual vtkRenderer MakeRenderer ()
 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.
new vtkParallelRenderManager NewInstance ()
 Undocumented Block.
virtual void ParallelRenderingOff ()
 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.
virtual void ParallelRenderingOn ()
 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.
virtual void RemoveAllRenderers ()
 By default, the state of all renderers in the root's render window is propagated to the rest of the processes. In order for this to work, all render windows must have the same renderers in the same order. If this is not the case, you can turn off the SyncRenderWindowRenderers. When this flag is off, the list of renderers held by this parallel render manager (initially empty) is synced. You can modify the list of renderers with the AddRenderer, RemoveRenderer, and RemoveAllRenderers methods.
virtual void RemoveRenderer (vtkRenderer arg0)
 By default, the state of all renderers in the root's render window is propagated to the rest of the processes. In order for this to work, all render windows must have the same renderers in the same order. If this is not the case, you can turn off the SyncRenderWindowRenderers. When this flag is off, the list of renderers held by this parallel render manager (initially empty) is synced. You can modify the list of renderers with the AddRenderer, RemoveRenderer, and RemoveAllRenderers methods.
virtual void RenderEventPropagationOff ()
 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.
virtual void RenderEventPropagationOn ()
 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.
virtual void RenderRMI ()
 Callbacks that initialize and finish rendering and other tasks.
virtual void ResetAllCameras ()
 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.
virtual void ResetCamera (vtkRenderer ren)
 Callbacks that initialize and finish rendering and other tasks.
virtual void ResetCameraClippingRange (vtkRenderer ren)
 Callbacks that initialize and finish rendering and other tasks.
virtual void SatelliteEndRender ()
 Callbacks that initialize and finish rendering and other tasks.
virtual void SatelliteStartRender ()
 Callbacks that initialize and finish rendering and other tasks.
virtual void SetAutoImageReductionFactor (int _arg)
 If on, the ReductionFactor is automatically adjusted to best meet the the DesiredUpdateRate in the current RenderWindow based on metrics from the last render.
virtual void SetController (vtkMultiProcessController controller)
 Set/Get the vtkMultiProcessController which will handle communications for the parallel rendering.
virtual void SetForceRenderWindowSize (int _arg)
 If ForceRenderWindowSize is set to true, the render manager will use the RenderWindowSize ivar instead of getting the size from the render window.
virtual void SetForcedRenderWindowSize (int _arg1, int _arg2)
 If ForceRenderWindowSize is set to true, the render manager will use the Size ivar instead of getting the size from the render window.
void SetForcedRenderWindowSize (IntPtr _arg)
 If ForceRenderWindowSize is set to true, the render manager will use the Size ivar instead of getting the size from the render window.
virtual void SetImageReductionFactor (double factor)
 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).
virtual void SetImageReductionFactorForUpdateRate (double DesiredUpdateRate)
 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.
virtual void SetMagnifyImageMethod (int method)
 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.
void SetMagnifyImageMethodToLinear ()
 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.
void SetMagnifyImageMethodToNearest ()
 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.
virtual void SetMagnifyImages (int _arg)
 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.
virtual void SetMaxImageReductionFactor (double _arg)
 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).
virtual void SetParallelRendering (int _arg)
 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.
virtual void SetRenderEventPropagation (int _arg)
 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.
virtual void SetRenderWindow (vtkRenderWindow renWin)
 Set/Get the RenderWindow to use for compositing. We add a start and end observer to the window.
virtual void SetSyncRenderWindowRenderers (int _arg)
 By default, the state of all renderers in the root's render window is propagated to the rest of the processes. In order for this to work, all render windows must have the same renderers in the same order. If this is not the case, you can turn off the SyncRenderWindowRenderers. When this flag is off, the list of renderers held by this parallel render manager (initially empty) is synced. You can modify the list of renderers with the AddRenderer, RemoveRenderer, and RemoveAllRenderers methods.
virtual void SetSynchronizeTileProperties (int _arg)
 When set the render manager will synchronize the TileViewport and TileScale properties. This may not be desirable in cases where there's some other mechanism to set the tile dimensions eg. Tile displays.
virtual void SetUseBackBuffer (int _arg)
 The default is to allow the use of the back buffer for compositing. If set to false, this will prevent to manager from swapping buffers. This allows something else (for instance VisibleCellSelection) to control front/back buffer swapping.
virtual void SetUseCompositing (int _arg)
 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.
virtual void SetUseRGBA (int _arg)
 Get/Set if all Images must use RGBA instead of RGB. By default, this flag is on.
virtual void SetWriteBackImages (int _arg)
 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.
virtual void StartInteractor ()
 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.
virtual void StartRender ()
 Callbacks that initialize and finish rendering and other tasks.
virtual void StartServices ()
 If on node other than root, starts serving RMI requests for parallel renders.
virtual void StopServices ()
 If on root node, stops the RMI processing on all service nodes.
virtual void SyncRenderWindowRenderersOff ()
 By default, the state of all renderers in the root's render window is propagated to the rest of the processes. In order for this to work, all render windows must have the same renderers in the same order. If this is not the case, you can turn off the SyncRenderWindowRenderers. When this flag is off, the list of renderers held by this parallel render manager (initially empty) is synced. You can modify the list of renderers with the AddRenderer, RemoveRenderer, and RemoveAllRenderers methods.
virtual void SyncRenderWindowRenderersOn ()
 By default, the state of all renderers in the root's render window is propagated to the rest of the processes. In order for this to work, all render windows must have the same renderers in the same order. If this is not the case, you can turn off the SyncRenderWindowRenderers. When this flag is off, the list of renderers held by this parallel render manager (initially empty) is synced. You can modify the list of renderers with the AddRenderer, RemoveRenderer, and RemoveAllRenderers methods.
virtual void SynchronizeTilePropertiesOff ()
 When set the render manager will synchronize the TileViewport and TileScale properties. This may not be desirable in cases where there's some other mechanism to set the tile dimensions eg. Tile displays.
virtual void SynchronizeTilePropertiesOn ()
 When set the render manager will synchronize the TileViewport and TileScale properties. This may not be desirable in cases where there's some other mechanism to set the tile dimensions eg. Tile displays.
void TileWindows (int xsize, int ysize, int nColumns)
 Given the x and y size of the render windows, reposition them in a tile of n columns.
virtual void UseBackBufferOff ()
 The default is to allow the use of the back buffer for compositing. If set to false, this will prevent to manager from swapping buffers. This allows something else (for instance VisibleCellSelection) to control front/back buffer swapping.
virtual void UseBackBufferOn ()
 The default is to allow the use of the back buffer for compositing. If set to false, this will prevent to manager from swapping buffers. This allows something else (for instance VisibleCellSelection) to control front/back buffer swapping.
virtual void UseCompositingOff ()
 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.
virtual void UseCompositingOn ()
 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.
virtual void WriteBackImagesOff ()
 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.
virtual void WriteBackImagesOn ()
 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.

Static Public Member Functions

static bool GetDefaultRenderEventPropagation ()
 Get/Set the default value used for RenderEventPropagation when a new instance of vtkParallelRenderManager is created. Set to true by default.
static new int IsTypeOf (string type)
 Undocumented Block.
static void MagnifyImageLinear (vtkUnsignedCharArray fullImage, IntPtr fullImageSize, vtkUnsignedCharArray reducedImage, IntPtr reducedImageSize, IntPtr fullImageViewport, IntPtr reducedImageViewport)
 Convenience functions for magnifying images.
static void MagnifyImageNearest (vtkUnsignedCharArray fullImage, IntPtr fullImageSize, vtkUnsignedCharArray reducedImage, IntPtr reducedImageSize, IntPtr fullImageViewport, IntPtr reducedImageViewport)
 Convenience functions for magnifying images.
static new vtkParallelRenderManager SafeDownCast (vtkObjectBase o)
 Undocumented Block.
static void SetDefaultRenderEventPropagation (bool val)
 Get/Set the default value used for RenderEventPropagation when a new instance of vtkParallelRenderManager is created. Set to true by default.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkParallelRenderManager"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "24vtkParallelRenderManager"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Private Member Functions

static internal void vtkParallelRenderManager_AddRenderer_01 (HandleRef pThis, HandleRef arg0)
static internal void vtkParallelRenderManager_AutoImageReductionFactorOff_02 (HandleRef pThis)
static internal void vtkParallelRenderManager_AutoImageReductionFactorOn_03 (HandleRef pThis)
static internal int vtkParallelRenderManager_CheckForAbortComposite_04 (HandleRef pThis)
static internal void vtkParallelRenderManager_CheckForAbortRender_05 (HandleRef pThis)
static internal void vtkParallelRenderManager_ComputeVisiblePropBounds_06 (HandleRef pThis, HandleRef ren, IntPtr bounds)
static internal void vtkParallelRenderManager_ComputeVisiblePropBoundsRMI_07 (HandleRef pThis, int renderId)
static internal void vtkParallelRenderManager_EndRender_08 (HandleRef pThis)
static internal void vtkParallelRenderManager_GenericEndRenderCallback_09 (HandleRef pThis)
static internal void vtkParallelRenderManager_GenericStartRenderCallback_10 (HandleRef pThis)
static internal int vtkParallelRenderManager_GetAutoImageReductionFactor_11 (HandleRef pThis)
static internal IntPtr vtkParallelRenderManager_GetController_12 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal byte vtkParallelRenderManager_GetDefaultRenderEventPropagation_13 ()
static internal int vtkParallelRenderManager_GetForceRenderWindowSize_14 (HandleRef pThis)
static internal IntPtr vtkParallelRenderManager_GetForcedRenderWindowSize_15 (HandleRef pThis)
static internal void vtkParallelRenderManager_GetForcedRenderWindowSize_16 (HandleRef pThis, ref int _arg1, ref int _arg2)
static internal void vtkParallelRenderManager_GetForcedRenderWindowSize_17 (HandleRef pThis, IntPtr _arg)
static internal IntPtr vtkParallelRenderManager_GetFullImageSize_18 (HandleRef pThis)
static internal void vtkParallelRenderManager_GetFullImageSize_19 (HandleRef pThis, ref int _arg1, ref int _arg2)
static internal void vtkParallelRenderManager_GetFullImageSize_20 (HandleRef pThis, IntPtr _arg)
static internal double vtkParallelRenderManager_GetImageProcessingTime_21 (HandleRef pThis)
static internal double vtkParallelRenderManager_GetImageReductionFactor_22 (HandleRef pThis)
static internal int vtkParallelRenderManager_GetMagnifyImageMethod_23 (HandleRef pThis)
static internal int vtkParallelRenderManager_GetMagnifyImages_24 (HandleRef pThis)
static internal double vtkParallelRenderManager_GetMaxImageReductionFactor_25 (HandleRef pThis)
static internal int vtkParallelRenderManager_GetParallelRendering_26 (HandleRef pThis)
static internal void vtkParallelRenderManager_GetPixelData_27 (HandleRef pThis, HandleRef data)
static internal void vtkParallelRenderManager_GetPixelData_28 (HandleRef pThis, int x1, int y1, int x2, int y2, HandleRef data)
static internal IntPtr vtkParallelRenderManager_GetReducedImageSize_29 (HandleRef pThis)
static internal void vtkParallelRenderManager_GetReducedImageSize_30 (HandleRef pThis, ref int _arg1, ref int _arg2)
static internal void vtkParallelRenderManager_GetReducedImageSize_31 (HandleRef pThis, IntPtr _arg)
static internal void vtkParallelRenderManager_GetReducedPixelData_32 (HandleRef pThis, HandleRef data)
static internal void vtkParallelRenderManager_GetReducedPixelData_33 (HandleRef pThis, int x1, int y1, int x2, int y2, HandleRef data)
static internal int vtkParallelRenderManager_GetRenderEventPropagation_34 (HandleRef pThis)
static internal double vtkParallelRenderManager_GetRenderTime_35 (HandleRef pThis)
static internal IntPtr vtkParallelRenderManager_GetRenderWindow_36 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkParallelRenderManager_GetSyncRenderWindowRenderers_37 (HandleRef pThis)
static internal int vtkParallelRenderManager_GetSynchronizeTileProperties_38 (HandleRef pThis)
static internal int vtkParallelRenderManager_GetUseBackBuffer_39 (HandleRef pThis)
static internal int vtkParallelRenderManager_GetUseCompositing_40 (HandleRef pThis)
static internal int vtkParallelRenderManager_GetUseRGBA_41 (HandleRef pThis)
static internal int vtkParallelRenderManager_GetWriteBackImages_42 (HandleRef pThis)
static internal void vtkParallelRenderManager_InitializeOffScreen_43 (HandleRef pThis)
static internal void vtkParallelRenderManager_InitializePieces_44 (HandleRef pThis)
static internal void vtkParallelRenderManager_InitializeRMIs_45 (HandleRef pThis)
static internal int vtkParallelRenderManager_IsA_46 (HandleRef pThis, string type)
static internal int vtkParallelRenderManager_IsTypeOf_47 (string type)
static internal void vtkParallelRenderManager_MagnifyImage_48 (HandleRef pThis, HandleRef fullImage, IntPtr fullImageSize, HandleRef reducedImage, IntPtr reducedImageSize, IntPtr fullImageViewport, IntPtr reducedImageViewport)
static internal void vtkParallelRenderManager_MagnifyImageLinear_49 (HandleRef fullImage, IntPtr fullImageSize, HandleRef reducedImage, IntPtr reducedImageSize, IntPtr fullImageViewport, IntPtr reducedImageViewport)
static internal void vtkParallelRenderManager_MagnifyImageNearest_50 (HandleRef fullImage, IntPtr fullImageSize, HandleRef reducedImage, IntPtr reducedImageSize, IntPtr fullImageViewport, IntPtr reducedImageViewport)
static internal void vtkParallelRenderManager_MagnifyImagesOff_51 (HandleRef pThis)
static internal void vtkParallelRenderManager_MagnifyImagesOn_52 (HandleRef pThis)
static internal IntPtr vtkParallelRenderManager_MakeRenderWindow_53 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkParallelRenderManager_MakeRenderer_54 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkParallelRenderManager_NewInstance_55 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkParallelRenderManager_ParallelRenderingOff_56 (HandleRef pThis)
static internal void vtkParallelRenderManager_ParallelRenderingOn_57 (HandleRef pThis)
static internal void vtkParallelRenderManager_RemoveAllRenderers_58 (HandleRef pThis)
static internal void vtkParallelRenderManager_RemoveRenderer_59 (HandleRef pThis, HandleRef arg0)
static internal void vtkParallelRenderManager_RenderEventPropagationOff_60 (HandleRef pThis)
static internal void vtkParallelRenderManager_RenderEventPropagationOn_61 (HandleRef pThis)
static internal void vtkParallelRenderManager_RenderRMI_62 (HandleRef pThis)
static internal void vtkParallelRenderManager_ResetAllCameras_63 (HandleRef pThis)
static internal void vtkParallelRenderManager_ResetCamera_64 (HandleRef pThis, HandleRef ren)
static internal void vtkParallelRenderManager_ResetCameraClippingRange_65 (HandleRef pThis, HandleRef ren)
static internal IntPtr vtkParallelRenderManager_SafeDownCast_66 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkParallelRenderManager_SatelliteEndRender_67 (HandleRef pThis)
static internal void vtkParallelRenderManager_SatelliteStartRender_68 (HandleRef pThis)
static internal void vtkParallelRenderManager_SetAutoImageReductionFactor_69 (HandleRef pThis, int _arg)
static internal void vtkParallelRenderManager_SetController_70 (HandleRef pThis, HandleRef controller)
static internal void vtkParallelRenderManager_SetDefaultRenderEventPropagation_71 (byte val)
static internal void vtkParallelRenderManager_SetForceRenderWindowSize_72 (HandleRef pThis, int _arg)
static internal void vtkParallelRenderManager_SetForcedRenderWindowSize_73 (HandleRef pThis, int _arg1, int _arg2)
static internal void vtkParallelRenderManager_SetForcedRenderWindowSize_74 (HandleRef pThis, IntPtr _arg)
static internal void vtkParallelRenderManager_SetImageReductionFactor_75 (HandleRef pThis, double factor)
static internal void vtkParallelRenderManager_SetImageReductionFactorForUpdateRate_76 (HandleRef pThis, double DesiredUpdateRate)
static internal void vtkParallelRenderManager_SetMagnifyImageMethod_77 (HandleRef pThis, int method)
static internal void vtkParallelRenderManager_SetMagnifyImageMethodToLinear_78 (HandleRef pThis)
static internal void vtkParallelRenderManager_SetMagnifyImageMethodToNearest_79 (HandleRef pThis)
static internal void vtkParallelRenderManager_SetMagnifyImages_80 (HandleRef pThis, int _arg)
static internal void vtkParallelRenderManager_SetMaxImageReductionFactor_81 (HandleRef pThis, double _arg)
static internal void vtkParallelRenderManager_SetParallelRendering_82 (HandleRef pThis, int _arg)
static internal void vtkParallelRenderManager_SetRenderEventPropagation_83 (HandleRef pThis, int _arg)
static internal void vtkParallelRenderManager_SetRenderWindow_84 (HandleRef pThis, HandleRef renWin)
static internal void vtkParallelRenderManager_SetSyncRenderWindowRenderers_85 (HandleRef pThis, int _arg)
static internal void vtkParallelRenderManager_SetSynchronizeTileProperties_86 (HandleRef pThis, int _arg)
static internal void vtkParallelRenderManager_SetUseBackBuffer_87 (HandleRef pThis, int _arg)
static internal void vtkParallelRenderManager_SetUseCompositing_88 (HandleRef pThis, int _arg)
static internal void vtkParallelRenderManager_SetUseRGBA_89 (HandleRef pThis, int _arg)
static internal void vtkParallelRenderManager_SetWriteBackImages_90 (HandleRef pThis, int _arg)
static internal void vtkParallelRenderManager_StartInteractor_91 (HandleRef pThis)
static internal void vtkParallelRenderManager_StartRender_92 (HandleRef pThis)
static internal void vtkParallelRenderManager_StartServices_93 (HandleRef pThis)
static internal void vtkParallelRenderManager_StopServices_94 (HandleRef pThis)
static internal void vtkParallelRenderManager_SyncRenderWindowRenderersOff_95 (HandleRef pThis)
static internal void vtkParallelRenderManager_SyncRenderWindowRenderersOn_96 (HandleRef pThis)
static internal void vtkParallelRenderManager_SynchronizeTilePropertiesOff_97 (HandleRef pThis)
static internal void vtkParallelRenderManager_SynchronizeTilePropertiesOn_98 (HandleRef pThis)
static internal void vtkParallelRenderManager_TileWindows_99 (HandleRef pThis, int xsize, int ysize, int nColumns)
static internal void vtkParallelRenderManager_UseBackBufferOff_100 (HandleRef pThis)
static internal void vtkParallelRenderManager_UseBackBufferOn_101 (HandleRef pThis)
static internal void vtkParallelRenderManager_UseCompositingOff_102 (HandleRef pThis)
static internal void vtkParallelRenderManager_UseCompositingOn_103 (HandleRef pThis)
static internal void vtkParallelRenderManager_WriteBackImagesOff_104 (HandleRef pThis)
static internal void vtkParallelRenderManager_WriteBackImagesOn_105 (HandleRef pThis)

Static Private Member Functions

static vtkParallelRenderManager ()
 Automatically generated type registration mechanics.

Detailed Description

vtkParallelRenderManager - An object to control parallel rendering.

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.

Note: Many parallel rendering schemes do not correctly handle transparency. Unless otherwise documented, assume a sub class does not.

ToDo: Synchronization/barrier primitives.

Query ranges of scalar values of objects in addition to the boundry in three-space


Member Enumeration Documentation

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.

Enumerator:
LINEAR 

enum member

NEAREST 

enum member

If ForceRenderWindowSize is set to true, the render manager will use the Size ivar instead of getting the size from the render window.

Enumerator:
BOUNDS_TAG 

enum member

COMPUTE_VISIBLE_PROP_BOUNDS_RMI_TAG 

enum member

LIGHT_INFO_TAG 

enum member

RENDER_RMI_TAG 

enum member

REN_ID_TAG 

enum member

REN_INFO_TAG 

enum member

WIN_INFO_TAG 

enum member


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.


Member Function Documentation

By default, the state of all renderers in the root's render window is propagated to the rest of the processes. In order for this to work, all render windows must have the same renderers in the same order. If this is not the case, you can turn off the SyncRenderWindowRenderers. When this flag is off, the list of renderers held by this parallel render manager (initially empty) is synced. You can modify the list of renderers with the AddRenderer, RemoveRenderer, and RemoveAllRenderers methods.

If on, the ReductionFactor is automatically adjusted to best meet the the DesiredUpdateRate in the current RenderWindow based on metrics from the last render.

If on, the ReductionFactor is automatically adjusted to best meet the the DesiredUpdateRate in the current RenderWindow based on metrics from the last render.

If ForceRenderWindowSize is set to true, the render manager will use the Size ivar instead of getting the size from the render window.

If ForceRenderWindowSize is set to true, the render manager will use the Size ivar instead of getting the size from the render window.

virtual void Kitware.VTK.vtkParallelRenderManager.ComputeVisiblePropBounds ( vtkRenderer  ren,
IntPtr  bounds 
) [virtual]

Calculates the bounds by gathering information from all processes.

virtual void Kitware.VTK.vtkParallelRenderManager.ComputeVisiblePropBoundsRMI ( int  renderId) [virtual]

Callbacks that initialize and finish rendering and other tasks.

override void Kitware.VTK.vtkParallelRenderManager.Dispose ( bool  disposing) [protected]

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkImageRenderManager, and Kitware.VTK.vtkCompositeRenderManager.

Callbacks that initialize and finish rendering and other tasks.

INTERNAL METHODS (DON NOT USE). There are internal methods made public so that they can be called from callback functions.

INTERNAL METHODS (DON NOT USE). There are internal methods made public so that they can be called from callback functions.

If on, the ReductionFactor is automatically adjusted to best meet the the DesiredUpdateRate in the current RenderWindow based on metrics from the last render.

Set/Get the vtkMultiProcessController which will handle communications for the parallel rendering.

Here is the call graph for this function:

Get/Set the default value used for RenderEventPropagation when a new instance of vtkParallelRenderManager is created. Set to true by default.

If ForceRenderWindowSize is set to true, the render manager will use the Size ivar instead of getting the size from the render window.

virtual void Kitware.VTK.vtkParallelRenderManager.GetForcedRenderWindowSize ( ref int  _arg1,
ref int  _arg2 
) [virtual]

If ForceRenderWindowSize is set to true, the render manager will use the Size ivar instead of getting the size from the render window.

virtual void Kitware.VTK.vtkParallelRenderManager.GetForcedRenderWindowSize ( IntPtr  _arg) [virtual]

If ForceRenderWindowSize is set to true, the render manager will use the Size ivar instead of getting the size from the render window.

If ForceRenderWindowSize is set to true, the render manager will use the RenderWindowSize ivar instead of getting the size from the render window.

Returns the full image size calculated at the last render.

virtual void Kitware.VTK.vtkParallelRenderManager.GetFullImageSize ( ref int  _arg1,
ref int  _arg2 
) [virtual]

Returns the full image size calculated at the last render.

virtual void Kitware.VTK.vtkParallelRenderManager.GetFullImageSize ( IntPtr  _arg) [virtual]

Returns the full image size calculated at the last render.

Get rendering metrics.

Reimplemented in Kitware.VTK.vtkCompositeRenderManager.

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 method used to magnify images. Nearest simply replicates each pixel enough times to fill the image. Linear performs linear interpolation between the pixels.

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.

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).

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.

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.

virtual void Kitware.VTK.vtkParallelRenderManager.GetPixelData ( int  x1,
int  y1,
int  x2,
int  y2,
vtkUnsignedCharArray  data 
) [virtual]

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.

Returns the reduced image size calculated at the last render.

virtual void Kitware.VTK.vtkParallelRenderManager.GetReducedImageSize ( ref int  _arg1,
ref int  _arg2 
) [virtual]

Returns the reduced image size calculated at the last render.

virtual void Kitware.VTK.vtkParallelRenderManager.GetReducedImageSize ( IntPtr  _arg) [virtual]

Returns the reduced image size calculated at the last render.

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.

virtual void Kitware.VTK.vtkParallelRenderManager.GetReducedPixelData ( int  x1,
int  y1,
int  x2,
int  y2,
vtkUnsignedCharArray  data 
) [virtual]

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.

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.

Get rendering metrics.

Set/Get the RenderWindow to use for compositing. We add a start and end observer to the window.

Here is the call graph for this function:

When set the render manager will synchronize the TileViewport and TileScale properties. This may not be desirable in cases where there's some other mechanism to set the tile dimensions eg. Tile displays.

By default, the state of all renderers in the root's render window is propagated to the rest of the processes. In order for this to work, all render windows must have the same renderers in the same order. If this is not the case, you can turn off the SyncRenderWindowRenderers. When this flag is off, the list of renderers held by this parallel render manager (initially empty) is synced. You can modify the list of renderers with the AddRenderer, RemoveRenderer, and RemoveAllRenderers methods.

The default is to allow the use of the back buffer for compositing. If set to false, this will prevent to manager from swapping buffers. This allows something else (for instance VisibleCellSelection) to control front/back buffer swapping.

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.

Get/Set if all Images must use RGBA instead of RGB. By default, this flag is on.

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.

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.

This method sets the piece and number of pieces for each actor with a polydata mapper.

Callbacks that initialize and finish rendering and other tasks.

override int Kitware.VTK.vtkParallelRenderManager.IsA ( string  type) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkCompositeRenderManager, and Kitware.VTK.vtkImageRenderManager.

static new int Kitware.VTK.vtkParallelRenderManager.IsTypeOf ( string  type) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkCompositeRenderManager, and Kitware.VTK.vtkImageRenderManager.

virtual void Kitware.VTK.vtkParallelRenderManager.MagnifyImage ( vtkUnsignedCharArray  fullImage,
IntPtr  fullImageSize,
vtkUnsignedCharArray  reducedImage,
IntPtr  reducedImageSize,
IntPtr  fullImageViewport,
IntPtr  reducedImageViewport 
) [virtual]

Convenience functions for magnifying images.

static void Kitware.VTK.vtkParallelRenderManager.MagnifyImageLinear ( vtkUnsignedCharArray  fullImage,
IntPtr  fullImageSize,
vtkUnsignedCharArray  reducedImage,
IntPtr  reducedImageSize,
IntPtr  fullImageViewport,
IntPtr  reducedImageViewport 
) [static]

Convenience functions for magnifying images.

static void Kitware.VTK.vtkParallelRenderManager.MagnifyImageNearest ( vtkUnsignedCharArray  fullImage,
IntPtr  fullImageSize,
vtkUnsignedCharArray  reducedImage,
IntPtr  reducedImageSize,
IntPtr  fullImageViewport,
IntPtr  reducedImageViewport 
) [static]

Convenience functions for magnifying images.

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.

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkCompositeRenderManager, and Kitware.VTK.vtkImageRenderManager.

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.

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.

By default, the state of all renderers in the root's render window is propagated to the rest of the processes. In order for this to work, all render windows must have the same renderers in the same order. If this is not the case, you can turn off the SyncRenderWindowRenderers. When this flag is off, the list of renderers held by this parallel render manager (initially empty) is synced. You can modify the list of renderers with the AddRenderer, RemoveRenderer, and RemoveAllRenderers methods.

By default, the state of all renderers in the root's render window is propagated to the rest of the processes. In order for this to work, all render windows must have the same renderers in the same order. If this is not the case, you can turn off the SyncRenderWindowRenderers. When this flag is off, the list of renderers held by this parallel render manager (initially empty) is synced. You can modify the list of renderers with the AddRenderer, RemoveRenderer, and RemoveAllRenderers methods.

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.

Callbacks that initialize and finish rendering and other tasks.

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.

Callbacks that initialize and finish rendering and other tasks.

Callbacks that initialize and finish rendering and other tasks.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkCompositeRenderManager, and Kitware.VTK.vtkImageRenderManager.

Here is the call graph for this function:

Callbacks that initialize and finish rendering and other tasks.

Callbacks that initialize and finish rendering and other tasks.

If on, the ReductionFactor is automatically adjusted to best meet the the DesiredUpdateRate in the current RenderWindow based on metrics from the last render.

Set/Get the vtkMultiProcessController which will handle communications for the parallel rendering.

Get/Set the default value used for RenderEventPropagation when a new instance of vtkParallelRenderManager is created. Set to true by default.

virtual void Kitware.VTK.vtkParallelRenderManager.SetForcedRenderWindowSize ( int  _arg1,
int  _arg2 
) [virtual]

If ForceRenderWindowSize is set to true, the render manager will use the Size ivar instead of getting the size from the render window.

If ForceRenderWindowSize is set to true, the render manager will use the Size ivar instead of getting the size from the render window.

If ForceRenderWindowSize is set to true, the render manager will use the RenderWindowSize ivar instead of getting the size from the render window.

virtual void Kitware.VTK.vtkParallelRenderManager.SetImageReductionFactor ( double  factor) [virtual]

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).

virtual void Kitware.VTK.vtkParallelRenderManager.SetImageReductionFactorForUpdateRate ( double  DesiredUpdateRate) [virtual]

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.

virtual void Kitware.VTK.vtkParallelRenderManager.SetMagnifyImageMethod ( int  method) [virtual]

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.

virtual void Kitware.VTK.vtkParallelRenderManager.SetMagnifyImages ( int  _arg) [virtual]

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.

virtual void Kitware.VTK.vtkParallelRenderManager.SetMaxImageReductionFactor ( double  _arg) [virtual]

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).

virtual void Kitware.VTK.vtkParallelRenderManager.SetParallelRendering ( int  _arg) [virtual]

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.

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.

Set/Get the RenderWindow to use for compositing. We add a start and end observer to the window.

When set the render manager will synchronize the TileViewport and TileScale properties. This may not be desirable in cases where there's some other mechanism to set the tile dimensions eg. Tile displays.

By default, the state of all renderers in the root's render window is propagated to the rest of the processes. In order for this to work, all render windows must have the same renderers in the same order. If this is not the case, you can turn off the SyncRenderWindowRenderers. When this flag is off, the list of renderers held by this parallel render manager (initially empty) is synced. You can modify the list of renderers with the AddRenderer, RemoveRenderer, and RemoveAllRenderers methods.

virtual void Kitware.VTK.vtkParallelRenderManager.SetUseBackBuffer ( int  _arg) [virtual]

The default is to allow the use of the back buffer for compositing. If set to false, this will prevent to manager from swapping buffers. This allows something else (for instance VisibleCellSelection) to control front/back buffer swapping.

virtual void Kitware.VTK.vtkParallelRenderManager.SetUseCompositing ( int  _arg) [virtual]

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.

virtual void Kitware.VTK.vtkParallelRenderManager.SetUseRGBA ( int  _arg) [virtual]

Get/Set if all Images must use RGBA instead of RGB. By default, this flag is on.

virtual void Kitware.VTK.vtkParallelRenderManager.SetWriteBackImages ( int  _arg) [virtual]

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.

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.

Callbacks that initialize and finish rendering and other tasks.

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.

When set the render manager will synchronize the TileViewport and TileScale properties. This may not be desirable in cases where there's some other mechanism to set the tile dimensions eg. Tile displays.

When set the render manager will synchronize the TileViewport and TileScale properties. This may not be desirable in cases where there's some other mechanism to set the tile dimensions eg. Tile displays.

By default, the state of all renderers in the root's render window is propagated to the rest of the processes. In order for this to work, all render windows must have the same renderers in the same order. If this is not the case, you can turn off the SyncRenderWindowRenderers. When this flag is off, the list of renderers held by this parallel render manager (initially empty) is synced. You can modify the list of renderers with the AddRenderer, RemoveRenderer, and RemoveAllRenderers methods.

By default, the state of all renderers in the root's render window is propagated to the rest of the processes. In order for this to work, all render windows must have the same renderers in the same order. If this is not the case, you can turn off the SyncRenderWindowRenderers. When this flag is off, the list of renderers held by this parallel render manager (initially empty) is synced. You can modify the list of renderers with the AddRenderer, RemoveRenderer, and RemoveAllRenderers methods.

void Kitware.VTK.vtkParallelRenderManager.TileWindows ( int  xsize,
int  ysize,
int  nColumns 
)

Given the x and y size of the render windows, reposition them in a tile of n columns.

The default is to allow the use of the back buffer for compositing. If set to false, this will prevent to manager from swapping buffers. This allows something else (for instance VisibleCellSelection) to control front/back buffer swapping.

The default is to allow the use of the back buffer for compositing. If set to false, this will prevent to manager from swapping buffers. This allows something else (for instance VisibleCellSelection) to control front/back buffer swapping.

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.

static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_AddRenderer_01 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_ComputeVisiblePropBounds_06 ( HandleRef  pThis,
HandleRef  ren,
IntPtr  bounds 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_ComputeVisiblePropBoundsRMI_07 ( HandleRef  pThis,
int  renderId 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_EndRender_08 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_GetController_12 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_GetForcedRenderWindowSize_16 ( HandleRef  pThis,
ref int  _arg1,
ref int  _arg2 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_GetForcedRenderWindowSize_17 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal IntPtr Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_GetFullImageSize_18 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_GetFullImageSize_19 ( HandleRef  pThis,
ref int  _arg1,
ref int  _arg2 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_GetFullImageSize_20 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_GetPixelData_27 ( HandleRef  pThis,
HandleRef  data 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_GetPixelData_28 ( HandleRef  pThis,
int  x1,
int  y1,
int  x2,
int  y2,
HandleRef  data 
) [private]
static internal IntPtr Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_GetReducedImageSize_29 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_GetReducedImageSize_30 ( HandleRef  pThis,
ref int  _arg1,
ref int  _arg2 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_GetReducedImageSize_31 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_GetReducedPixelData_32 ( HandleRef  pThis,
HandleRef  data 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_GetReducedPixelData_33 ( HandleRef  pThis,
int  x1,
int  y1,
int  x2,
int  y2,
HandleRef  data 
) [private]
static internal double Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_GetRenderTime_35 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_GetRenderWindow_36 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_GetUseRGBA_41 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_InitializePieces_44 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_InitializeRMIs_45 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_IsA_46 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_IsTypeOf_47 ( string  type) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_MagnifyImage_48 ( HandleRef  pThis,
HandleRef  fullImage,
IntPtr  fullImageSize,
HandleRef  reducedImage,
IntPtr  reducedImageSize,
IntPtr  fullImageViewport,
IntPtr  reducedImageViewport 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_MagnifyImageLinear_49 ( HandleRef  fullImage,
IntPtr  fullImageSize,
HandleRef  reducedImage,
IntPtr  reducedImageSize,
IntPtr  fullImageViewport,
IntPtr  reducedImageViewport 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_MagnifyImageNearest_50 ( HandleRef  fullImage,
IntPtr  fullImageSize,
HandleRef  reducedImage,
IntPtr  reducedImageSize,
IntPtr  fullImageViewport,
IntPtr  reducedImageViewport 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_MagnifyImagesOff_51 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_MagnifyImagesOn_52 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_MakeRenderer_54 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_MakeRenderWindow_53 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_NewInstance_55 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_RemoveRenderer_59 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_RenderRMI_62 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_ResetAllCameras_63 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_ResetCamera_64 ( HandleRef  pThis,
HandleRef  ren 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_ResetCameraClippingRange_65 ( HandleRef  pThis,
HandleRef  ren 
) [private]
static internal IntPtr Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SafeDownCast_66 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SetAutoImageReductionFactor_69 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SetController_70 ( HandleRef  pThis,
HandleRef  controller 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SetForcedRenderWindowSize_73 ( HandleRef  pThis,
int  _arg1,
int  _arg2 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SetForcedRenderWindowSize_74 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SetForceRenderWindowSize_72 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SetImageReductionFactor_75 ( HandleRef  pThis,
double  factor 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SetImageReductionFactorForUpdateRate_76 ( HandleRef  pThis,
double  DesiredUpdateRate 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SetMagnifyImageMethod_77 ( HandleRef  pThis,
int  method 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SetMagnifyImages_80 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SetMaxImageReductionFactor_81 ( HandleRef  pThis,
double  _arg 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SetParallelRendering_82 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SetRenderEventPropagation_83 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SetRenderWindow_84 ( HandleRef  pThis,
HandleRef  renWin 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SetSynchronizeTileProperties_86 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SetSyncRenderWindowRenderers_85 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SetUseBackBuffer_87 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SetUseCompositing_88 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SetUseRGBA_89 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_SetWriteBackImages_90 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_StartInteractor_91 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_StartRender_92 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_StartServices_93 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_StopServices_94 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_TileWindows_99 ( HandleRef  pThis,
int  xsize,
int  ysize,
int  nColumns 
) [private]
static internal void Kitware.VTK.vtkParallelRenderManager.vtkParallelRenderManager_UseBackBufferOn_101 ( HandleRef  pThis) [private]

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.


Member Data Documentation

new readonly string Kitware.VTK.vtkParallelRenderManager.MRClassNameKey = "24vtkParallelRenderManager" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkImageRenderManager, and Kitware.VTK.vtkCompositeRenderManager.

new const string Kitware.VTK.vtkParallelRenderManager.MRFullTypeName = "Kitware.VTK.vtkParallelRenderManager"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkImageRenderManager, and Kitware.VTK.vtkCompositeRenderManager.


The documentation for this class was generated from the following file: