VTK: Rendering/OpenGL2/vtkSequencePass.h Source File

| VTK 9.3.1

vtkSequencePass.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
30 #ifndef vtkSequencePass_h
31 #define vtkSequencePass_h
32
33 #include "vtkRenderPass.h"
34 #include "vtkRenderingOpenGL2Module.h" // For export macro
35
36 VTK_ABI_NAMESPACE_BEGIN
37 class vtkRenderPassCollection;
38
39 class VTKRENDERINGOPENGL2_EXPORT vtkSequencePass : public vtkRenderPass
40 {
41 public:
42 static vtkSequencePass* New();
43 vtkTypeMacro(vtkSequencePass, vtkRenderPass);
44 void PrintSelf(ostream& os, vtkIndent indent) override;
45
50 void Render(const vtkRenderState* s) override;
51
57 void ReleaseGraphicsResources(vtkWindow* w) override;
58
60
66 vtkGetObjectMacro(Passes, vtkRenderPassCollection);
67 virtual void SetPasses(vtkRenderPassCollection* passes);
69
70 protected:
71 vtkRenderPassCollection* Passes;
72
73 vtkSequencePass();
74 ~vtkSequencePass() override;
75
76 private:
77 vtkSequencePass(const vtkSequencePass&) = delete;
78 void operator=(const vtkSequencePass&) = delete;
79 };
80
81 VTK_ABI_NAMESPACE_END
82 #endif
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkRenderPassCollection
an ordered list of RenderPasses
Definition: vtkRenderPassCollection.h:37
vtkRenderPass
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:49
vtkRenderState
Context in which a vtkRenderPass will render.
Definition: vtkRenderState.h:30
vtkSequencePass
Execute render passes sequentially.
Definition: vtkSequencePass.h:40
vtkSequencePass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSequencePass::New
static vtkSequencePass * New()
vtkSequencePass::SetPasses
virtual void SetPasses(vtkRenderPassCollection *passes)
The ordered list of render passes to execute sequentially.
vtkSequencePass::Passes
vtkRenderPassCollection * Passes
Definition: vtkSequencePass.h:71
vtkSequencePass::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
vtkSequencePass::~vtkSequencePass
~vtkSequencePass() override
vtkSequencePass::vtkSequencePass
vtkSequencePass()
vtkSequencePass::Render
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:37
vtkRenderPass.h