24#ifndef vtkSynchronizedRenderWindows_h
25#define vtkSynchronizedRenderWindows_h
28#include "vtkRenderingParallelModule.h"
73 vtkGetMacro(Identifier,
unsigned int);
82 vtkSetMacro(ParallelRendering,
bool);
83 vtkGetMacro(ParallelRendering,
bool);
84 vtkBooleanMacro(ParallelRendering,
bool);
91 vtkSetMacro(RenderEventPropagation,
bool);
92 vtkGetMacro(RenderEventPropagation,
bool);
93 vtkBooleanMacro(RenderEventPropagation,
bool);
107 vtkSetMacro(RootProcessId,
int);
108 vtkGetMacro(RootProcessId,
int);
113 SYNC_RENDER_TAG = 15001,
124 double TileViewport[4];
156 vtkObserver* Observer;
157 friend class vtkObserver;
superclass for callback/observer methods
a simple class to control print indentation
Multiprocessing communication superclass.
stream used to pass data across processes using vtkMultiProcessController.
abstract base class for most VTK objects
create a window for renderers to draw into
synchronizes render windows across processes.
vtkMultiProcessController * ParallelController
vtkSynchronizedRenderWindows()
virtual void AbortRender()
This method call be called while a render is in progress to abort the rendering.
~vtkSynchronizedRenderWindows() override
vtkRenderWindow * RenderWindow
virtual void HandleAbortRender()
virtual void MasterStartRender()
static vtkSynchronizedRenderWindows * New()
bool RenderEventPropagation
virtual void HandleStartRender()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SlaveStartRender()
void SetParallelController(vtkMultiProcessController *)
Set the parallel message communicator.
void SetIdentifier(unsigned int id)
It's acceptable to have multiple instances on vtkSynchronizedRenderWindows on each processes to synch...
virtual void HandleEndRender()
void SetRenderWindow(vtkRenderWindow *)
Set the render window to be synchronized by this vtkSynchronizedRenderWindows instance.
bool Restore(vtkMultiProcessStream &stream)
void CopyFrom(vtkRenderWindow *)
void Save(vtkMultiProcessStream &stream)
void CopyTo(vtkRenderWindow *)