33 #ifndef vtkSynchronizedRenderers_h
34 #define vtkSynchronizedRenderers_h
36 #include "vtkRenderingParallelModule.h"
81 vtkGetMacro(ParallelRendering,
bool);
89 vtkSetClampMacro(ImageReductionFactor,
int, 1, 50);
90 vtkGetMacro(ImageReductionFactor,
int);
100 vtkGetMacro(WriteBackImages,
bool);
110 vtkGetMacro(UseFXAA,
bool)
129 vtkGetMacro(RootProcessId,
int);
139 void CollectiveExpandForVisiblePropBounds(
double bounds[6]);
159 vtkGetMacro(AutomaticEventHandling,
bool);
165 SYNC_RENDERER_TAG = 15101,
166 RESET_CAMERA_TAG = 15102,
167 COMPUTE_BOUNDS_TAG = 15103
178 this->Size[0] = this->Size[1] = 0;
182 void Resize(
int dx,
int dy,
int numcomps)
185 this->Allocate(dx, dy, numcomps);
200 {
return this->Data; }
216 void SaveAsPNG(
const char* filename);
223 void Allocate(
int dx,
int dy,
int numcomps);
236 double CameraPosition[3];
237 double CameraFocalPoint[3];
238 double CameraViewUp[3];
239 double CameraWindowCenter[2];
240 double CameraClippingRange[2];
243 double EyeTransformMatrix[16];
244 double ModelTransformMatrix[16];
260 virtual void HandleStartRender();
261 virtual void HandleEndRender();
264 virtual void MasterStartRender();
265 virtual void SlaveStartRender();
267 virtual void MasterEndRender();
268 virtual void SlaveEndRender();
287 virtual void PushImageToScreen();
304 vtkObserver* Observer;
305 friend class vtkObserver;
307 double LastViewport[4];