|  | VTK
    9.0.1
    | 
 
 
 
Go to the documentation of this file.
   56 #ifndef vtkExternalLight_h 
   57 #define vtkExternalLight_h 
   60 #include "vtkRenderingExternalModule.h"  
   81     INDIVIDUAL_PARAMS = 0, 
 
   91   vtkSetMacro(LightIndex, 
int);
 
   92   vtkGetMacro(LightIndex, 
int);
 
  109   vtkSetMacro(ReplaceMode, 
int);
 
  110   vtkGetMacro(ReplaceMode, 
int);
 
  117   using Superclass::SetPosition;
 
  123   using Superclass::SetFocalPoint;
 
  129   using Superclass::SetAmbientColor;
 
  135   using Superclass::SetDiffuseColor;
 
  141   using Superclass::SetSpecularColor;
 
  157   using Superclass::SetAttenuationValues;
 
  173   vtkGetMacro(PositionSet, 
bool);
 
  180   vtkGetMacro(FocalPointSet, 
bool);
 
  187   vtkGetMacro(AmbientColorSet, 
bool);
 
  194   vtkGetMacro(DiffuseColorSet, 
bool);
 
  201   vtkGetMacro(SpecularColorSet, 
bool);
 
  208   vtkGetMacro(IntensitySet, 
bool);
 
  215   vtkGetMacro(ConeAngleSet, 
bool);
 
  222   vtkGetMacro(AttenuationValuesSet, 
bool);
 
  229   vtkGetMacro(ExponentSet, 
bool);
 
  236   vtkGetMacro(PositionalSet, 
bool);
 
  262 #endif // vtkExternalLight_h 
  
a virtual light for 3D rendering
virtual void SetExponent(double)
Set/Get the exponent of the cosine used in positional lighting.
virtual void SetFocalPoint(double, double, double)
Set/Get the point at which the light is shining.
virtual void SetDiffuseColor(double, double, double)
virtual void SetSpecularColor(double, double, double)
bool AttenuationValuesSet
static vtkLight * New()
Create a light with the focal point at the origin and its position set to (0,0,1).
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a virtual light object for tweaking existing lights in an external 3D rendering context
virtual void SetConeAngle(double)
Set/Get the lighting cone angle of a positional light in degrees.
a simple class to control print indentation
virtual void SetPosition(double, double, double)
Set/Get the position of the light.
virtual void SetAmbientColor(double, double, double)
Set/Get the color of the light.
virtual void SetIntensity(double)
Set/Get the brightness of the light (from one to zero).
virtual void SetAttenuationValues(double, double, double)
Set/Get the quadratic attenuation constants.
virtual void SetPositional(vtkTypeBool)
Turn positional lighting on or off.