VTK  9.2.6
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 =========================================================================*/
43 #ifndef vtkOpaquePass_h
44 #define vtkOpaquePass_h
45 
46 #include "vtkDefaultPass.h"
47 #include "vtkRenderingOpenGL2Module.h" // For export macro
48 
49 class VTKRENDERINGOPENGL2_EXPORT vtkOpaquePass : public vtkDefaultPass
50 {
51 public:
52  static vtkOpaquePass* New();
53  vtkTypeMacro(vtkOpaquePass, vtkDefaultPass);
54  void PrintSelf(ostream& os, vtkIndent indent) override;
55 
60  void Render(const vtkRenderState* s) override;
61 
62 protected:
67 
71  ~vtkOpaquePass() override;
72 
73 private:
74  vtkOpaquePass(const vtkOpaquePass&) = delete;
75  void operator=(const vtkOpaquePass&) = delete;
76 };
77 
78 #endif
Implement the basic render passes.
a simple class to control print indentation
Definition: vtkIndent.h:49
Render the opaque geometry with property key filtering.
Definition: vtkOpaquePass.h:50
~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.