VTK  9.2.6
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=========================================================================*/
35
36#ifndef vtkRenderStepsPass_h
37#define vtkRenderStepsPass_h
38
39#include "vtkRenderPass.h"
40#include "vtkRenderingOpenGL2Module.h" // For export macro
41
42class vtkSequencePass;
43class vtkCameraPass;
44
45class VTKRENDERINGOPENGL2_EXPORT vtkRenderStepsPass : public vtkRenderPass
46{
47public:
50 void PrintSelf(ostream& os, vtkIndent indent) override;
51
56 void Render(const vtkRenderState* s) override;
57
64
66
69 vtkGetObjectMacro(CameraPass, vtkCameraPass);
72
74
77 vtkGetObjectMacro(LightsPass, vtkRenderPass);
80
82
85 vtkGetObjectMacro(OpaquePass, vtkRenderPass);
88
90
93 vtkGetObjectMacro(TranslucentPass, vtkRenderPass);
96
98
101 vtkGetObjectMacro(VolumetricPass, vtkRenderPass);
104
106
109 vtkGetObjectMacro(OverlayPass, vtkRenderPass);
112
114
117 vtkGetObjectMacro(PostProcessPass, vtkRenderPass);
120
121protected:
124
133
134private:
135 vtkRenderStepsPass(const vtkRenderStepsPass&) = delete;
136 void operator=(const vtkRenderStepsPass&) = delete;
137};
138
139#endif
Implement the camera render pass.
a simple class to control print indentation
Definition vtkIndent.h:40
vtkRenderPass()
Default constructor.
Context in which a vtkRenderPass will render.
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