VTK  9.3.1
vtkDefaultPass.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
25 #ifndef vtkDefaultPass_h
26 #define vtkDefaultPass_h
27 
28 #include "vtkRenderPass.h"
29 #include "vtkRenderingOpenGL2Module.h" // For export macro
30 
31 VTK_ABI_NAMESPACE_BEGIN
33 class vtkDefaultPassLayerList; // Pimpl
34 
35 class VTKRENDERINGOPENGL2_EXPORT vtkDefaultPass : public vtkRenderPass
36 {
37 public:
38  static vtkDefaultPass* New();
39  vtkTypeMacro(vtkDefaultPass, vtkRenderPass);
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
48  void Render(const vtkRenderState* s) override;
49 
50 protected:
55 
59  ~vtkDefaultPass() override;
60 
65  virtual void RenderOpaqueGeometry(const vtkRenderState* s);
66 
71  virtual void RenderFilteredOpaqueGeometry(const vtkRenderState* s);
72 
77  virtual void RenderTranslucentPolygonalGeometry(const vtkRenderState* s);
78 
83  virtual void RenderFilteredTranslucentPolygonalGeometry(const vtkRenderState* s);
84 
89  virtual void RenderVolumetricGeometry(const vtkRenderState* s);
90 
95  virtual void RenderFilteredVolumetricGeometry(const vtkRenderState* s);
96 
101  virtual void RenderOverlay(const vtkRenderState* s);
102 
107  virtual void RenderFilteredOverlay(const vtkRenderState* s);
108 
109 private:
110  vtkDefaultPass(const vtkDefaultPass&) = delete;
111  void operator=(const vtkDefaultPass&) = delete;
112 };
113 
114 VTK_ABI_NAMESPACE_END
115 #endif
OpenGL rendering window.
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
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:48
Implement the basic render passes.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.