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
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 
48  void ReleaseGraphicsResources(vtkWindow* w) override;
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
Execute render passes sequentially.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:27
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:28
vtkRenderPassCollection * Passes
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
virtual void ReleaseGraphicsResources(vtkWindow *w)
Release graphics resources and ask components to release their own resources.
an ordered list of RenderPasses
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:48
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.