VTK  9.2.20230320
vtkSequencePass.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSequencePass.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 =========================================================================*/
102 #ifndef vtkSequencePass_h
103 #define vtkSequencePass_h
104 
105 #include "vtkRenderPass.h"
106 #include "vtkRenderingOpenGL2Module.h" // For export macro
107 
108 VTK_ABI_NAMESPACE_BEGIN
110 
111 class VTKRENDERINGOPENGL2_EXPORT vtkSequencePass : public vtkRenderPass
112 {
113 public:
114  static vtkSequencePass* New();
116  void PrintSelf(ostream& os, vtkIndent indent) override;
117 
122  void Render(const vtkRenderState* s) override;
123 
130 
132 
138  vtkGetObjectMacro(Passes, vtkRenderPassCollection);
139  virtual void SetPasses(vtkRenderPassCollection* passes);
141 
142 protected:
144 
146  ~vtkSequencePass() override;
147 
148 private:
149  vtkSequencePass(const vtkSequencePass&) = delete;
150  void operator=(const vtkSequencePass&) = delete;
151 };
152 
153 VTK_ABI_NAMESPACE_END
154 #endif
a simple class to control print indentation
Definition: vtkIndent.h:120
an ordered list of RenderPasses
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:61
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:40