VTK  9.7.1
vtkTranslucentPass.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
22 #ifndef vtkTranslucentPass_h
23 #define vtkTranslucentPass_h
24 
25 #include "vtkDefaultPass.h"
26 #include "vtkRenderingOpenGL2Module.h" // For export macro
27 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
28 
29 VTK_ABI_NAMESPACE_BEGIN
30 class VTKRENDERINGOPENGL2_EXPORT VTK_MARSHALAUTO vtkTranslucentPass : public vtkDefaultPass
31 {
32 public:
33  static vtkTranslucentPass* New();
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
41  void Render(const vtkRenderState* s) override;
42 
43 protected:
48 
52  ~vtkTranslucentPass() override;
53 
54 private:
55  vtkTranslucentPass(const vtkTranslucentPass&) = delete;
56  void operator=(const vtkTranslucentPass&) = delete;
57 };
58 
59 VTK_ABI_NAMESPACE_END
60 #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:28
Render the translucent polygonal geometry with property key filtering.
#define VTK_MARSHALAUTO
Implement the basic render passes.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.