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 =========================================================================*/
33 #ifndef vtkRenderStepsPass_h
34 #define vtkRenderStepsPass_h
35 
36 #include "vtkRenderingOpenGL2Module.h" // For export macro
37 #include "vtkRenderPass.h"
38 
39 class vtkSequencePass;
40 class vtkCameraPass;
41 
42 class VTKRENDERINGOPENGL2_EXPORT vtkRenderStepsPass : public vtkRenderPass
43 {
44 public:
45  static vtkRenderStepsPass *New();
47  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
48 
53  void Render(const vtkRenderState *s) VTK_OVERRIDE;
54 
60  void ReleaseGraphicsResources(vtkWindow *w) VTK_OVERRIDE;
61 
63 
66  vtkGetObjectMacro(CameraPass, vtkCameraPass);
67  void SetCameraPass(vtkCameraPass *);
69 
71 
74  vtkGetObjectMacro(LightsPass, vtkRenderPass);
75  void SetLightsPass(vtkRenderPass *);
77 
79 
82  vtkGetObjectMacro(OpaquePass, vtkRenderPass);
83  void SetOpaquePass(vtkRenderPass *);
85 
87 
90  vtkGetObjectMacro(TranslucentPass, vtkRenderPass);
91  void SetTranslucentPass(vtkRenderPass *);
93 
95 
98  vtkGetObjectMacro(VolumetricPass, vtkRenderPass);
99  void SetVolumetricPass(vtkRenderPass *);
101 
103 
106  vtkGetObjectMacro(OverlayPass, vtkRenderPass);
107  void SetOverlayPass(vtkRenderPass *);
109 
111 
114  vtkGetObjectMacro(PostProcessPass, vtkRenderPass);
115  void SetPostProcessPass(vtkRenderPass *);
117 
118 protected:
120  ~vtkRenderStepsPass() VTK_OVERRIDE;
121 
122  vtkCameraPass *CameraPass;
123  vtkRenderPass *LightsPass;
124  vtkRenderPass *OpaquePass;
125  vtkRenderPass *TranslucentPass;
126  vtkRenderPass *VolumetricPass;
127  vtkRenderPass *OverlayPass;
128  vtkRenderPass *PostProcessPass;
129  vtkSequencePass *SequencePass;
130 
131 private:
132  vtkRenderStepsPass(const vtkRenderStepsPass&) VTK_DELETE_FUNCTION;
133  void operator=(const vtkRenderStepsPass&) VTK_DELETE_FUNCTION;
134 };
135 
136 #endif
Execute render passes sequentially.
Implement the camera render pass.
Definition: vtkCameraPass.h:38
window superclass for vtkRenderWindow
Definition: vtkWindow.h:34
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:33
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.
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:55
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.