32 #ifndef vtkSynchronizedRenderers_h 33 #define vtkSynchronizedRenderers_h 105 void CollectiveExpandForVisiblePropBounds(
double bounds[6]);
129 SYNC_RENDERER_TAG = 15101,
130 RESET_CAMERA_TAG = 15102,
131 COMPUTE_BOUNDS_TAG = 15103
142 this->Size[0] = this->Size[1] = 0;
146 void Resize(
int dx,
int dy,
int numcomps)
149 this->Allocate(dx, dy, numcomps);
162 {
return this->Data; }
178 void SaveAsPNG(
const char* filename);
185 void Allocate(
int dx,
int dy,
int numcomps);
198 double CameraPosition[3];
199 double CameraFocalPoint[3];
200 double CameraViewUp[3];
201 double CameraWindowCenter[2];
202 double CameraClippingRange[2];
205 double EyeTransformMatrix[16];
206 double ModelTransformMatrix[16];
218 virtual void HandleStartRender();
219 virtual void HandleEndRender();
222 virtual void MasterStartRender();
223 virtual void SlaveStartRender();
225 virtual void MasterEndRender();
226 virtual void SlaveEndRender();
241 virtual void PushImageToScreen();
258 vtkObserver* Observer;
259 friend class vtkObserver;
261 double LastViewport[4];
GLsizei GLsizei GLenum GLenum const GLvoid * data
int CameraParallelProjection
abstract base class for most VTK objects
stream used to pass data across processes using vtkMultiProcessController.
vtkSynchronizedRenderers * CaptureDelegate
#define vtkGetMacro(name, type)
#define VTKRENDERINGPARALLEL_EXPORT
abstract specification for renderers
#define vtkSetClampMacro(name, type, min, max)
vtkUnsignedCharArray * GetRawPtr()
static vtkSmartPointer< T > New()
#define vtkTypeMacro(thisClass, superclass)
vtkRawImage can be used to make it easier to deal with images for compositing/communicating over clie...
virtual void HandleAbortRender()
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
vtkMultiProcessController * ParallelController
bool AutomaticEventHandling
double CameraParallelScale
#define vtkGetObjectMacro(name, type)
dynamic, self-adjusting array of unsigned char
void Resize(int dx, int dy, int numcomps)
synchronizes renderers across processes.
#define vtkBooleanMacro(name, type)
vtkOpenGLRenderer * Renderer
#define vtkSetMacro(name, type)
Multiprocessing communication superclass.