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