30 #ifndef vtkSynchronizedRenderers_h
31 #define vtkSynchronizedRenderers_h
33 #include "vtkRenderingParallelModule.h"
78 vtkGetMacro(ParallelRendering,
bool);
86 vtkSetClampMacro(ImageReductionFactor,
int, 1, 50);
87 vtkGetMacro(ImageReductionFactor,
int);
97 vtkGetMacro(WriteBackImages,
bool);
107 vtkGetMacro(UseFXAA,
bool)
126 vtkGetMacro(RootProcessId,
int);
136 void CollectiveExpandForVisiblePropBounds(
double bounds[6]);
144 vtkGetObjectMacro(CaptureDelegate, vtkSynchronizedRenderers);
156 vtkGetMacro(AutomaticEventHandling,
bool);
162 SYNC_RENDERER_TAG = 15101,
163 RESET_CAMERA_TAG = 15102,
164 COMPUTE_BOUNDS_TAG = 15103
175 this->Size[0] = this->Size[1] = 0;
179 void Resize(
int dx,
int dy,
int numcomps)
182 this->Allocate(dx, dy, numcomps);
197 {
return this->Data; }
213 void SaveAsPNG(
const char* filename);
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];
257 virtual void HandleStartRender();
258 virtual void HandleEndRender();
261 virtual void MasterStartRender();
262 virtual void SlaveStartRender();
264 virtual void MasterEndRender();
265 virtual void SlaveEndRender();
284 virtual void PushImageToScreen();
301 vtkObserver* Observer;
302 friend class vtkObserver;
304 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.