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;
a simple class to control print indentation
a simple but quality lighting kit
void SetKeyLightAngle(double elevation, double azimuth)
Get/Set the position of the key, fill, and back lights using angular methods.
void Modified()
Update the modification time for this object.
void SetBackLightAngle(double elevation, double azimuth)
void SetBackLightElevation(double x)
void AddLightsToRenderer(vtkRenderer *renderer)
Add lights to, or remove lights from, a renderer.
void SetBackLightAzimuth(double x)
static const char * GetStringFromSubType(int type)
Helper method to go from a enum subtype to a string subtype.
double GetBackLightAzimuth()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetFillLightAngle(double angle[2])
void SetBackLightAngle(double angle[2])
void DeepCopy(vtkLightKit *kit)
double GetKeyLightElevation()
void SetKeyLightAngle(double angle[2])
void InitializeWarmthFunctions()
void SetKeyLightElevation(double x)
void SetKeyLightAzimuth(double x)
static vtkLightKit * New()
void WarmthToRGBI(double w, double rgb[3], double &i)
double GetFillLightElevation()
double GetKeyLightAzimuth()
void RemoveLightsFromRenderer(vtkRenderer *renderer)
double GetFillLightAzimuth()
void SetFillLightAzimuth(double x)
static const char * GetStringFromType(int type)
Helper method to go from a enum type to a string type.
void SetFillLightAngle(double elevation, double azimuth)
static LightKitSubType GetSubType(LightKitType type, int i)
Return the possible subtype from a given type.
static const char * GetShortStringFromSubType(int subtype)
Helper method to go from a enum subtype to a string subtype The difference from GetStringFromSubType ...
void SetFillLightElevation(double x)
void WarmthToRGB(double w, double rgb[3])
double GetBackLightElevation()
double WarmthToIntensity(double w)
a virtual light for 3D rendering
abstract base class for most VTK objects
Defines a 1D piecewise function.
abstract specification for renderers
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.