231 void SetKeyLightAngle(
double elevation,
double azimuth);
233 { this->SetKeyLightAngle(angle[0], angle[1]); }
237 { this->SetKeyLightAngle(x, this->KeyLightAngle[1]); }
240 { this->SetKeyLightAngle(this->KeyLightAngle[0], x); }
244 {
double ang[2]; this->GetKeyLightAngle(ang);
return ang[0]; }
247 {
double ang[2]; this->GetKeyLightAngle(ang);
return ang[1]; }
249 void SetFillLightAngle(
double elevation,
double azimuth);
251 { this->SetFillLightAngle(angle[0], angle[1]); }
254 { this->SetFillLightAngle(x, this->FillLightAngle[1]); }
257 { this->SetFillLightAngle(this->FillLightAngle[0], x); }
261 double ang[2]; this->GetFillLightAngle(ang);
return ang[0]; }
264 {
double ang[2]; this->GetFillLightAngle(ang);
return ang[1]; }
266 void SetBackLightAngle(
double elevation,
double azimuth);
268 { this->SetBackLightAngle(angle[0], angle[1]); }
271 { this->SetBackLightAngle(x, this->BackLightAngle[1]); }
274 { this->SetBackLightAngle(this->BackLightAngle[0], x); }
278 {
double ang[2]; this->GetBackLightAngle(ang);
return ang[0]; }
281 {
double ang[2]; this->GetBackLightAngle(ang);
return ang[1]; }
287 void RemoveLightsFromRenderer(
vtkRenderer *renderer);
296 static const char *GetStringFromType(
int type);
299 static const char *GetStringFromSubType(
int type);
304 static const char *GetShortStringFromSubType(
int subtype);
314 void WarmthToRGBI(
double w,
double rgb[3],
double& i);
315 void WarmthToRGB(
double w,
double rgb[3]);
316 void InitializeWarmthFunctions();
317 double WarmthToIntensity(
double w);
327 double KeyLightAngle[2];
328 double KeyLightColor[3];
332 double FillLightAngle[2];
333 double FillLightColor[3];
336 double BackLightColor[3];
341 double BackLightAngle[2];
345 double HeadLightColor[3];
void SetFillLightAngle(double angle[2])
GLuint GLuint GLsizei GLenum type
abstract base class for most VTK objects
double GetFillLightAzimuth()
Defines a 1D piecewise function.
double GetBackLightAzimuth()
void SetBackLightAzimuth(double x)
#define vtkGetMacro(name, type)
void SetBackLightElevation(double x)
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
abstract specification for renderers
#define vtkSetClampMacro(name, type, min, max)
a simple but quality lighting kit
void SetKeyLightAngle(double angle[2])
#define vtkTypeMacro(thisClass, superclass)
GLint GLint GLint GLint GLint x
GLubyte GLubyte GLubyte GLubyte w
virtual void PrintSelf(ostream &os, vtkIndent indent)
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()
void SetFillLightElevation(double x)
void SetBackLightAngle(double angle[2])
#define VTKRENDERINGCORE_EXPORT
#define vtkBooleanMacro(name, type)
#define vtkGetVectorMacro(name, type, count)
double GetFillLightElevation()
#define vtkSetMacro(name, type)
void SetFillLightAzimuth(double x)