VTK  9.0.20200807
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 =========================================================================*/
31 #ifndef vtkOpaquePass_h
32 #define vtkOpaquePass_h
33 
34 #include "vtkDefaultPass.h"
35 #include "vtkRenderingOpenGL2Module.h" // For export macro
36 
37 class VTKRENDERINGOPENGL2_EXPORT vtkOpaquePass : public vtkDefaultPass
38 {
39 public:
40  static vtkOpaquePass* New();
41  vtkTypeMacro(vtkOpaquePass, vtkDefaultPass);
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
48  void Render(const vtkRenderState* s) override;
49 
50 protected:
54  vtkOpaquePass();
55 
59  ~vtkOpaquePass() override;
60 
61 private:
62  vtkOpaquePass(const vtkOpaquePass&) = delete;
63  void operator=(const vtkOpaquePass&) = delete;
64 };
65 
66 #endif
vtkDefaultPass::Render
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
vtkDefaultPass
Implement the basic render passes.
Definition: vtkDefaultPass.h:43
vtkDefaultPass::New
static vtkDefaultPass * New()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkOpaquePass
Render the opaque geometry with property key filtering.
Definition: vtkOpaquePass.h:37
vtkDefaultPass.h
vtkRenderState
Context in which a vtkRenderPass will render.
Definition: vtkRenderState.h:40
vtkDefaultPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.