116#include "vtkRenderingCoreModule.h"
118VTK_ABI_NAMESPACE_BEGIN
155 vtkSetMacro(KeyLightIntensity,
double);
156 vtkGetMacro(KeyLightIntensity,
double);
172 vtkGetMacro(KeyToFillRatio,
double);
188 vtkGetMacro(KeyToHeadRatio,
double);
200 vtkGetMacro(KeyToBackRatio,
double);
216 vtkSetMacro(KeyLightWarmth,
double);
217 vtkGetMacro(KeyLightWarmth,
double);
220 vtkSetMacro(FillLightWarmth,
double);
221 vtkGetMacro(FillLightWarmth,
double);
223 vtkSetMacro(HeadLightWarmth,
double);
224 vtkGetMacro(HeadLightWarmth,
double);
226 vtkSetMacro(BackLightWarmth,
double);
227 vtkGetMacro(BackLightWarmth,
double);
233 vtkGetVectorMacro(KeyLightColor,
double, 3);
234 vtkGetVectorMacro(FillLightColor,
double, 3);
235 vtkGetVectorMacro(HeadLightColor,
double, 3);
236 vtkGetVectorMacro(BackLightColor,
double, 3);
270 vtkGetVectorMacro(KeyLightAngle,
double, 2);
274 this->GetKeyLightAngle(ang);
281 this->GetKeyLightAngle(ang);
292 vtkGetVectorMacro(FillLightAngle,
double, 2);
296 this->GetFillLightAngle(ang);
303 this->GetFillLightAngle(ang);
314 vtkGetVectorMacro(BackLightAngle,
double, 2);
318 this->GetBackLightAngle(ang);
325 this->GetBackLightAngle(ang);
382 double KeyLightAngle[2];
383 double KeyLightColor[3];
387 double FillLightAngle[2];
388 double FillLightColor[3];
391 double BackLightColor[3];
396 double BackLightAngle[2];
400 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.
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 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)
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
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