VTK  9.3.20240328
vtkLightsPass.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
59 #ifndef vtkLightsPass_h
60 #define vtkLightsPass_h
61 
62 #include "vtkRenderPass.h"
63 #include "vtkRenderingOpenGL2Module.h" // For export macro
64 
65 VTK_ABI_NAMESPACE_BEGIN
67 
68 class VTKRENDERINGOPENGL2_EXPORT vtkLightsPass : public vtkRenderPass
69 {
70 public:
71  static vtkLightsPass* New();
72  vtkTypeMacro(vtkLightsPass, vtkRenderPass);
73  void PrintSelf(ostream& os, vtkIndent indent) override;
74 
79  void Render(const vtkRenderState* s) override;
80 
81 protected:
86 
90  ~vtkLightsPass() override;
91 
92 private:
93  vtkLightsPass(const vtkLightsPass&) = delete;
94  void operator=(const vtkLightsPass&) = delete;
95 };
96 
97 VTK_ABI_NAMESPACE_END
98 #endif
a simple class to control print indentation
Definition: vtkIndent.h:108
Implement the lights render pass.
Definition: vtkLightsPass.h:69
vtkLightsPass()
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.
~vtkLightsPass() override
Destructor.
static vtkLightsPass * New()
OpenGL rendering window.
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:49
Context in which a vtkRenderPass will render.