VTK  9.0.20200808
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 =========================================================================*/
31 #ifndef vtkTranslucentPass_h
32 #define vtkTranslucentPass_h
33 
34 #include "vtkDefaultPass.h"
35 #include "vtkRenderingOpenGL2Module.h" // For export macro
36 
37 class VTKRENDERINGOPENGL2_EXPORT vtkTranslucentPass : public vtkDefaultPass
38 {
39 public:
40  static vtkTranslucentPass* New();
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
48  void Render(const vtkRenderState* s) override;
49 
50 protected:
55 
59  ~vtkTranslucentPass() override;
60 
61 private:
62  vtkTranslucentPass(const vtkTranslucentPass&) = delete;
63  void operator=(const vtkTranslucentPass&) = delete;
64 };
65 
66 #endif
vtkTranslucentPass
Render the translucent polygonal geometry with property key filtering.
Definition: vtkTranslucentPass.h:37
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
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.