55 #ifndef vtkExternalLight_h
56 #define vtkExternalLight_h
58 #include "vtkRenderingExternalModule.h"
80 INDIVIDUAL_PARAMS = 0,
91 vtkGetMacro(LightIndex,
int);
109 vtkGetMacro(ReplaceMode,
int);
115 void SetPosition(
double,
double,
double) VTK_OVERRIDE;
120 void SetFocalPoint(
double,
double,
double) VTK_OVERRIDE;
125 void SetAmbientColor(
double,
double,
double) VTK_OVERRIDE;
130 void SetDiffuseColor(
double,
double,
double) VTK_OVERRIDE;
135 void SetSpecularColor(
double,
double,
double) VTK_OVERRIDE;
140 void SetIntensity(
double) VTK_OVERRIDE;
145 void SetConeAngle(
double) VTK_OVERRIDE;
150 void SetAttenuationValues(
double,
double,
double) VTK_OVERRIDE;
155 void SetExponent(
double) VTK_OVERRIDE;
160 void SetPositional(
int) VTK_OVERRIDE;
166 vtkGetMacro(PositionSet,
bool);
173 vtkGetMacro(FocalPointSet,
bool);
180 vtkGetMacro(AmbientColorSet,
bool);
187 vtkGetMacro(DiffuseColorSet,
bool);
194 vtkGetMacro(SpecularColorSet,
bool);
201 vtkGetMacro(IntensitySet,
bool);
208 vtkGetMacro(ConeAngleSet,
bool);
215 vtkGetMacro(AttenuationValuesSet,
bool);
222 vtkGetMacro(ExponentSet,
bool);
229 vtkGetMacro(PositionalSet,
bool);
234 ~vtkExternalLight() VTK_OVERRIDE;
241 bool AmbientColorSet;
242 bool DiffuseColorSet;
243 bool SpecularColorSet;
246 bool AttenuationValuesSet;
251 vtkExternalLight(const vtkExternalLight&) VTK_DELETE_FUNCTION;
252 void operator=(const vtkExternalLight&) VTK_DELETE_FUNCTION;
255 #endif // vtkExternalLight_h
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).
a simple class to control print indentation
a virtual light for 3D rendering
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.