33#ifndef vtkOpenGLLightMonitor_h
34#define vtkOpenGLLightMonitor_h
36#include "vtkRenderingOpenGLModule.h"
53 vtkGetMacro(LightId,
int);
88 { this->Initialize(); }
91 { this->Initialize(); }
104 float SpotDirection[3];
107 float Attenuation[3];
a simple class to control print indentation
abstract base class for most VTK objects
tracks state of OpenGL model-view and projection matrices.
void SetSpecular(float *val)
void SetAmbient(float *val)
static vtkOpenGLLightMonitor * New()
static vtkOpenGLLightMonitor * New(int lightId)
void SetPosition(float *val)
void Update()
Fetch and save OpenGL light state.
bool StateChanged()
Fetches the current GL state and updates the internal copies of the data.
void SetSpotDirection(float *val)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetSpotExponent(float val)
void SetAttenuation(float *val)
void SetSpotCutoff(float val)
void SetEnabled(int val)
Setters for internal state.
void SetDiffuse(float *val)
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.