VTK  9.1.0
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 =========================================================================*/
70 #ifndef vtkOpaquePass_h
71 #define vtkOpaquePass_h
72 
73 #include "vtkDefaultPass.h"
74 #include "vtkRenderingOpenGL2Module.h" // For export macro
75 
76 class VTKRENDERINGOPENGL2_EXPORT vtkOpaquePass : public vtkDefaultPass
77 {
78 public:
79  static vtkOpaquePass* New();
80  vtkTypeMacro(vtkOpaquePass, vtkDefaultPass);
81  void PrintSelf(ostream& os, vtkIndent indent) override;
82 
87  void Render(const vtkRenderState* s) override;
88 
89 protected:
94 
98  ~vtkOpaquePass() override;
99 
100 private:
101  vtkOpaquePass(const vtkOpaquePass&) = delete;
102  void operator=(const vtkOpaquePass&) = delete;
103 };
104 
105 #endif
Implement the basic render passes.
a simple class to control print indentation
Definition: vtkIndent.h:113
Render the opaque geometry with property key filtering.
Definition: vtkOpaquePass.h:77
~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.