96 #include "vtkRenderingCoreModule.h" 134 vtkSetMacro(KeyLightIntensity,
double);
135 vtkGetMacro(KeyLightIntensity,
double);
151 vtkGetMacro(KeyToFillRatio,
double);
167 vtkGetMacro(KeyToHeadRatio,
double);
179 vtkGetMacro(KeyToBackRatio,
double);
195 vtkSetMacro(KeyLightWarmth,
double);
196 vtkGetMacro(KeyLightWarmth,
double);
199 vtkSetMacro(FillLightWarmth,
double);
200 vtkGetMacro(FillLightWarmth,
double);
202 vtkSetMacro(HeadLightWarmth,
double);
203 vtkGetMacro(HeadLightWarmth,
double);
205 vtkSetMacro(BackLightWarmth,
double);
206 vtkGetMacro(BackLightWarmth,
double);
212 vtkGetVectorMacro(KeyLightColor,
double, 3);
213 vtkGetVectorMacro(FillLightColor,
double, 3);
214 vtkGetVectorMacro(HeadLightColor,
double, 3);
215 vtkGetVectorMacro(BackLightColor,
double, 3);
242 void SetKeyLightAngle(
double elevation,
double azimuth);
249 vtkGetVectorMacro(KeyLightAngle,
double, 2);
253 this->GetKeyLightAngle(ang);
260 this->GetKeyLightAngle(ang);
264 void SetFillLightAngle(
double elevation,
double azimuth);
271 vtkGetVectorMacro(FillLightAngle,
double, 2);
275 this->GetFillLightAngle(ang);
282 this->GetFillLightAngle(ang);
286 void SetBackLightAngle(
double elevation,
double azimuth);
293 vtkGetVectorMacro(BackLightAngle,
double, 2);
297 this->GetBackLightAngle(ang);
304 this->GetBackLightAngle(ang);
314 void RemoveLightsFromRenderer(
vtkRenderer* renderer);
325 static const char* GetStringFromType(
int type);
330 static const char* GetStringFromSubType(
int type);
337 static const char* GetShortStringFromSubType(
int subtype);
343 static LightKitSubType GetSubType(LightKitType
type,
int i);
349 void WarmthToRGBI(
double w,
double rgb[3],
double& i);
350 void WarmthToRGB(
double w,
double rgb[3]);
351 void InitializeWarmthFunctions();
352 double WarmthToIntensity(
double w);
361 double KeyLightAngle[2];
362 double KeyLightColor[3];
366 double FillLightAngle[2];
367 double FillLightColor[3];
370 double BackLightColor[3];
375 double BackLightAngle[2];
379 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)