17 #if !defined(OPENNURBS_LIGHT_INC_)
18 #define OPENNURBS_LIGHT_INC_
105 ON_BOOL32 Enable( ON_BOOL32 =
true );
106 ON_BOOL32 IsEnabled()
const;
113 void SetStyle(ON::light_style);
114 ON::light_style Style()
const;
116 const ON_BOOL32 IsPointLight()
const;
117 const ON_BOOL32 IsDirectionalLight()
const;
118 const ON_BOOL32 IsSpotLight()
const;
119 const ON_BOOL32 IsLinearLight()
const;
120 const ON_BOOL32 IsRectangularLight()
const;
122 ON::coordinate_system CoordinateSystem()
const;
139 ON_BOOL32 GetLightXform(
141 ON::coordinate_system dest_cs,
152 double Intensity()
const;
153 void SetIntensity(
double);
155 double PowerWatts()
const;
156 double PowerLumens()
const;
157 double PowerCandela()
const;
159 void SetPowerWatts(
double );
160 void SetPowerLumens(
double );
161 void SetPowerCandela(
double );
179 void SetAttenuation(
double,
double,
double);
182 double Attenuation(
double)
const;
192 void SetSpotAngleDegrees(
double );
193 double SpotAngleDegrees()
const;
195 void SetSpotAngleRadians(
double );
196 double SpotAngleRadians()
const;
207 void SetSpotExponent(
double );
208 double SpotExponent()
const;
216 void SetHotSpot(
double );
217 double HotSpot()
const;
220 bool GetSpotLightRadii(
double* inner_radius,
double* outer_radius )
const;
241 void SetShadowIntensity(
double);
242 double ShadowIntensity()
const;
249 void SetLightIndex(
int );
250 int LightIndex()
const;
256 void SetLightName(
const char* );
257 void SetLightName(
const wchar_t* );