VTK
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 =========================================================================*/
34 #ifndef vtkOpaquePass_h
35 #define vtkOpaquePass_h
36 
37 #include "vtkRenderingOpenGL2Module.h" // For export macro
38 #include "vtkDefaultPass.h"
39 
40 class VTKRENDERINGOPENGL2_EXPORT vtkOpaquePass : public vtkDefaultPass
41 {
42 public:
43  static vtkOpaquePass *New();
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
51  void Render(const vtkRenderState *s) override;
52 
53  protected:
57  vtkOpaquePass();
58 
62  ~vtkOpaquePass() override;
63 
64  private:
65  vtkOpaquePass(const vtkOpaquePass&) = delete;
66  void operator=(const vtkOpaquePass&) = delete;
67 };
68 
69 #endif
Render the opaque geometry with property key filtering.
Definition: vtkOpaquePass.h:40
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:39
Implement the basic render passes.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.