VTK: Rendering/Parallel/vtkCompositeRenderManager.h Source File

| VTK 9.3.1

vtkCompositeRenderManager.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
20 #ifndef vtkCompositeRenderManager_h
21 #define vtkCompositeRenderManager_h
22
23 #include "vtkParallelRenderManager.h"
24 #include "vtkRenderingParallelModule.h" // For export macro
25
26 VTK_ABI_NAMESPACE_BEGIN
27 class vtkCompositer;
28 class vtkFloatArray;
29
30 class VTKRENDERINGPARALLEL_EXPORT vtkCompositeRenderManager : public vtkParallelRenderManager
31 {
32 public:
33 vtkTypeMacro(vtkCompositeRenderManager, vtkParallelRenderManager);
34 static vtkCompositeRenderManager* New();
35 void PrintSelf(ostream& os, vtkIndent indent) override;
36
38
41 void SetCompositer(vtkCompositer* c);
42 vtkGetObjectMacro(Compositer, vtkCompositer);
44
45 protected:
46 vtkCompositeRenderManager();
47 ~vtkCompositeRenderManager() override;
48
49 vtkCompositer* Compositer;
50
51 void PreRenderProcessing() override;
52 void PostRenderProcessing() override;
53
54 vtkFloatArray* DepthData;
55 vtkUnsignedCharArray* TmpPixelData;
56 vtkFloatArray* TmpDepthData;
57
58 int SavedMultiSamplesSetting;
59
60 private:
61 vtkCompositeRenderManager(const vtkCompositeRenderManager&) = delete;
62 void operator=(const vtkCompositeRenderManager&) = delete;
63 };
64
65 VTK_ABI_NAMESPACE_END
66 #endif // vtkCompositeRenderManager_h
vtkCompositeRenderManager
An object to control sort-last parallel rendering.
Definition: vtkCompositeRenderManager.h:31
vtkCompositeRenderManager::SavedMultiSamplesSetting
int SavedMultiSamplesSetting
Definition: vtkCompositeRenderManager.h:58
vtkCompositeRenderManager::~vtkCompositeRenderManager
~vtkCompositeRenderManager() override
vtkCompositeRenderManager::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCompositeRenderManager::vtkCompositeRenderManager
vtkCompositeRenderManager()
vtkCompositeRenderManager::TmpDepthData
vtkFloatArray * TmpDepthData
Definition: vtkCompositeRenderManager.h:56
vtkCompositeRenderManager::PostRenderProcessing
void PostRenderProcessing() override
Here is a good place to handle processing of data before and after render.
vtkCompositeRenderManager::SetCompositer
void SetCompositer(vtkCompositer *c)
Set/Get the composite algorithm.
vtkCompositeRenderManager::New
static vtkCompositeRenderManager * New()
vtkCompositeRenderManager::DepthData
vtkFloatArray * DepthData
Definition: vtkCompositeRenderManager.h:54
vtkCompositeRenderManager::TmpPixelData
vtkUnsignedCharArray * TmpPixelData
Definition: vtkCompositeRenderManager.h:55
vtkCompositeRenderManager::PreRenderProcessing
void PreRenderProcessing() override
Here is a good place to handle processing of data before and after render.
vtkCompositeRenderManager::Compositer
vtkCompositer * Compositer
Definition: vtkCompositeRenderManager.h:49
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
vtkParallelRenderManager
An object to control parallel rendering.
Definition: vtkParallelRenderManager.h:50
vtkUnsignedCharArray
dynamic, self-adjusting array of unsigned char
Definition: vtkUnsignedCharArray.h:40
vtkParallelRenderManager.h