VTK  9.2.20230326
vtkTranslucentPass.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTranslucentPass.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 vtkTranslucentPass_h
35 #define vtkTranslucentPass_h
36 
37 #include "vtkDefaultPass.h"
38 #include "vtkRenderingOpenGL2Module.h" // For export macro
39 
40 VTK_ABI_NAMESPACE_BEGIN
41 class VTKRENDERINGOPENGL2_EXPORT vtkTranslucentPass : public vtkDefaultPass
42 {
43 public:
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
52  void Render(const vtkRenderState* s) override;
53 
54 protected:
59 
63  ~vtkTranslucentPass() override;
64 
65 private:
66  vtkTranslucentPass(const vtkTranslucentPass&) = delete;
67  void operator=(const vtkTranslucentPass&) = delete;
68 };
69 
70 VTK_ABI_NAMESPACE_END
71 #endif
Implement the basic render passes.
a simple class to control print indentation
Definition: vtkIndent.h:120
Context in which a vtkRenderPass will render.
Render the translucent polygonal geometry with property key filtering.
~vtkTranslucentPass() override
Destructor.
vtkTranslucentPass()
Default constructor.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
static vtkTranslucentPass * New()