29 #ifndef vtkColorMaterialHelper_h
30 #define vtkColorMaterialHelper_h
32 #include "vtkRenderingOpenGLModule.h"
80 AMBIENT_AND_DIFFUSE = 4,
a helper to assist in simulating the ColorMaterial behaviour of the default OpenGL pipeline.
void SetUniformVariables()
Capture current OpenGL state and initialize uniform variables used by the helper shader.
void PrepareForRendering()
Captures current OpenGL state.
~vtkColorMaterialHelper()
static vtkColorMaterialHelper * New()
vtkShaderProgram2 * Shader
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void Initialize(vtkShaderProgram2 *)
void Render()
Initializes uniform variables with the last captured OpenGL state.
void SetShader(vtkShaderProgram2 *)
a simple class to control print indentation
abstract base class for most VTK objects