33 #ifndef vtkSynchronizedRenderers_h 34 #define vtkSynchronizedRenderers_h 36 #include "vtkRenderingParallelModule.h" 80 vtkSetMacro(ParallelRendering,
bool);
81 vtkGetMacro(ParallelRendering,
bool);
82 vtkBooleanMacro(ParallelRendering,
bool);
89 vtkSetClampMacro(ImageReductionFactor,
int, 1, 50);
90 vtkGetMacro(ImageReductionFactor,
int);
99 vtkSetMacro(WriteBackImages,
bool);
100 vtkGetMacro(WriteBackImages,
bool);
101 vtkBooleanMacro(WriteBackImages,
bool);
110 vtkSetMacro(RootProcessId,
int);
111 vtkGetMacro(RootProcessId,
int);
121 void CollectiveExpandForVisiblePropBounds(
double bounds[6]);
140 vtkSetMacro(AutomaticEventHandling,
bool);
141 vtkGetMacro(AutomaticEventHandling,
bool);
142 vtkBooleanMacro(AutomaticEventHandling,
bool);
147 SYNC_RENDERER_TAG = 15101,
148 RESET_CAMERA_TAG = 15102,
149 COMPUTE_BOUNDS_TAG = 15103
160 this->Size[0] = this->Size[1] = 0;
164 void Resize(
int dx,
int dy,
int numcomps)
167 this->Allocate(dx, dy, numcomps);
182 {
return this->Data; }
190 bool PushToFrameBuffer(
vtkRenderer *ren =
nullptr);
198 void SaveAsPNG(
const char* filename);
205 void Allocate(
int dx,
int dy,
int numcomps);
218 double CameraPosition[3];
219 double CameraFocalPoint[3];
220 double CameraViewUp[3];
221 double CameraWindowCenter[2];
222 double CameraClippingRange[2];
225 double EyeTransformMatrix[16];
226 double ModelTransformMatrix[16];
238 virtual void HandleStartRender();
239 virtual void HandleEndRender();
242 virtual void MasterStartRender();
243 virtual void SlaveStartRender();
245 virtual void MasterEndRender();
246 virtual void SlaveEndRender();
265 virtual void PushImageToScreen();
282 vtkObserver* Observer;
283 friend class vtkObserver;
288 double LastViewport[4];
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.