30 #ifndef vtkIceTSynchronizedRenderers_h 31 #define vtkIceTSynchronizedRenderers_h 34 #include "vtkPVClientServerCoreRenderingModule.h" 35 #include "vtkSynchronizedRenderers.h" 38 class vtkImageProcessingPass;
39 class vtkMyImagePasterPass;
42 :
public vtkSynchronizedRenderers
47 void PrintSelf(ostream& os, vtkIndent indent);
53 vtkSetMacro(Identifier,
unsigned int);
54 vtkGetMacro(Identifier,
unsigned int);
63 virtual void SetRenderer(vtkRenderer*);
75 void SetTileMullions(
int x,
int y) { this->IceTCompositePass->SetTileMullions(x, y); }
84 this->IceTCompositePass->SetDataReplicatedOnAllProcesses(val);
93 this->IceTCompositePass->SetPartitionOrdering(partitionOrdering);
104 this->IceTCompositePass->SetUseOrderedCompositing(uoc);
110 virtual void SetImageReductionFactor(
int val);
113 return this->IceTCompositePass->GetImageReductionFactor();
123 this->Superclass::SetParallelController(cont);
124 this->IceTCompositePass->SetController(cont);
132 void SetImageProcessingPass(vtkImageProcessingPass*);
133 vtkGetObjectMacro(ImageProcessingPass, vtkImageProcessingPass);
139 void SetUseDepthBuffer(
bool);
146 void SetRenderEmptyImages(
bool);
156 void SetRenderPass(vtkRenderPass*);
157 vtkGetObjectMacro(RenderPass, vtkRenderPass);
174 virtual void HandleEndRender();
179 virtual vtkRawImage& CaptureRenderedImage();
190 virtual void SlaveStartRender();
vtkSynchronizedRenderers subclass that uses IceT for parallel rendering and compositing.
vtkRenderPass * RenderPass
void SetUseOrderedCompositing(bool uoc)
Set this to true, if compositing must be done in a specific order.
void SetPartitionOrdering(vtkPartitionOrderingInterface *partitionOrdering)
partition ordering that gives processes ordering.
void SetTileDimensions(int x, int y)
Set the tile dimensions.
void SetDataReplicatedOnAllProcesses(bool val)
Set to true if data is replicated on all processes.
vtkCameraPass * CameraRenderPass
void SetTileMullions(int x, int y)
Set the tile mullions.
vtkMyImagePasterPass * ImagePastingPass
vtkImageProcessingPass * ImageProcessingPass
virtual void SetParallelController(vtkMultiProcessController *cont)
Set the parallel message communicator.
virtual int GetImageReductionFactor()
Interface for ordering compositing.
vtkRenderPass subclass for compositing renderings across processes using IceT.
vtkIceTCompositePass * IceTCompositePass