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