VTK  9.1.0
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=========================================================================*/
92#ifndef vtkRenderStepsPass_h
93#define vtkRenderStepsPass_h
94
95#include "vtkRenderPass.h"
96#include "vtkRenderingOpenGL2Module.h" // For export macro
97
98class vtkSequencePass;
99class vtkCameraPass;
100
101class VTKRENDERINGOPENGL2_EXPORT vtkRenderStepsPass : public vtkRenderPass
102{
103public:
106 void PrintSelf(ostream& os, vtkIndent indent) override;
107
112 void Render(const vtkRenderState* s) override;
113
120
122
125 vtkGetObjectMacro(CameraPass, vtkCameraPass);
128
130
133 vtkGetObjectMacro(LightsPass, vtkRenderPass);
136
138
141 vtkGetObjectMacro(OpaquePass, vtkRenderPass);
144
146
149 vtkGetObjectMacro(TranslucentPass, vtkRenderPass);
152
154
157 vtkGetObjectMacro(VolumetricPass, vtkRenderPass);
160
162
165 vtkGetObjectMacro(OverlayPass, vtkRenderPass);
168
170
173 vtkGetObjectMacro(PostProcessPass, vtkRenderPass);
176
177protected:
180
189
190private:
191 vtkRenderStepsPass(const vtkRenderStepsPass&) = delete;
192 void operator=(const vtkRenderStepsPass&) = delete;
193};
194
195#endif
Implement the camera render pass.
a simple class to control print indentation
Definition: vtkIndent.h:113
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:57
Context in which a vtkRenderPass will render.
Execute render passes sequentially.
vtkRenderPass * OpaquePass
vtkSequencePass * SequencePass
static vtkRenderStepsPass * New()
vtkRenderPass * LightsPass
vtkRenderPass * TranslucentPass
vtkRenderPass * OverlayPass
vtkRenderPass * VolumetricPass
void SetLightsPass(vtkRenderPass *)
Get the RenderPass used for the Lights Step.
~vtkRenderStepsPass() override
void SetCameraPass(vtkCameraPass *)
Get the RenderPass used for the Camera Step.
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
vtkRenderPass * PostProcessPass
void SetPostProcessPass(vtkRenderPass *)
Get the RenderPass used for the PostProcess Step.
void SetVolumetricPass(vtkRenderPass *)
Get the RenderPass used for the Volume Step.
void SetOverlayPass(vtkRenderPass *)
Get the RenderPass used for the Overlay Step.
vtkCameraPass * CameraPass
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetTranslucentPass(vtkRenderPass *)
Get the RenderPass used for the translucent Step.
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
void SetOpaquePass(vtkRenderPass *)
Get the RenderPass used for the Opaque Step.
Execute render passes sequentially.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:39