VTK  9.3.0
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
21 #ifndef vtkSequencePass_h
22 #define vtkSequencePass_h
23 
24 #include "vtkRenderPass.h"
25 #include "vtkRenderingOpenGL2Module.h" // For export macro
26 
27 VTK_ABI_NAMESPACE_BEGIN
29 
30 class VTKRENDERINGOPENGL2_EXPORT vtkSequencePass : public vtkRenderPass
31 {
32 public:
33  static vtkSequencePass* New();
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
41  void Render(const vtkRenderState* s) override;
42 
49 
51 
57  vtkGetObjectMacro(Passes, vtkRenderPassCollection);
58  virtual void SetPasses(vtkRenderPassCollection* passes);
60 
61 protected:
63 
65  ~vtkSequencePass() override;
66 
67 private:
68  vtkSequencePass(const vtkSequencePass&) = delete;
69  void operator=(const vtkSequencePass&) = delete;
70 };
71 
72 VTK_ABI_NAMESPACE_END
73 #endif
a simple class to control print indentation
Definition: vtkIndent.h:29
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:28