VTK  9.7.1
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
20 #ifndef vtkLightsPass_h
21 #define vtkLightsPass_h
22 
23 #include "vtkRenderPass.h"
24 #include "vtkRenderingOpenGL2Module.h" // For export macro
25 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
26 
27 VTK_ABI_NAMESPACE_BEGIN
29 
30 class VTKRENDERINGOPENGL2_EXPORT VTK_MARSHALAUTO vtkLightsPass : public vtkRenderPass
31 {
32 public:
33  static vtkLightsPass* New();
34  vtkTypeMacro(vtkLightsPass, vtkRenderPass);
35  void PrintSelf(ostream& os, vtkIndent indent) override;
36 
41  void Render(const vtkRenderState* s) override;
42 
43 protected:
47  vtkLightsPass();
48 
52  ~vtkLightsPass() override;
53 
54 private:
55  vtkLightsPass(const vtkLightsPass&) = delete;
56  void operator=(const vtkLightsPass&) = delete;
57 };
58 
59 VTK_ABI_NAMESPACE_END
60 #endif
OpenGL rendering window.
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:28
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
#define VTK_MARSHALAUTO
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:49
Implement the lights render pass.
Definition: vtkLightsPass.h:30
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.