VTK  9.7.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 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
27 
28 VTK_ABI_NAMESPACE_BEGIN
30 
31 class VTKRENDERINGOPENGL2_EXPORT VTK_MARSHALAUTO vtkSequencePass : public vtkRenderPass
32 {
33 public:
34  static vtkSequencePass* New();
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
42  void Render(const vtkRenderState* s) override;
43 
49  void ReleaseGraphicsResources(vtkWindow* w) override;
50 
52 
58  vtkGetObjectMacro(Passes, vtkRenderPassCollection);
59  virtual void SetPasses(vtkRenderPassCollection* passes);
61 
62 protected:
64 
66  ~vtkSequencePass() override;
67 
68 private:
69  vtkSequencePass(const vtkSequencePass&) = delete;
70  void operator=(const vtkSequencePass&) = delete;
71 };
72 
73 VTK_ABI_NAMESPACE_END
74 #endif
Execute render passes sequentially.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:41
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.
#define VTK_MARSHALAUTO
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:49
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.