VTK
vtkRenderStepsPass.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRenderStepsPass.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 =========================================================================*/
36 #ifndef vtkRenderStepsPass_h
37 #define vtkRenderStepsPass_h
38 
39 #include "vtkRenderingOpenGL2Module.h" // For export macro
40 #include "vtkRenderPass.h"
41 
42 class vtkSequencePass;
43 class vtkCameraPass;
44 
45 class VTKRENDERINGOPENGL2_EXPORT vtkRenderStepsPass : public vtkRenderPass
46 {
47 public:
48  static vtkRenderStepsPass *New();
50  void PrintSelf(ostream& os, vtkIndent indent) override;
51 
56  void Render(const vtkRenderState *s) override;
57 
63  void ReleaseGraphicsResources(vtkWindow *w) override;
64 
66 
69  vtkGetObjectMacro(CameraPass, vtkCameraPass);
70  void SetCameraPass(vtkCameraPass *);
72 
74 
77  vtkGetObjectMacro(LightsPass, vtkRenderPass);
78  void SetLightsPass(vtkRenderPass *);
80 
82 
85  vtkGetObjectMacro(OpaquePass, vtkRenderPass);
86  void SetOpaquePass(vtkRenderPass *);
88 
90 
93  vtkGetObjectMacro(TranslucentPass, vtkRenderPass);
94  void SetTranslucentPass(vtkRenderPass *);
96 
98 
101  vtkGetObjectMacro(VolumetricPass, vtkRenderPass);
102  void SetVolumetricPass(vtkRenderPass *);
104 
106 
109  vtkGetObjectMacro(OverlayPass, vtkRenderPass);
110  void SetOverlayPass(vtkRenderPass *);
112 
114 
117  vtkGetObjectMacro(PostProcessPass, vtkRenderPass);
118  void SetPostProcessPass(vtkRenderPass *);
120 
121 protected:
123  ~vtkRenderStepsPass() override;
124 
133 
134 private:
135  vtkRenderStepsPass(const vtkRenderStepsPass&) = delete;
136  void operator=(const vtkRenderStepsPass&) = delete;
137 };
138 
139 #endif
vtkRenderPass * OpaquePass
Execute render passes sequentially.
vtkRenderPass * PostProcessPass
vtkSequencePass * SequencePass
Implement the camera render pass.
Definition: vtkCameraPass.h:41
window superclass for vtkRenderWindow
Definition: vtkWindow.h:37
Context in which a vtkRenderPass will render.
vtkRenderPass * VolumetricPass
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkRenderPass * OverlayPass
vtkRenderPass * TranslucentPass
Execute render passes sequentially.
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.
vtkRenderPass * LightsPass
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:58
vtkCameraPass * CameraPass
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.