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.vtkSynchronizedRenderers Class Reference

vtkSynchronizedRenderers - synchronizes renderers across processes. More...

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

List of all members.

Public Types

enum  COMPUTE_BOUNDS_TAG_WrapperEnum { COMPUTE_BOUNDS_TAG = 15103, RESET_CAMERA_TAG = 15102, SYNC_RENDERER_TAG = 15101 }
 When multiple groups of processes are synchronized together using different controllers, one needs to specify the order in which the various synchronizers execute. In such cases one starts with the outer most vtkSynchronizedRenderers, sets the dependent one as a CaptureDelegate on it and the turn off AutomaticEventHandling on the delegate. More...

Public Member Functions

 vtkSynchronizedRenderers (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkSynchronizedRenderers ()
 Undocumented Block.
virtual void AutomaticEventHandlingOff ()
 When multiple groups of processes are synchronized together using different controllers, one needs to specify the order in which the various synchronizers execute. In such cases one starts with the outer most vtkSynchronizedRenderers, sets the dependent one as a CaptureDelegate on it and the turn off AutomaticEventHandling on the delegate.
virtual void AutomaticEventHandlingOn ()
 When multiple groups of processes are synchronized together using different controllers, one needs to specify the order in which the various synchronizers execute. In such cases one starts with the outer most vtkSynchronizedRenderers, sets the dependent one as a CaptureDelegate on it and the turn off AutomaticEventHandling on the delegate.
void CollectiveExpandForVisiblePropBounds (IntPtr bounds)
 Computes visible prob bounds. This must be called on all processes at the same time. The collective result is made available on all processes once this method returns. Note that this method requires that bounds is initialized to some value. This expands the bounds to include the prop bounds.
virtual bool GetAutomaticEventHandling ()
 When multiple groups of processes are synchronized together using different controllers, one needs to specify the order in which the various synchronizers execute. In such cases one starts with the outer most vtkSynchronizedRenderers, sets the dependent one as a CaptureDelegate on it and the turn off AutomaticEventHandling on the delegate.
virtual vtkSynchronizedRenderers GetCaptureDelegate ()
 When set, this->CaptureRenderedImage() does not capture image from the screen instead passes the call to the delegate.
virtual int GetImageReductionFactor ()
 Get/Set the image reduction factor.
virtual int GetImageReductionFactorMaxValue ()
 Get/Set the image reduction factor.
virtual int GetImageReductionFactorMinValue ()
 Get/Set the image reduction factor.
virtual vtkMultiProcessController GetParallelController ()
 Set the parallel message communicator. This is used to communicate among processes.
virtual bool GetParallelRendering ()
 Enable/Disable parallel rendering. Unless Parallel rendering is on, the cameras won't be synchronized across processes.
virtual vtkRenderer GetRenderer ()
 Set the renderer to be synchronized by this instance. A vtkSynchronizedRenderers instance can be used to synchronize exactly 1 renderer on each processes. You can create multiple instances on vtkSynchronizedRenderers to synchronize multiple renderers.
virtual int GetRootProcessId ()
 Get/Set the root-process id. This is required when the ParallelController is a vtkSocketController. Set to 0 by default (which will not work when using a vtkSocketController but will work for vtkMPIController).
virtual bool GetWriteBackImages ()
 If on (default), the rendered images are pasted back on to the screen. You should turn this flag off on processes that are not meant to be visible to the user.
override int IsA (string type)
 Undocumented Block.
new vtkSynchronizedRenderers NewInstance ()
 Undocumented Block.
virtual void ParallelRenderingOff ()
 Enable/Disable parallel rendering. Unless Parallel rendering is on, the cameras won't be synchronized across processes.
virtual void ParallelRenderingOn ()
 Enable/Disable parallel rendering. Unless Parallel rendering is on, the cameras won't be synchronized across processes.
virtual void SetAutomaticEventHandling (bool _arg)
 When multiple groups of processes are synchronized together using different controllers, one needs to specify the order in which the various synchronizers execute. In such cases one starts with the outer most vtkSynchronizedRenderers, sets the dependent one as a CaptureDelegate on it and the turn off AutomaticEventHandling on the delegate.
virtual void SetCaptureDelegate (vtkSynchronizedRenderers arg0)
 When set, this->CaptureRenderedImage() does not capture image from the screen instead passes the call to the delegate.
virtual void SetImageReductionFactor (int _arg)
 Get/Set the image reduction factor.
virtual void SetParallelController (vtkMultiProcessController arg0)
 Set the parallel message communicator. This is used to communicate among processes.
virtual void SetParallelRendering (bool _arg)
 Enable/Disable parallel rendering. Unless Parallel rendering is on, the cameras won't be synchronized across processes.
virtual void SetRenderer (vtkRenderer arg0)
 Set the renderer to be synchronized by this instance. A vtkSynchronizedRenderers instance can be used to synchronize exactly 1 renderer on each processes. You can create multiple instances on vtkSynchronizedRenderers to synchronize multiple renderers.
virtual void SetRootProcessId (int _arg)
 Get/Set the root-process id. This is required when the ParallelController is a vtkSocketController. Set to 0 by default (which will not work when using a vtkSocketController but will work for vtkMPIController).
virtual void SetWriteBackImages (bool _arg)
 If on (default), the rendered images are pasted back on to the screen. You should turn this flag off on processes that are not meant to be visible to the user.
virtual void WriteBackImagesOff ()
 If on (default), the rendered images are pasted back on to the screen. You should turn this flag off on processes that are not meant to be visible to the user.
virtual void WriteBackImagesOn ()
 If on (default), the rendered images are pasted back on to the screen. You should turn this flag off on processes that are not meant to be visible to the user.

Static Public Member Functions

static new vtkSynchronizedRenderers New ()
 Undocumented Block.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkSynchronizedRenderers SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

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

Static Public Attributes

static new readonly string MRClassNameKey = "24vtkSynchronizedRenderers"
 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 IntPtr vtkSynchronizedRenderers_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkSynchronizedRenderers_AutomaticEventHandlingOff_01 (HandleRef pThis)
static internal void vtkSynchronizedRenderers_AutomaticEventHandlingOn_02 (HandleRef pThis)
static internal void vtkSynchronizedRenderers_CollectiveExpandForVisiblePropBounds_03 (HandleRef pThis, IntPtr bounds)
static internal byte vtkSynchronizedRenderers_GetAutomaticEventHandling_04 (HandleRef pThis)
static internal IntPtr vtkSynchronizedRenderers_GetCaptureDelegate_05 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkSynchronizedRenderers_GetImageReductionFactor_06 (HandleRef pThis)
static internal int vtkSynchronizedRenderers_GetImageReductionFactorMaxValue_07 (HandleRef pThis)
static internal int vtkSynchronizedRenderers_GetImageReductionFactorMinValue_08 (HandleRef pThis)
static internal IntPtr vtkSynchronizedRenderers_GetParallelController_09 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal byte vtkSynchronizedRenderers_GetParallelRendering_10 (HandleRef pThis)
static internal IntPtr vtkSynchronizedRenderers_GetRenderer_11 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkSynchronizedRenderers_GetRootProcessId_12 (HandleRef pThis)
static internal byte vtkSynchronizedRenderers_GetWriteBackImages_13 (HandleRef pThis)
static internal int vtkSynchronizedRenderers_IsA_14 (HandleRef pThis, string type)
static internal int vtkSynchronizedRenderers_IsTypeOf_15 (string type)
static internal IntPtr vtkSynchronizedRenderers_NewInstance_17 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkSynchronizedRenderers_ParallelRenderingOff_18 (HandleRef pThis)
static internal void vtkSynchronizedRenderers_ParallelRenderingOn_19 (HandleRef pThis)
static internal IntPtr vtkSynchronizedRenderers_SafeDownCast_20 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkSynchronizedRenderers_SetAutomaticEventHandling_21 (HandleRef pThis, byte _arg)
static internal void vtkSynchronizedRenderers_SetCaptureDelegate_22 (HandleRef pThis, HandleRef arg0)
static internal void vtkSynchronizedRenderers_SetImageReductionFactor_23 (HandleRef pThis, int _arg)
static internal void vtkSynchronizedRenderers_SetParallelController_24 (HandleRef pThis, HandleRef arg0)
static internal void vtkSynchronizedRenderers_SetParallelRendering_25 (HandleRef pThis, byte _arg)
static internal void vtkSynchronizedRenderers_SetRenderer_26 (HandleRef pThis, HandleRef arg0)
static internal void vtkSynchronizedRenderers_SetRootProcessId_27 (HandleRef pThis, int _arg)
static internal void vtkSynchronizedRenderers_SetWriteBackImages_28 (HandleRef pThis, byte _arg)
static internal void vtkSynchronizedRenderers_WriteBackImagesOff_29 (HandleRef pThis)
static internal void vtkSynchronizedRenderers_WriteBackImagesOn_30 (HandleRef pThis)

Static Private Member Functions

static vtkSynchronizedRenderers ()
 Automatically generated type registration mechanics.

Detailed Description

vtkSynchronizedRenderers - synchronizes renderers across processes.

Description vtkSynchronizedRenderers is used to synchronize renderers (vtkRenderer and subclasses) across processes for parallel rendering. It's designed to be used in conjunction with vtkSynchronizedRenderWindows to synchronize the render windows among those processes. This class handles synchronization of certain render parameters among the renderers such as viewport, camera parameters. It doesn't support compositing of rendered images across processes on its own. You typically either subclass to implement a compositing algorithm or use a renderer capable of compositing eg. IceT based renderer.


Member Enumeration Documentation

When multiple groups of processes are synchronized together using different controllers, one needs to specify the order in which the various synchronizers execute. In such cases one starts with the outer most vtkSynchronizedRenderers, sets the dependent one as a CaptureDelegate on it and the turn off AutomaticEventHandling on the delegate.

Enumerator:
COMPUTE_BOUNDS_TAG 

enum member

RESET_CAMERA_TAG 

enum member

SYNC_RENDERER_TAG 

enum member


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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

Undocumented Block.


Member Function Documentation

When multiple groups of processes are synchronized together using different controllers, one needs to specify the order in which the various synchronizers execute. In such cases one starts with the outer most vtkSynchronizedRenderers, sets the dependent one as a CaptureDelegate on it and the turn off AutomaticEventHandling on the delegate.

When multiple groups of processes are synchronized together using different controllers, one needs to specify the order in which the various synchronizers execute. In such cases one starts with the outer most vtkSynchronizedRenderers, sets the dependent one as a CaptureDelegate on it and the turn off AutomaticEventHandling on the delegate.

Computes visible prob bounds. This must be called on all processes at the same time. The collective result is made available on all processes once this method returns. Note that this method requires that bounds is initialized to some value. This expands the bounds to include the prop bounds.

override void Kitware.VTK.vtkSynchronizedRenderers.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.vtkClientServerSynchronizedRenderers, and Kitware.VTK.vtkCompositedSynchronizedRenderers.

When multiple groups of processes are synchronized together using different controllers, one needs to specify the order in which the various synchronizers execute. In such cases one starts with the outer most vtkSynchronizedRenderers, sets the dependent one as a CaptureDelegate on it and the turn off AutomaticEventHandling on the delegate.

When set, this->CaptureRenderedImage() does not capture image from the screen instead passes the call to the delegate.

Here is the call graph for this function:

Get/Set the image reduction factor.

Get/Set the image reduction factor.

Get/Set the image reduction factor.

Set the parallel message communicator. This is used to communicate among processes.

Here is the call graph for this function:

Enable/Disable parallel rendering. Unless Parallel rendering is on, the cameras won't be synchronized across processes.

Set the renderer to be synchronized by this instance. A vtkSynchronizedRenderers instance can be used to synchronize exactly 1 renderer on each processes. You can create multiple instances on vtkSynchronizedRenderers to synchronize multiple renderers.

Here is the call graph for this function:

Get/Set the root-process id. This is required when the ParallelController is a vtkSocketController. Set to 0 by default (which will not work when using a vtkSocketController but will work for vtkMPIController).

If on (default), the rendered images are pasted back on to the screen. You should turn this flag off on processes that are not meant to be visible to the user.

override int Kitware.VTK.vtkSynchronizedRenderers.IsA ( string  type) [virtual]
static new int Kitware.VTK.vtkSynchronizedRenderers.IsTypeOf ( string  type) [static]

Enable/Disable parallel rendering. Unless Parallel rendering is on, the cameras won't be synchronized across processes.

Enable/Disable parallel rendering. Unless Parallel rendering is on, the cameras won't be synchronized across processes.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkCompositedSynchronizedRenderers, and Kitware.VTK.vtkClientServerSynchronizedRenderers.

Here is the call graph for this function:

When multiple groups of processes are synchronized together using different controllers, one needs to specify the order in which the various synchronizers execute. In such cases one starts with the outer most vtkSynchronizedRenderers, sets the dependent one as a CaptureDelegate on it and the turn off AutomaticEventHandling on the delegate.

When set, this->CaptureRenderedImage() does not capture image from the screen instead passes the call to the delegate.

Get/Set the image reduction factor.

Set the parallel message communicator. This is used to communicate among processes.

virtual void Kitware.VTK.vtkSynchronizedRenderers.SetParallelRendering ( bool  _arg) [virtual]

Enable/Disable parallel rendering. Unless Parallel rendering is on, the cameras won't be synchronized across processes.

Set the renderer to be synchronized by this instance. A vtkSynchronizedRenderers instance can be used to synchronize exactly 1 renderer on each processes. You can create multiple instances on vtkSynchronizedRenderers to synchronize multiple renderers.

virtual void Kitware.VTK.vtkSynchronizedRenderers.SetRootProcessId ( int  _arg) [virtual]

Get/Set the root-process id. This is required when the ParallelController is a vtkSocketController. Set to 0 by default (which will not work when using a vtkSocketController but will work for vtkMPIController).

virtual void Kitware.VTK.vtkSynchronizedRenderers.SetWriteBackImages ( bool  _arg) [virtual]

If on (default), the rendered images are pasted back on to the screen. You should turn this flag off on processes that are not meant to be visible to the user.

static internal void Kitware.VTK.vtkSynchronizedRenderers.vtkSynchronizedRenderers_CollectiveExpandForVisiblePropBounds_03 ( HandleRef  pThis,
IntPtr  bounds 
) [private]
static internal IntPtr Kitware.VTK.vtkSynchronizedRenderers.vtkSynchronizedRenderers_GetCaptureDelegate_05 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkSynchronizedRenderers.vtkSynchronizedRenderers_GetParallelController_09 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkSynchronizedRenderers.vtkSynchronizedRenderers_GetRenderer_11 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkSynchronizedRenderers.vtkSynchronizedRenderers_IsA_14 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkSynchronizedRenderers.vtkSynchronizedRenderers_IsTypeOf_15 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkSynchronizedRenderers.vtkSynchronizedRenderers_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkSynchronizedRenderers.vtkSynchronizedRenderers_NewInstance_17 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkSynchronizedRenderers.vtkSynchronizedRenderers_SafeDownCast_20 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkSynchronizedRenderers.vtkSynchronizedRenderers_SetAutomaticEventHandling_21 ( HandleRef  pThis,
byte  _arg 
) [private]
static internal void Kitware.VTK.vtkSynchronizedRenderers.vtkSynchronizedRenderers_SetCaptureDelegate_22 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkSynchronizedRenderers.vtkSynchronizedRenderers_SetImageReductionFactor_23 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkSynchronizedRenderers.vtkSynchronizedRenderers_SetParallelController_24 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkSynchronizedRenderers.vtkSynchronizedRenderers_SetParallelRendering_25 ( HandleRef  pThis,
byte  _arg 
) [private]
static internal void Kitware.VTK.vtkSynchronizedRenderers.vtkSynchronizedRenderers_SetRenderer_26 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal void Kitware.VTK.vtkSynchronizedRenderers.vtkSynchronizedRenderers_SetRootProcessId_27 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkSynchronizedRenderers.vtkSynchronizedRenderers_SetWriteBackImages_28 ( HandleRef  pThis,
byte  _arg 
) [private]

If on (default), the rendered images are pasted back on to the screen. You should turn this flag off on processes that are not meant to be visible to the user.

If on (default), the rendered images are pasted back on to the screen. You should turn this flag off on processes that are not meant to be visible to the user.


Member Data Documentation

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkClientServerSynchronizedRenderers, and Kitware.VTK.vtkCompositedSynchronizedRenderers.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

Reimplemented in Kitware.VTK.vtkClientServerSynchronizedRenderers, and Kitware.VTK.vtkCompositedSynchronizedRenderers.


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