VTK: Rendering/OpenGL2/vtkLightsPass.h Source File

| VTK 9.3.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
29 #ifndef vtkLightsPass_h
30 #define vtkLightsPass_h
31
32 #include "vtkRenderPass.h"
33 #include "vtkRenderingOpenGL2Module.h" // For export macro
34
35 VTK_ABI_NAMESPACE_BEGIN
36 class vtkOpenGLRenderWindow;
37
38 class VTKRENDERINGOPENGL2_EXPORT vtkLightsPass : public vtkRenderPass
39 {
40 public:
41 static vtkLightsPass* New();
42 vtkTypeMacro(vtkLightsPass, vtkRenderPass);
43 void PrintSelf(ostream& os, vtkIndent indent) override;
44
49 void Render(const vtkRenderState* s) override;
50
51 protected:
55 vtkLightsPass();
56
60 ~vtkLightsPass() override;
61
62 private:
63 vtkLightsPass(const vtkLightsPass&) = delete;
64 void operator=(const vtkLightsPass&) = delete;
65 };
66
67 VTK_ABI_NAMESPACE_END
68 #endif
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkLightsPass
Implement the lights render pass.
Definition: vtkLightsPass.h:39
vtkLightsPass::vtkLightsPass
vtkLightsPass()
Default constructor.
vtkLightsPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkLightsPass::Render
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
vtkLightsPass::~vtkLightsPass
~vtkLightsPass() override
Destructor.
vtkLightsPass::New
static vtkLightsPass * New()
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition: vtkOpenGLRenderWindow.h:53
vtkRenderPass
Perform part of the rendering of a vtkRenderer.
Definition: vtkRenderPass.h:49
vtkRenderState
Context in which a vtkRenderPass will render.
Definition: vtkRenderState.h:30
vtkRenderPass.h