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=========================================================================*/
80#ifndef vtkOpaquePass_h
81#define vtkOpaquePass_h
82
83#include "vtkDefaultPass.h"
84#include "vtkRenderingOpenGL2Module.h" // For export macro
85
86class VTKRENDERINGOPENGL2_EXPORT vtkOpaquePass : public vtkDefaultPass
87{
88public:
89 static vtkOpaquePass* New();
91 void PrintSelf(ostream& os, vtkIndent indent) override;
92
97 void Render(const vtkRenderState* s) override;
98
99protected:
104
108 ~vtkOpaquePass() override;
109
110private:
111 vtkOpaquePass(const vtkOpaquePass&) = delete;
112 void operator=(const vtkOpaquePass&) = delete;
113};
114
115#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:87
~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.