VTK  9.4.20250102
vtkLightingMapPass.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 vtkLightingMapPass_h
23#define vtkLightingMapPass_h
24
25#include "vtkDefaultPass.h"
26#include "vtkRenderingOpenGL2Module.h" // For export macro
27#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
28
29VTK_ABI_NAMESPACE_BEGIN
31
32class VTKRENDERINGOPENGL2_EXPORT VTK_MARSHALAUTO vtkLightingMapPass : public vtkDefaultPass
33{
34public:
37 void PrintSelf(ostream& os, vtkIndent indent) override;
38
40
44 {
46 NORMALS
47 };
48 vtkSetMacro(RenderType, RenderMode);
49 vtkGetMacro(RenderType, RenderMode);
51
58
65
70 void Render(const vtkRenderState* s) override;
71
72protected:
77
82
87 void RenderOpaqueGeometry(const vtkRenderState* s) override;
88
89private:
91 void operator=(const vtkLightingMapPass&) = delete;
92
93 RenderMode RenderType;
94};
95
96VTK_ABI_NAMESPACE_END
97#endif
Implement the basic render passes.
a simple class to control print indentation
Definition vtkIndent.h:108
Key for integer values in vtkInformation.
~vtkLightingMapPass() override
Destructor.
static vtkLightingMapPass * New()
vtkLightingMapPass()
Default constructor.
static vtkInformationIntegerKey * RENDER_NORMALS()
if this key exists on the ProperyKeys of a prop, the active vector array on the prop will be rendered...
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
RenderMode
Set the type of lighting render to perform.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkInformationIntegerKey * RENDER_LUMINANCE()
If this key exists on the PropertyKeys of a prop, the active scalar array on the prop will be rendere...
void RenderOpaqueGeometry(const vtkRenderState *s) override
Opaque pass with key checking.
Context in which a vtkRenderPass will render.
#define VTK_MARSHALAUTO