VTK  9.3.0
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
26VTK_ABI_NAMESPACE_BEGIN
28
29class VTKRENDERINGOPENGL2_EXPORT vtkLightsPass : public vtkRenderPass
30{
31public:
32 static vtkLightsPass* New();
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
40 void Render(const vtkRenderState* s) override;
41
42protected:
47
51 ~vtkLightsPass() override;
52
53private:
54 vtkLightsPass(const vtkLightsPass&) = delete;
55 void operator=(const vtkLightsPass&) = delete;
56};
57
58VTK_ABI_NAMESPACE_END
59#endif
a simple class to control print indentation
Definition vtkIndent.h:29
Implement the lights render pass.
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.
Context in which a vtkRenderPass will render.