44#ifndef vtkExternalLight_h
45#define vtkExternalLight_h
48#include "vtkRenderingExternalModule.h"
50VTK_ABI_NAMESPACE_BEGIN
70 INDIVIDUAL_PARAMS = 0,
80 vtkSetMacro(LightIndex,
int);
81 vtkGetMacro(LightIndex,
int);
98 vtkSetMacro(ReplaceMode,
int);
99 vtkGetMacro(ReplaceMode,
int);
106 using Superclass::SetPosition;
112 using Superclass::SetFocalPoint;
118 using Superclass::SetAmbientColor;
124 using Superclass::SetDiffuseColor;
130 using Superclass::SetSpecularColor;
146 using Superclass::SetAttenuationValues;
162 vtkGetMacro(PositionSet,
bool);
169 vtkGetMacro(FocalPointSet,
bool);
176 vtkGetMacro(AmbientColorSet,
bool);
183 vtkGetMacro(DiffuseColorSet,
bool);
190 vtkGetMacro(SpecularColorSet,
bool);
197 vtkGetMacro(IntensitySet,
bool);
204 vtkGetMacro(ConeAngleSet,
bool);
211 vtkGetMacro(AttenuationValuesSet,
bool);
218 vtkGetMacro(ExponentSet,
bool);
225 vtkGetMacro(PositionalSet,
bool);
a virtual light object for tweaking existing lights in an external 3D rendering context
void SetAmbientColor(double, double, double) override
Override Set method to keep a record of changed value.
~vtkExternalLight() override
void SetPosition(double, double, double) override
Override Set method to keep a record of changed value.
void SetPositional(vtkTypeBool) override
Override Set method to keep a record of changed value.
void SetAttenuationValues(double, double, double) override
Override Set method to keep a record of changed value.
void SetExponent(double) override
Override Set method to keep a record of changed value.
static vtkExternalLight * New()
Create an external light object with the focal point at the origin and its position set to (0,...
void SetSpecularColor(double, double, double) override
Override Set method to keep a record of changed value.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetConeAngle(double) override
Override Set method to keep a record of changed value.
bool AttenuationValuesSet
void SetDiffuseColor(double, double, double) override
Override Set method to keep a record of changed value.
void SetFocalPoint(double, double, double) override
Override Set method to keep a record of changed value.
void SetIntensity(double) override
Override Set method to keep a record of changed value.
a simple class to control print indentation
a virtual light for 3D rendering