Go to the documentation of this file.
32 #ifndef vtkLightingHelper_h
33 #define vtkLightingHelper_h
35 #include "vtkRenderingOpenGLModule.h"
abstract base class for most VTK objects
void Initialize(vtkShaderProgram2 *shader, vtkShader2Type mode)
Get/Set the shader program to which we want to add the lighting kernels.
static vtkLightingHelper * New()
a simple class to control print indentation
helper to assist in simulating lighting similar to default OpenGL pipeline.
void PrepareForRendering()
void EncodeLightState()
Encodes light state in diffuse component 3, where the shader looks for it.
vtkShaderProgram2 * Shader
void SetShader(vtkShaderProgram2 *shader)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.