vtkLight - a virtual light for 3D rendering
Super Class: vtkObject
Description:
vtkLight is a virtual light for 3D rendering. It provides methods to locate and point the light, turn it on and off, and set its brightness and color. In addition to the basic infinite distance point light source attributes, you also can specify the light attenuation values and cone angle. These attributes are only used if the light is a positional light. The default is a directional light (e.g. infinite point light source).
See Also:
Methods:
Detailed Method Descriptions:
static vtkLight *New () |
void Render (vtkRenderer * ,int ) |
void SetColor (float ,float ,float ) | |
void SetColor (float *) | |
float *GetColor () |
void SetPosition (float ,float ,float ) | |
void SetPosition (float *) | |
float *GetPosition () |
void SetFocalPoint (float ,float ,float ) | |
void SetFocalPoint (float *) | |
float *GetFocalPoint () |
void SetIntensity (float ) | |
float GetIntensity () |
void SetSwitch (int ) | |
int GetSwitch () | |
void SwitchOn () | |
void SwitchOff () |
void SetPositional (int ) | |
int GetPositional () | |
void PositionalOn () | |
void PositionalOff () |
void SetExponent (float ) | |
float GetExponent () |
void SetConeAngle (float ) | |
float GetConeAngle () |
void SetAttenuationValues (float ,float ,float ) | |
void SetAttenuationValues (float *) | |
float *GetAttenuationValues () |