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 =========================================================================*/
25 #ifndef vtkCompositedSynchronizedRenderers_h
26 #define vtkCompositedSynchronizedRenderers_h
27 
28 #include "vtkRenderingParallelModule.h" // For export macro
30 
31 class vtkFloatArray;
32 class vtkCompositer;
33 
34 class VTKRENDERINGPARALLEL_EXPORT vtkCompositedSynchronizedRenderers : public vtkSynchronizedRenderers
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
45  void SetCompositer(vtkCompositer*);
46  vtkGetObjectMacro(Compositer, vtkCompositer);
48 
49 protected:
52 
53  virtual void MasterEndRender();
54  virtual void SlaveEndRender();
55  void CaptureRenderedDepthBuffer(vtkFloatArray* depth_buffer);
56 
58 private:
60  void operator=(const vtkCompositedSynchronizedRenderers&) VTK_DELETE_FUNCTION;
61 
62 };
63 
64 #endif
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:41
a simple class to control print indentation
Definition: vtkIndent.h:39
static vtkSynchronizedRenderers * New()
virtual void MasterEndRender()
synchronizes renderers across processes.
vtkCompositedSynchronizedRenderers is vtkSynchronizedRenderers that uses vtkCompositer to composite t...
virtual void SlaveEndRender()
Super class for composite algorthms.
Definition: vtkCompositer.h:41