21 #ifndef vtkSynchronizedRenderers_h
22 #define vtkSynchronizedRenderers_h
25 #include "vtkRenderingParallelModule.h"
29 VTK_ABI_NAMESPACE_BEGIN
69 vtkSetMacro(ParallelRendering,
bool);
70 vtkGetMacro(ParallelRendering,
bool);
71 vtkBooleanMacro(ParallelRendering,
bool);
78 vtkSetClampMacro(ImageReductionFactor,
int, 1, 50);
79 vtkGetMacro(ImageReductionFactor,
int);
88 vtkSetMacro(WriteBackImages,
bool);
89 vtkGetMacro(WriteBackImages,
bool);
90 vtkBooleanMacro(WriteBackImages,
bool);
99 vtkSetMacro(RootProcessId,
int);
100 vtkGetMacro(RootProcessId,
int);
110 void CollectiveExpandForVisiblePropBounds(
double bounds[6]);
129 vtkSetMacro(AutomaticEventHandling,
bool);
130 vtkGetMacro(AutomaticEventHandling,
bool);
131 vtkBooleanMacro(AutomaticEventHandling,
bool);
146 vtkSetMacro(FixBackground,
bool);
147 vtkGetMacro(FixBackground,
bool);
148 vtkBooleanMacro(FixBackground,
bool);
153 SYNC_RENDERER_TAG = 15101,
154 RESET_CAMERA_TAG = 15102,
155 COMPUTE_BOUNDS_TAG = 15103
166 this->Size[0] = this->Size[1] = 0;
170 void Resize(
int dx,
int dy,
int numcomps)
173 this->Allocate(dx, dy, numcomps);
196 bool PushToViewport(
vtkRenderer* renderer,
bool blend =
true);
205 bool PushToFrameBuffer(
vtkRenderer* ren,
bool blend =
true);
220 void Allocate(
int dx,
int dy,
int numcomps);
233 double CameraPosition[3];
234 double CameraFocalPoint[3];
235 double CameraViewUp[3];
236 double CameraWindowCenter[2];
237 double CameraClippingRange[2];
240 double EyeTransformMatrix[16];
241 double ModelTransformMatrix[16];
253 virtual void HandleStartRender();
254 virtual void HandleEndRender();
257 virtual void MasterStartRender();
258 virtual void SlaveStartRender();
260 virtual void MasterEndRender();
261 virtual void SlaveEndRender();
277 virtual void PushImageToScreen();
293 vtkObserver* Observer;
294 friend class vtkObserver;
299 double LastViewport[4];
301 double LastBackground[3];
302 double LastBackgroundAlpha;
303 bool LastTexturedBackground;
304 bool LastGradientBackground;
308 VTK_ABI_NAMESPACE_END
int CameraParallelProjection
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
stream used to pass data across processes using vtkMultiProcessController.
vtkSynchronizedRenderers * CaptureDelegate
abstract specification for renderers
vtkUnsignedCharArray * GetRawPtr()
static vtkSmartPointer< T > New()
Create an instance of a VTK object.
vtkRawImage can be used to make it easier to deal with images for compositing/communicating over clie...
virtual void HandleAbortRender()
a simple class to control print indentation
vtkMultiProcessController * ParallelController
bool AutomaticEventHandling
double CameraParallelScale
dynamic, self-adjusting array of unsigned char
void Resize(int dx, int dy, int numcomps)
synchronizes renderers across processes.
Perform FXAA antialiasing on the current framebuffer.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkOpenGLRenderer * Renderer
Configuration for FXAA implementations.
Multiprocessing communication superclass.