VTK: Rendering/Parallel/vtkCompositedSynchronizedRenderers.h Source File

| VTK 9.3.1

vtkCompositedSynchronizedRenderers.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkCompositedSynchronizedRenderers_h
13 #define vtkCompositedSynchronizedRenderers_h
14
15 #include "vtkRenderingParallelModule.h" // For export macro
16 #include "vtkSynchronizedRenderers.h"
17
18 VTK_ABI_NAMESPACE_BEGIN
19 class vtkFloatArray;
20 class vtkCompositer;
21
22 class VTKRENDERINGPARALLEL_EXPORT vtkCompositedSynchronizedRenderers
23 : public vtkSynchronizedRenderers
24 {
25 public:
26 static vtkCompositedSynchronizedRenderers* New();
27 vtkTypeMacro(vtkCompositedSynchronizedRenderers, vtkSynchronizedRenderers);
28 void PrintSelf(ostream& os, vtkIndent indent) override;
29
31
34 void SetCompositer(vtkCompositer*);
35 vtkGetObjectMacro(Compositer, vtkCompositer);
37
38 protected:
39 vtkCompositedSynchronizedRenderers();
40 ~vtkCompositedSynchronizedRenderers() override;
41
42 void MasterEndRender() override;
43 void SlaveEndRender() override;
44 void CaptureRenderedDepthBuffer(vtkFloatArray* depth_buffer);
45
46 vtkCompositer* Compositer;
47
48 private:
49 vtkCompositedSynchronizedRenderers(const vtkCompositedSynchronizedRenderers&) = delete;
50 void operator=(const vtkCompositedSynchronizedRenderers&) = delete;
51 };
52
53 VTK_ABI_NAMESPACE_END
54 #endif
vtkCompositedSynchronizedRenderers
vtkCompositedSynchronizedRenderers is vtkSynchronizedRenderers that uses vtkCompositer to composite t...
Definition: vtkCompositedSynchronizedRenderers.h:24
vtkCompositedSynchronizedRenderers::CaptureRenderedDepthBuffer
void CaptureRenderedDepthBuffer(vtkFloatArray *depth_buffer)
vtkCompositedSynchronizedRenderers::New
static vtkCompositedSynchronizedRenderers * New()
vtkCompositedSynchronizedRenderers::~vtkCompositedSynchronizedRenderers
~vtkCompositedSynchronizedRenderers() override
vtkCompositedSynchronizedRenderers::SlaveEndRender
void SlaveEndRender() override
vtkCompositedSynchronizedRenderers::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCompositedSynchronizedRenderers::MasterEndRender
void MasterEndRender() override
vtkCompositedSynchronizedRenderers::Compositer
vtkCompositer * Compositer
Definition: vtkCompositedSynchronizedRenderers.h:46
vtkCompositedSynchronizedRenderers::vtkCompositedSynchronizedRenderers
vtkCompositedSynchronizedRenderers()
vtkCompositedSynchronizedRenderers::SetCompositer
void SetCompositer(vtkCompositer *)
Get/Set the composite.
vtkCompositer
Super class for composite algorithms.
Definition: vtkCompositer.h:31
vtkFloatArray
dynamic, self-adjusting array of float
Definition: vtkFloatArray.h:40
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkSynchronizedRenderers
synchronizes renderers across processes.
Definition: vtkSynchronizedRenderers.h:38
vtkSynchronizedRenderers.h