VTK  9.3.20240327
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
90 #ifndef vtkSequencePass_h
91 #define vtkSequencePass_h
92 
93 #include "vtkRenderPass.h"
94 #include "vtkRenderingOpenGL2Module.h" // For export macro
95 
96 VTK_ABI_NAMESPACE_BEGIN
98 
99 class VTKRENDERINGOPENGL2_EXPORT vtkSequencePass : public vtkRenderPass
100 {
101 public:
102  static vtkSequencePass* New();
104  void PrintSelf(ostream& os, vtkIndent indent) override;
105 
110  void Render(const vtkRenderState* s) override;
111 
118 
120 
126  vtkGetObjectMacro(Passes, vtkRenderPassCollection);
127  virtual void SetPasses(vtkRenderPassCollection* passes);
129 
130 protected:
132 
134  ~vtkSequencePass() override;
135 
136 private:
137  vtkSequencePass(const vtkSequencePass&) = delete;
138  void operator=(const vtkSequencePass&) = delete;
139 };
140 
141 VTK_ABI_NAMESPACE_END
142 #endif
a simple class to control print indentation
Definition: vtkIndent.h:108
an ordered list of RenderPasses
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:49
Context in which a vtkRenderPass will render.
Execute render passes sequentially.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkSequencePass * New()
virtual void SetPasses(vtkRenderPassCollection *passes)
The ordered list of render passes to execute sequentially.
vtkRenderPassCollection * Passes
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
~vtkSequencePass() override
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:47