VTK
vtkCompositedSynchronizedRenderers.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCompositedSynchronizedRenderers.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
21 #ifndef vtkCompositedSynchronizedRenderers_h
22 #define vtkCompositedSynchronizedRenderers_h
23 
24 #include "vtkRenderingParallelModule.h" // For export macro
26 
27 class vtkFloatArray;
28 class vtkCompositer;
29 
30 class VTKRENDERINGPARALLEL_EXPORT vtkCompositedSynchronizedRenderers : public vtkSynchronizedRenderers
31 {
32 public:
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
38 
39  void SetCompositer(vtkCompositer*);
40  vtkGetObjectMacro(Compositer, vtkCompositer);
42 
43 //BTX
44 protected:
47 
48  virtual void MasterEndRender();
49  virtual void SlaveEndRender();
50  void CaptureRenderedDepthBuffer(vtkFloatArray* depth_buffer);
51 
53 private:
55  void operator=(const vtkCompositedSynchronizedRenderers&); // Not implemented
56 //ETX
57 };
58 
59 #endif
void PrintSelf(ostream &os, vtkIndent indent)
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:45
a simple class to control print indentation
Definition: vtkIndent.h:38
static vtkSynchronizedRenderers * New()
virtual void MasterEndRender()
synchronizes renderers across processes.
virtual void SlaveEndRender()
Super class for composite algorthms.
Definition: vtkCompositer.h:40