VTK  9.3.1
vtkOpaquePass.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
22 #ifndef vtkOpaquePass_h
23 #define vtkOpaquePass_h
24 
25 #include "vtkDefaultPass.h"
26 #include "vtkRenderingOpenGL2Module.h" // For export macro
27 
28 VTK_ABI_NAMESPACE_BEGIN
29 class VTKRENDERINGOPENGL2_EXPORT vtkOpaquePass : public vtkDefaultPass
30 {
31 public:
32  static vtkOpaquePass* New();
33  vtkTypeMacro(vtkOpaquePass, vtkDefaultPass);
34  void PrintSelf(ostream& os, vtkIndent indent) override;
35 
40  void Render(const vtkRenderState* s) override;
41 
42 protected:
46  vtkOpaquePass();
47 
51  ~vtkOpaquePass() override;
52 
53 private:
54  vtkOpaquePass(const vtkOpaquePass&) = delete;
55  void operator=(const vtkOpaquePass&) = delete;
56 };
57 
58 VTK_ABI_NAMESPACE_END
59 #endif
Render the opaque geometry with property key filtering.
Definition: vtkOpaquePass.h:29
static vtkDefaultPass * New()
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:28
Implement the basic render passes.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.