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);
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];
void SetFillLightAngle(double angle[2])
abstract base class for most VTK objects
double GetFillLightAzimuth()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Defines a 1D piecewise function.
double GetBackLightAzimuth()
void SetBackLightAzimuth(double x)
void SetBackLightElevation(double x)
abstract specification for renderers
a simple but quality lighting kit
void SetKeyLightAngle(double angle[2])
vtkTypeBool MaintainLuminance
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()
virtual void Modified()
Update the modification time for this object.
void SetFillLightElevation(double x)
void SetBackLightAngle(double angle[2])
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
double GetFillLightElevation()
void SetFillLightAzimuth(double x)