99 #include "vtkRenderingCoreModule.h"
137 vtkSetMacro(KeyLightIntensity,
double);
138 vtkGetMacro(KeyLightIntensity,
double);
154 vtkGetMacro(KeyToFillRatio,
double);
170 vtkGetMacro(KeyToHeadRatio,
double);
182 vtkGetMacro(KeyToBackRatio,
double);
198 vtkSetMacro(KeyLightWarmth,
double);
199 vtkGetMacro(KeyLightWarmth,
double);
202 vtkSetMacro(FillLightWarmth,
double);
203 vtkGetMacro(FillLightWarmth,
double);
205 vtkSetMacro(HeadLightWarmth,
double);
206 vtkGetMacro(HeadLightWarmth,
double);
208 vtkSetMacro(BackLightWarmth,
double);
209 vtkGetMacro(BackLightWarmth,
double);
215 vtkGetVectorMacro(KeyLightColor,
double, 3);
216 vtkGetVectorMacro(FillLightColor,
double, 3);
217 vtkGetVectorMacro(HeadLightColor,
double, 3);
218 vtkGetVectorMacro(BackLightColor,
double, 3);
252 vtkGetVectorMacro(KeyLightAngle,
double, 2);
256 this->GetKeyLightAngle(ang);
263 this->GetKeyLightAngle(ang);
274 vtkGetVectorMacro(FillLightAngle,
double, 2);
278 this->GetFillLightAngle(ang);
285 this->GetFillLightAngle(ang);
296 vtkGetVectorMacro(BackLightAngle,
double, 2);
300 this->GetBackLightAngle(ang);
307 this->GetBackLightAngle(ang);
364 double KeyLightAngle[2];
365 double KeyLightColor[3];
369 double FillLightAngle[2];
370 double FillLightColor[3];
373 double BackLightColor[3];
378 double BackLightAngle[2];
382 double HeadLightColor[3];
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 PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkLightKit * New()
void SetBackLightAngle(double elevation, double azimuth)
void SetBackLightElevation(double x)
static const char * GetShortStringFromSubType(int subtype)
Helper method to go from a enum subtype to a string subtype The difference from GetStringFromSubType ...
void AddLightsToRenderer(vtkRenderer *renderer)
Add lights to, or remove lights from, a renderer.
void SetBackLightAzimuth(double x)
double GetBackLightAzimuth()
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)
void WarmthToRGBI(double w, double rgb[3], double &i)
static const char * GetStringFromType(int type)
Helper method to go from a enum type to a string type.
static const char * GetStringFromSubType(int type)
Helper method to go from a enum subtype to a string subtype.
double GetFillLightElevation()
double GetKeyLightAzimuth()
void RemoveLightsFromRenderer(vtkRenderer *renderer)
Add lights to, or remove lights from, a renderer.
double GetFillLightAzimuth()
void SetFillLightAzimuth(double x)
void Modified() override
Update the modification time for this object.
vtkTypeBool MaintainLuminance
void SetFillLightAngle(double elevation, double azimuth)
static LightKitSubType GetSubType(LightKitType type, int i)
Return the possible subtype from a given type.
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