101 #include "vtkRenderingCoreModule.h"
139 vtkGetMacro(KeyLightIntensity,
double);
155 vtkGetMacro(KeyToFillRatio,
double);
171 vtkGetMacro(KeyToHeadRatio,
double);
183 vtkGetMacro(KeyToBackRatio,
double);
200 vtkGetMacro(KeyLightWarmth,
double);
204 vtkGetMacro(FillLightWarmth,
double);
207 vtkGetMacro(HeadLightWarmth,
double);
210 vtkGetMacro(BackLightWarmth,
double);
216 vtkGetVectorMacro(KeyLightColor,
double, 3);
217 vtkGetVectorMacro(FillLightColor,
double, 3);
218 vtkGetVectorMacro(HeadLightColor,
double, 3);
219 vtkGetVectorMacro(BackLightColor,
double, 3);
229 vtkGetMacro(MaintainLuminance,
int);
248 { this->SetKeyLightAngle(angle[0], angle[1]); }
251 { this->SetKeyLightAngle(x, this->KeyLightAngle[1]); }
254 { this->SetKeyLightAngle(this->KeyLightAngle[0], x); }
256 vtkGetVectorMacro(KeyLightAngle,
double, 2);
258 {
double ang[2]; this->GetKeyLightAngle(ang);
return ang[0]; }
261 {
double ang[2]; this->GetKeyLightAngle(ang);
return ang[1]; }
265 { this->SetFillLightAngle(angle[0], angle[1]); }
268 { this->SetFillLightAngle(x, this->FillLightAngle[1]); }
271 { this->SetFillLightAngle(this->FillLightAngle[0], x); }
273 vtkGetVectorMacro(FillLightAngle,
double, 2);
275 double ang[2]; this->GetFillLightAngle(ang);
return ang[0]; }
278 {
double ang[2]; this->GetFillLightAngle(ang);
return ang[1]; }
282 { this->SetBackLightAngle(angle[0], angle[1]); }
285 { this->SetBackLightAngle(x, this->BackLightAngle[1]); }
288 { this->SetBackLightAngle(this->BackLightAngle[0], x); }
290 vtkGetVectorMacro(BackLightAngle,
double, 2);
292 {
double ang[2]; this->GetBackLightAngle(ang);
return ang[0]; }
295 {
double ang[2]; this->GetBackLightAngle(ang);
return ang[1]; }
351 double KeyLightAngle[2];
352 double KeyLightColor[3];
356 double FillLightAngle[2];
357 double FillLightColor[3];
360 double BackLightColor[3];
365 double BackLightAngle[2];
369 double HeadLightColor[3];
377 void operator=(
const vtkLightKit&) VTK_DELETE_FUNCTION;