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