VTK  9.2.20230320
vtkOpaquePass.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpaquePass.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 =========================================================================*/
83 #ifndef vtkOpaquePass_h
84 #define vtkOpaquePass_h
85 
86 #include "vtkDefaultPass.h"
87 #include "vtkRenderingOpenGL2Module.h" // For export macro
88 
89 VTK_ABI_NAMESPACE_BEGIN
90 class VTKRENDERINGOPENGL2_EXPORT vtkOpaquePass : public vtkDefaultPass
91 {
92 public:
93  static vtkOpaquePass* New();
94  vtkTypeMacro(vtkOpaquePass, vtkDefaultPass);
95  void PrintSelf(ostream& os, vtkIndent indent) override;
96 
101  void Render(const vtkRenderState* s) override;
102 
103 protected:
108 
112  ~vtkOpaquePass() override;
113 
114 private:
115  vtkOpaquePass(const vtkOpaquePass&) = delete;
116  void operator=(const vtkOpaquePass&) = delete;
117 };
118 
119 VTK_ABI_NAMESPACE_END
120 #endif
Implement the basic render passes.
a simple class to control print indentation
Definition: vtkIndent.h:120
Render the opaque geometry with property key filtering.
Definition: vtkOpaquePass.h:91
~vtkOpaquePass() override
Destructor.
vtkOpaquePass()
Default constructor.
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
static vtkOpaquePass * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Context in which a vtkRenderPass will render.