138 vtkSetMacro(KeyLightIntensity,
double);
139 vtkGetMacro(KeyLightIntensity,
double);
152 vtkGetMacro(KeyToFillRatio,
double);
166 vtkGetMacro(KeyToHeadRatio,
double);
176 vtkGetMacro(KeyToBackRatio,
double);
189 vtkSetMacro(KeyLightWarmth,
double);
190 vtkGetMacro(KeyLightWarmth,
double);
193 vtkSetMacro(FillLightWarmth,
double);
194 vtkGetMacro(FillLightWarmth,
double);
196 vtkSetMacro(HeadLightWarmth,
double);
197 vtkGetMacro(HeadLightWarmth,
double);
199 vtkSetMacro(BackLightWarmth,
double);
200 vtkGetMacro(BackLightWarmth,
double);
204 vtkGetVectorMacro(KeyLightColor,
double, 3);
205 vtkGetVectorMacro(FillLightColor,
double, 3);
206 vtkGetVectorMacro(HeadLightColor,
double, 3);
207 vtkGetVectorMacro(BackLightColor,
double, 3);
214 vtkBooleanMacro(MaintainLuminance,
int);
215 vtkGetMacro(MaintainLuminance,
int);
216 vtkSetMacro(MaintainLuminance,
int);
231 void SetKeyLightAngle(
double elevation,
double azimuth);
233 { this->SetKeyLightAngle(angle[0], angle[1]); }
237 { this->SetKeyLightAngle(x, this->KeyLightAngle[1]); }
240 { this->SetKeyLightAngle(this->KeyLightAngle[0], x); }
242 vtkGetVectorMacro(KeyLightAngle,
double, 2);
244 {
double ang[2]; this->GetKeyLightAngle(ang);
return ang[0]; }
247 {
double ang[2]; this->GetKeyLightAngle(ang);
return ang[1]; }
249 void SetFillLightAngle(
double elevation,
double azimuth);
251 { this->SetFillLightAngle(angle[0], angle[1]); }
254 { this->SetFillLightAngle(x, this->FillLightAngle[1]); }
257 { this->SetFillLightAngle(this->FillLightAngle[0], x); }
259 vtkGetVectorMacro(FillLightAngle,
double, 2);
261 double ang[2]; this->GetFillLightAngle(ang);
return ang[0]; }
264 {
double ang[2]; this->GetFillLightAngle(ang);
return ang[1]; }
266 void SetBackLightAngle(
double elevation,
double azimuth);
268 { this->SetBackLightAngle(angle[0], angle[1]); }
271 { this->SetBackLightAngle(x, this->BackLightAngle[1]); }
274 { this->SetBackLightAngle(this->BackLightAngle[0], x); }
276 vtkGetVectorMacro(BackLightAngle,
double, 2);
278 {
double ang[2]; this->GetBackLightAngle(ang);
return ang[0]; }
281 {
double ang[2]; this->GetBackLightAngle(ang);
return ang[1]; }
287 void RemoveLightsFromRenderer(
vtkRenderer *renderer);
296 static const char *GetStringFromType(
int type);
299 static const char *GetStringFromSubType(
int type);
304 static const char *GetShortStringFromSubType(
int subtype);
308 static LightKitSubType GetSubType(LightKitType
type,
int i);
314 void WarmthToRGBI(
double w,
double rgb[3],
double& i);
315 void WarmthToRGB(
double w,
double rgb[3]);
316 void InitializeWarmthFunctions();
317 double WarmthToIntensity(
double w);
327 double KeyLightAngle[2];
328 double KeyLightColor[3];
332 double FillLightAngle[2];
333 double FillLightColor[3];
336 double BackLightColor[3];
341 double BackLightAngle[2];
345 double HeadLightColor[3];
void SetFillLightAngle(double angle[2])
abstract base class for most VTK objects
double GetFillLightAzimuth()
Defines a 1D piecewise function.
double GetBackLightAzimuth()
void SetBackLightAzimuth(double x)
void SetBackLightElevation(double x)
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
abstract specification for renderers
a simple but quality lighting kit
void SetKeyLightAngle(double angle[2])
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
double GetKeyLightElevation()
void SetKeyLightElevation(double x)
a virtual light for 3D rendering
void SetKeyLightAzimuth(double x)
double GetKeyLightAzimuth()
double GetBackLightElevation()
void SetFillLightElevation(double x)
void SetBackLightAngle(double angle[2])
#define VTKRENDERINGCORE_EXPORT
double GetFillLightElevation()
void SetFillLightAzimuth(double x)