44 #ifndef vtkExternalLight_h
45 #define vtkExternalLight_h
48 #include "vtkRenderingExternalModule.h"
50 VTK_ABI_NAMESPACE_BEGIN
70 INDIVIDUAL_PARAMS = 0,
80 vtkSetMacro(LightIndex,
int);
81 vtkGetMacro(LightIndex,
int);
98 vtkSetMacro(ReplaceMode,
int);
99 vtkGetMacro(ReplaceMode,
int);
106 using Superclass::SetPosition;
112 using Superclass::SetFocalPoint;
118 using Superclass::SetAmbientColor;
124 using Superclass::SetDiffuseColor;
130 using Superclass::SetSpecularColor;
146 using Superclass::SetAttenuationValues;
162 vtkGetMacro(PositionSet,
bool);
169 vtkGetMacro(FocalPointSet,
bool);
176 vtkGetMacro(AmbientColorSet,
bool);
183 vtkGetMacro(DiffuseColorSet,
bool);
190 vtkGetMacro(SpecularColorSet,
bool);
197 vtkGetMacro(IntensitySet,
bool);
204 vtkGetMacro(ConeAngleSet,
bool);
211 vtkGetMacro(AttenuationValuesSet,
bool);
218 vtkGetMacro(ExponentSet,
bool);
225 vtkGetMacro(PositionalSet,
bool);
251 VTK_ABI_NAMESPACE_END
252 #endif // vtkExternalLight_h
virtual void SetSpecularColor(double, double, double)
Set/Get the color of the light.
bool AttenuationValuesSet
virtual void SetDiffuseColor(double, double, double)
Set/Get the color of the light.
virtual void SetExponent(double)
Set/Get the exponent of the cosine used in positional lighting.
virtual void SetPosition(double, double, double)
Set/Get the position of the light.
a virtual light object for tweaking existing lights in an external 3D rendering context ...
static vtkLight * New()
Create a light with the focal point at the origin and its position set to (0,0,1).
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).
a simple class to control print indentation
virtual void SetAttenuationValues(double, double, double)
Set/Get the quadratic attenuation constants.
a virtual light for 3D rendering
virtual void SetConeAngle(double)
Set/Get the lighting cone angle of a positional light in degrees.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetPositional(vtkTypeBool)
Turn positional lighting on or off.
virtual void SetFocalPoint(double, double, double)
Set/Get the point at which the light is shining.