98 #include "vtkRenderingCoreModule.h"
135 vtkSetMacro(KeyLightIntensity,
double);
136 vtkGetMacro(KeyLightIntensity,
double);
152 vtkGetMacro(KeyToFillRatio,
double);
168 vtkGetMacro(KeyToHeadRatio,
double);
180 vtkGetMacro(KeyToBackRatio,
double);
196 vtkSetMacro(KeyLightWarmth,
double);
197 vtkGetMacro(KeyLightWarmth,
double);
200 vtkSetMacro(FillLightWarmth,
double);
201 vtkGetMacro(FillLightWarmth,
double);
203 vtkSetMacro(HeadLightWarmth,
double);
204 vtkGetMacro(HeadLightWarmth,
double);
206 vtkSetMacro(BackLightWarmth,
double);
207 vtkGetMacro(BackLightWarmth,
double);
213 vtkGetVectorMacro(KeyLightColor,
double, 3);
214 vtkGetVectorMacro(FillLightColor,
double, 3);
215 vtkGetVectorMacro(HeadLightColor,
double, 3);
216 vtkGetVectorMacro(BackLightColor,
double, 3);
243 void SetKeyLightAngle(
double elevation,
double azimuth);
245 { this->SetKeyLightAngle(angle[0], angle[1]); }
248 { this->SetKeyLightAngle(x, this->KeyLightAngle[1]); }
251 { this->SetKeyLightAngle(this->KeyLightAngle[0], x); }
253 vtkGetVectorMacro(KeyLightAngle,
double, 2);
255 {
double ang[2]; this->GetKeyLightAngle(ang);
return ang[0]; }
258 {
double ang[2]; this->GetKeyLightAngle(ang);
return ang[1]; }
260 void SetFillLightAngle(
double elevation,
double azimuth);
262 { this->SetFillLightAngle(angle[0], angle[1]); }
265 { this->SetFillLightAngle(x, this->FillLightAngle[1]); }
268 { this->SetFillLightAngle(this->FillLightAngle[0], x); }
270 vtkGetVectorMacro(FillLightAngle,
double, 2);
272 double ang[2]; this->GetFillLightAngle(ang);
return ang[0]; }
275 {
double ang[2]; this->GetFillLightAngle(ang);
return ang[1]; }
277 void SetBackLightAngle(
double elevation,
double azimuth);
279 { this->SetBackLightAngle(angle[0], angle[1]); }
282 { this->SetBackLightAngle(x, this->BackLightAngle[1]); }
285 { this->SetBackLightAngle(this->BackLightAngle[0], x); }
287 vtkGetVectorMacro(BackLightAngle,
double, 2);
289 {
double ang[2]; this->GetBackLightAngle(ang);
return ang[0]; }
292 {
double ang[2]; this->GetBackLightAngle(ang);
return ang[1]; }
300 void RemoveLightsFromRenderer(
vtkRenderer *renderer);
311 static const char *GetStringFromType(
int type);
316 static const char *GetStringFromSubType(
int type);
323 static const char *GetShortStringFromSubType(
int subtype);
329 static LightKitSubType GetSubType(LightKitType
type,
int i);
335 void WarmthToRGBI(
double w,
double rgb[3],
double& i);
336 void WarmthToRGB(
double w,
double rgb[3]);
337 void InitializeWarmthFunctions();
338 double WarmthToIntensity(
double w);
348 double KeyLightAngle[2];
349 double KeyLightColor[3];
353 double FillLightAngle[2];
354 double FillLightColor[3];
357 double BackLightColor[3];
362 double BackLightAngle[2];
366 double HeadLightColor[3];