coordinates rendering between corresponding renderers across multiple processes More...
#include <vtkPVSynchronizedRenderer.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) override |
void | Initialize (vtkPVSession *session) |
Must be called once to initialize the instance. More... | |
void | SetOrderedCompositingHelper (vtkOrderedCompositingHelper *helper) |
Used to determine sorting order and use ordered compositing. More... | |
void | SetRenderer (vtkRenderer *) |
Set the renderer that is being synchronized. More... | |
void | SetUseDepthBuffer (bool) |
Activates or de-activated the use of Depth Buffer in an ImageProcessingPass. More... | |
void | SetRenderEmptyImages (bool) |
Enable/Disable empty images optimization. More... | |
void | SetNVPipeSupport (bool) |
Enable/Disable NVPipe. More... | |
virtual void | SetDisableIceT (bool) |
Set this flag to true before calling Initialize() to disable using vtkIceTSynchronizedRenderers for parallel rendering. More... | |
virtual bool | GetDisableIceT () |
Set this flag to true before calling Initialize() to disable using vtkIceTSynchronizedRenderers for parallel rendering. More... | |
virtual void | SetEnabled (bool enabled) |
Enable/Disable parallel rendering. More... | |
virtual bool | GetEnabled () |
Enable/Disable parallel rendering. More... | |
virtual void | EnabledOn () |
Enable/Disable parallel rendering. More... | |
virtual void | EnabledOff () |
Enable/Disable parallel rendering. More... | |
void | SetImageReductionFactor (int) |
Get/Set the image reduction factor. More... | |
virtual int | GetImageReductionFactor () |
Get/Set the image reduction factor. More... | |
void | SetDataReplicatedOnAllProcesses (bool) |
Set to true if data is replicated on all processes. More... | |
virtual bool | GetDataReplicatedOnAllProcesses () |
Set to true if data is replicated on all processes. More... | |
virtual void | DataReplicatedOnAllProcessesOn () |
Set to true if data is replicated on all processes. More... | |
virtual void | DataReplicatedOnAllProcessesOff () |
Set to true if data is replicated on all processes. More... | |
void | SetImageProcessingPass (vtkImageProcessingPass *) |
Get/Set an image processing pass to process the rendered images. More... | |
virtual vtkImageProcessingPass * | GetImageProcessingPass () |
Get/Set an image processing pass to process the rendered images. More... | |
void | SetRenderPass (vtkRenderPass *) |
Get/Set geometry rendering pass. More... | |
virtual vtkRenderPass * | GetRenderPass () |
Get/Set geometry rendering pass. More... | |
void | ConfigureCompressor (const char *configuration) |
Passes the compressor configuration to the client-server synchronizer, if any. More... | |
void | SetLossLessCompression (bool) |
Passes the compressor configuration to the client-server synchronizer, if any. More... | |
void | SetEnableRayTracing (bool val) |
State flags to turn on specialized treatment for ray tracing. More... | |
virtual bool | GetEnableRayTracing () |
State flags to turn on specialized treatment for ray tracing. More... | |
void | SetEnablePathTracing (bool val) |
State flags to turn on specialized treatment for ray tracing. More... | |
virtual bool | GetEnablePathTracing () |
State flags to turn on specialized treatment for ray tracing. More... | |
virtual vtkSynchronizedRenderers * | GetParallelSynchronizer () |
Not for the faint hearted. More... | |
virtual vtkSynchronizedRenderers * | GetCSSynchronizer () |
Not for the faint hearted. More... | |
virtual void | SetUseFXAA (bool use) |
Enable/disable FXAA antialiasing. More... | |
virtual bool | GetUseFXAA () |
Enable/disable FXAA antialiasing. More... | |
virtual vtkFXAAOptions * | GetFXAAOptions () |
Set/Get FXAA options. More... | |
virtual void | SetFXAAOptions (vtkFXAAOptions *) |
Set/Get FXAA options. More... | |
Public Member Functions inherited from vtkObject | |
vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
virtual void | DebugOn () |
virtual void | DebugOff () |
bool | GetDebug () |
void | SetDebug (bool debugFlag) |
virtual void | Modified () |
virtual vtkMTimeType | GetMTime () |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
Public Member Functions inherited from vtkObjectBase | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
void | SetReferenceCount (int) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
void | PrintRevisions (ostream &) |
Static Public Member Functions | |
static vtkPVSynchronizedRenderer * | New () |
static int | IsTypeOf (const char *type) |
static vtkPVSynchronizedRenderer * | SafeDownCast (vtkObject *o) |
Static Public Member Functions inherited from vtkObject | |
static vtkObject * | New () |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
Static Public Member Functions inherited from vtkObjectBase | |
static vtkTypeBool | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
static vtkObjectBase * | New () |
Protected Member Functions | |
vtkPVSynchronizedRenderer () | |
~vtkPVSynchronizedRenderer () override | |
virtual void | SetupPasses () |
Sets up the render passes on the renderer. More... | |
Protected Member Functions inherited from vtkObject | |
vtkObject () | |
virtual | ~vtkObject () |
void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
Protected Member Functions inherited from vtkObjectBase | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Protected Attributes | |
vtkSynchronizedRenderers * | CSSynchronizer |
vtkSynchronizedRenderers * | ParallelSynchronizer |
vtkImageProcessingPass * | ImageProcessingPass |
vtkRenderPass * | RenderPass |
bool | Enabled |
bool | DisableIceT |
int | ImageReductionFactor |
vtkOpenGLRenderer * | Renderer |
bool | UseDepthBuffer |
bool | RenderEmptyImages |
bool | DataReplicatedOnAllProcesses |
bool | EnableRayTracing |
bool | EnablePathTracing |
bool | UseFXAA = false |
vtkFXAAOptions * | FXAAOptions = nullptr |
Protected Attributes inherited from vtkObject | |
bool | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
Protected Attributes inherited from vtkObjectBase | |
vtkAtomicInt32 | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
coordinates rendering between corresponding renderers across multiple processes
vtkPVSynchronizedRenderer coordinates rendering between renderers that are split across multiple ranks. It internally uses other vtkSynchronizedRenderers subclasses based on the operation mode to do the actual coordination such as vtkCaveSynchronizedRenderers, vtkIceTSynchronizedRenderers, vtkPVClientServerSynchronizedRenderers and vtkCompositedSynchronizedRenderers.
Definition at line 33 of file vtkPVSynchronizedRenderer.h.
Definition at line 37 of file vtkPVSynchronizedRenderer.h.
|
protected |
|
overrideprotected |
|
static |
|
virtual |
Reimplemented from vtkObjectBase.
|
static |
|
overridevirtual |
Reimplemented from vtkObject.
|
virtual |
Set this flag to true before calling Initialize() to disable using vtkIceTSynchronizedRenderers for parallel rendering.
Default value is setup using vtkPVRenderViewSettings::GetDisableIceT.
|
virtual |
Set this flag to true before calling Initialize() to disable using vtkIceTSynchronizedRenderers for parallel rendering.
Default value is setup using vtkPVRenderViewSettings::GetDisableIceT.
void vtkPVSynchronizedRenderer::Initialize | ( | vtkPVSession * | session | ) |
Must be called once to initialize the instance.
This will create appropriate internal vtkSynchronizedRenderers subclasses based on the process type and session provided.
void vtkPVSynchronizedRenderer::SetOrderedCompositingHelper | ( | vtkOrderedCompositingHelper * | helper | ) |
Used to determine sorting order and use ordered compositing.
Set to nullptr to not use ordered compositing and instead use depth-buffer based compositing, if applicable.
void vtkPVSynchronizedRenderer::SetRenderer | ( | vtkRenderer * | ) |
Set the renderer that is being synchronized.
|
virtual |
Enable/Disable parallel rendering.
|
virtual |
Enable/Disable parallel rendering.
|
virtual |
Enable/Disable parallel rendering.
|
virtual |
Enable/Disable parallel rendering.
void vtkPVSynchronizedRenderer::SetImageReductionFactor | ( | int | ) |
Get/Set the image reduction factor.
This needs to be set on all processes and must match up.
|
virtual |
Get/Set the image reduction factor.
This needs to be set on all processes and must match up.
void vtkPVSynchronizedRenderer::SetDataReplicatedOnAllProcesses | ( | bool | ) |
Set to true if data is replicated on all processes.
This will enable IceT to minimize communications since data is available on all process. Off by default.
|
virtual |
Set to true if data is replicated on all processes.
This will enable IceT to minimize communications since data is available on all process. Off by default.
|
virtual |
Set to true if data is replicated on all processes.
This will enable IceT to minimize communications since data is available on all process. Off by default.
|
virtual |
Set to true if data is replicated on all processes.
This will enable IceT to minimize communications since data is available on all process. Off by default.
void vtkPVSynchronizedRenderer::SetImageProcessingPass | ( | vtkImageProcessingPass * | ) |
Get/Set an image processing pass to process the rendered images.
|
virtual |
Get/Set an image processing pass to process the rendered images.
void vtkPVSynchronizedRenderer::SetRenderPass | ( | vtkRenderPass * | ) |
Get/Set geometry rendering pass.
This pass is used to render the geometry. If none specified then default rendering pipeline is used. This is typically the render-pass pipeline after the CameraPass. The CameraPass is setup by ParaView specially since ParaView needs some customizations for multiviews/icet etc.
|
virtual |
Get/Set geometry rendering pass.
This pass is used to render the geometry. If none specified then default rendering pipeline is used. This is typically the render-pass pipeline after the CameraPass. The CameraPass is setup by ParaView specially since ParaView needs some customizations for multiviews/icet etc.
void vtkPVSynchronizedRenderer::ConfigureCompressor | ( | const char * | configuration | ) |
Passes the compressor configuration to the client-server synchronizer, if any.
This affects the image compression used to relay images back to the client. See vtkPVClientServerSynchronizedRenderers::ConfigureCompressor() for details.
void vtkPVSynchronizedRenderer::SetLossLessCompression | ( | bool | ) |
Passes the compressor configuration to the client-server synchronizer, if any.
This affects the image compression used to relay images back to the client. See vtkPVClientServerSynchronizedRenderers::ConfigureCompressor() for details.
void vtkPVSynchronizedRenderer::SetUseDepthBuffer | ( | bool | ) |
Activates or de-activated the use of Depth Buffer in an ImageProcessingPass.
void vtkPVSynchronizedRenderer::SetRenderEmptyImages | ( | bool | ) |
Enable/Disable empty images optimization.
void vtkPVSynchronizedRenderer::SetNVPipeSupport | ( | bool | ) |
Enable/Disable NVPipe.
void vtkPVSynchronizedRenderer::SetEnableRayTracing | ( | bool | val | ) |
State flags to turn on specialized treatment for ray tracing.
|
virtual |
State flags to turn on specialized treatment for ray tracing.
void vtkPVSynchronizedRenderer::SetEnablePathTracing | ( | bool | val | ) |
State flags to turn on specialized treatment for ray tracing.
|
virtual |
State flags to turn on specialized treatment for ray tracing.
|
virtual |
Not for the faint hearted.
This internal vtkSynchronizedRenderers instances are exposed for advanced users that want to do advanced tricks with rendering. These will change without notice. Do not use them unless you know what you are doing. ParallelSynchronizer is the vtkSynchronizedRenderers used to synchronize rendering between processes in an MPI group – typically vtkIceTSynchronizedRenderers when available. CSSynchronizer is the client-server vtkSynchronizedRenderers used in client-server configurations.
|
virtual |
Not for the faint hearted.
This internal vtkSynchronizedRenderers instances are exposed for advanced users that want to do advanced tricks with rendering. These will change without notice. Do not use them unless you know what you are doing. ParallelSynchronizer is the vtkSynchronizedRenderers used to synchronize rendering between processes in an MPI group – typically vtkIceTSynchronizedRenderers when available. CSSynchronizer is the client-server vtkSynchronizedRenderers used in client-server configurations.
|
virtual |
Enable/disable FXAA antialiasing.
|
virtual |
Enable/disable FXAA antialiasing.
|
virtual |
Set/Get FXAA options.
|
virtual |
Set/Get FXAA options.
|
protectedvirtual |
Sets up the render passes on the renderer.
This won't get called on processes where vtkIceTSynchronizedRenderers is used. In that case the passes are forwarded to the vtkIceTSynchronizedRenderers instance.
|
protected |
Definition at line 198 of file vtkPVSynchronizedRenderer.h.
|
protected |
Definition at line 199 of file vtkPVSynchronizedRenderer.h.
|
protected |
Definition at line 200 of file vtkPVSynchronizedRenderer.h.
|
protected |
Definition at line 201 of file vtkPVSynchronizedRenderer.h.
|
protected |
Definition at line 203 of file vtkPVSynchronizedRenderer.h.
|
protected |
Definition at line 204 of file vtkPVSynchronizedRenderer.h.
|
protected |
Definition at line 205 of file vtkPVSynchronizedRenderer.h.
|
protected |
Definition at line 206 of file vtkPVSynchronizedRenderer.h.
|
protected |
Definition at line 208 of file vtkPVSynchronizedRenderer.h.
|
protected |
Definition at line 209 of file vtkPVSynchronizedRenderer.h.
|
protected |
Definition at line 210 of file vtkPVSynchronizedRenderer.h.
|
protected |
Definition at line 212 of file vtkPVSynchronizedRenderer.h.
|
protected |
Definition at line 213 of file vtkPVSynchronizedRenderer.h.
|
protected |
Definition at line 215 of file vtkPVSynchronizedRenderer.h.
|
protected |
Definition at line 216 of file vtkPVSynchronizedRenderer.h.