56 #ifndef vtkExternalLight_h
57 #define vtkExternalLight_h
60 #include "vtkRenderingExternalModule.h"
62 VTK_ABI_NAMESPACE_BEGIN
82 INDIVIDUAL_PARAMS = 0,
92 vtkSetMacro(LightIndex,
int);
93 vtkGetMacro(LightIndex,
int);
110 vtkSetMacro(ReplaceMode,
int);
111 vtkGetMacro(ReplaceMode,
int);
118 using Superclass::SetPosition;
124 using Superclass::SetFocalPoint;
130 using Superclass::SetAmbientColor;
136 using Superclass::SetDiffuseColor;
142 using Superclass::SetSpecularColor;
158 using Superclass::SetAttenuationValues;
174 vtkGetMacro(PositionSet,
bool);
181 vtkGetMacro(FocalPointSet,
bool);
188 vtkGetMacro(AmbientColorSet,
bool);
195 vtkGetMacro(DiffuseColorSet,
bool);
202 vtkGetMacro(SpecularColorSet,
bool);
209 vtkGetMacro(IntensitySet,
bool);
216 vtkGetMacro(ConeAngleSet,
bool);
223 vtkGetMacro(AttenuationValuesSet,
bool);
230 vtkGetMacro(ExponentSet,
bool);
237 vtkGetMacro(PositionalSet,
bool);
263 VTK_ABI_NAMESPACE_END
a virtual light object for tweaking existing lights in an external 3D rendering context
void SetAmbientColor(double, double, double) override
Override Set method to keep a record of changed value.
~vtkExternalLight() override
void SetPosition(double, double, double) override
Override Set method to keep a record of changed value.
void SetPositional(vtkTypeBool) override
Override Set method to keep a record of changed value.
static vtkExternalLight * New()
Create an external light object with the focal point at the origin and its position set to (0,...
void SetAttenuationValues(double, double, double) override
Override Set method to keep a record of changed value.
void SetExponent(double) override
Override Set method to keep a record of changed value.
void SetSpecularColor(double, double, double) override
Override Set method to keep a record of changed value.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetConeAngle(double) override
Override Set method to keep a record of changed value.
bool AttenuationValuesSet
void SetDiffuseColor(double, double, double) override
Override Set method to keep a record of changed value.
void SetFocalPoint(double, double, double) override
Override Set method to keep a record of changed value.
void SetIntensity(double) override
Override Set method to keep a record of changed value.
a simple class to control print indentation
a virtual light for 3D rendering