VTK  9.0.20201026
vtkLightingMapPass.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkLightingMapPass.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
31 #ifndef vtkLightingMapPass_h
32 #define vtkLightingMapPass_h
33 
34 #include "vtkDefaultPass.h"
35 #include "vtkRenderingOpenGL2Module.h" // For export macro
36 
38 
39 class VTKRENDERINGOPENGL2_EXPORT vtkLightingMapPass : public vtkDefaultPass
40 {
41 public:
42  static vtkLightingMapPass* New();
44  void PrintSelf(ostream& os, vtkIndent indent) override;
45 
47 
51  {
53  NORMALS
54  };
55  vtkSetMacro(RenderType, RenderMode);
56  vtkGetMacro(RenderType, RenderMode);
58 
64  static vtkInformationIntegerKey* RENDER_LUMINANCE();
65 
71  static vtkInformationIntegerKey* RENDER_NORMALS();
72 
77  void Render(const vtkRenderState* s) override;
78 
79 protected:
84 
88  ~vtkLightingMapPass() override;
89 
94  void RenderOpaqueGeometry(const vtkRenderState* s) override;
95 
96 private:
97  vtkLightingMapPass(const vtkLightingMapPass&) = delete;
98  void operator=(const vtkLightingMapPass&) = delete;
99 
100  RenderMode RenderType;
101 };
102 
103 #endif
vtkLightingMapPass
TO DO.
Definition: vtkLightingMapPass.h:39
vtkDefaultPass::Render
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
vtkDefaultPass
Implement the basic render passes.
Definition: vtkDefaultPass.h:43
vtkDefaultPass::New
static vtkDefaultPass * New()
vtkInformationIntegerKey
Key for integer values in vtkInformation.
Definition: vtkInformationIntegerKey.h:31
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkDefaultPass.h
vtkLightingMapPass::LUMINANCE
Definition: vtkLightingMapPass.h:52
vtkLightingMapPass::RenderMode
RenderMode
Set the type of lighting render to perform.
Definition: vtkLightingMapPass.h:50
vtkDefaultPass::RenderOpaqueGeometry
virtual void RenderOpaqueGeometry(const vtkRenderState *s)
Opaque pass without key checking.
vtkRenderState
Context in which a vtkRenderPass will render.
Definition: vtkRenderState.h:40
vtkDefaultPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.