30 #ifndef vtkSynchronizedRenderers_h 31 #define vtkSynchronizedRenderers_h 33 #include "vtkRenderingParallelModule.h" 77 vtkSetMacro(ParallelRendering,
bool);
78 vtkGetMacro(ParallelRendering,
bool);
79 vtkBooleanMacro(ParallelRendering,
bool);
86 vtkSetClampMacro(ImageReductionFactor,
int, 1, 50);
87 vtkGetMacro(ImageReductionFactor,
int);
96 vtkSetMacro(WriteBackImages,
bool);
97 vtkGetMacro(WriteBackImages,
bool);
98 vtkBooleanMacro(WriteBackImages,
bool);
107 vtkSetMacro(RootProcessId,
int);
108 vtkGetMacro(RootProcessId,
int);
118 void CollectiveExpandForVisiblePropBounds(
double bounds[6]);
137 vtkSetMacro(AutomaticEventHandling,
bool);
138 vtkGetMacro(AutomaticEventHandling,
bool);
139 vtkBooleanMacro(AutomaticEventHandling,
bool);
144 SYNC_RENDERER_TAG = 15101,
145 RESET_CAMERA_TAG = 15102,
146 COMPUTE_BOUNDS_TAG = 15103
157 this->Size[0] = this->Size[1] = 0;
161 void Resize(
int dx,
int dy,
int numcomps)
164 this->Allocate(dx, dy, numcomps);
179 {
return this->Data; }
187 bool PushToFrameBuffer(
vtkRenderer *ren =
nullptr);
195 void SaveAsPNG(
const char* filename);
202 void Allocate(
int dx,
int dy,
int numcomps);
215 double CameraPosition[3];
216 double CameraFocalPoint[3];
217 double CameraViewUp[3];
218 double CameraWindowCenter[2];
219 double CameraClippingRange[2];
222 double EyeTransformMatrix[16];
223 double ModelTransformMatrix[16];
235 virtual void HandleStartRender();
236 virtual void HandleEndRender();
239 virtual void MasterStartRender();
240 virtual void SlaveStartRender();
242 virtual void MasterEndRender();
243 virtual void SlaveEndRender();
262 virtual void PushImageToScreen();
279 vtkObserver* Observer;
280 friend class vtkObserver;
285 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.