VTK  9.3.20240328
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 
72 
78 
84 
89  virtual void RenderVolumetricGeometry(const vtkRenderState* s);
90 
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
Implement the basic render passes.
virtual void RenderVolumetricGeometry(const vtkRenderState *s)
Volume pass without key checking.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void RenderFilteredOpaqueGeometry(const vtkRenderState *s)
Opaque pass with key checking.
~vtkDefaultPass() override
Destructor.
virtual void RenderFilteredTranslucentPolygonalGeometry(const vtkRenderState *s)
Translucent pass with key checking.
virtual void RenderTranslucentPolygonalGeometry(const vtkRenderState *s)
Translucent pass without key checking.
vtkDefaultPass()
Default constructor.
virtual void RenderFilteredVolumetricGeometry(const vtkRenderState *s)
Translucent pass with key checking.
virtual void RenderOverlay(const vtkRenderState *s)
Overlay pass without key checking.
static vtkDefaultPass * New()
virtual void RenderFilteredOverlay(const vtkRenderState *s)
Overlay pass with key checking.
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
virtual void RenderOpaqueGeometry(const vtkRenderState *s)
Opaque pass without key checking.
a simple class to control print indentation
Definition: vtkIndent.h:108
OpenGL rendering window.
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:49
Context in which a vtkRenderPass will render.