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]);
147 vtkGetObjectMacro(CaptureDelegate, vtkSynchronizedRenderers);
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];
int CameraParallelProjection
vtkOpenGLFXAAFilter * FXAAFilter
abstract base class for most VTK objects
vtkFXAAOptions * FXAAOptions
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
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void Resize(int dx, int dy, int numcomps)
synchronizes renderers across processes.
Perform FXAA antialiasing on the current framebuffer.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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.