50 #include "vtkRenderingCoreModule.h"
57 #define VTK_LIGHT_TYPE_HEADLIGHT 1
58 #define VTK_LIGHT_TYPE_CAMERA_LIGHT 2
59 #define VTK_LIGHT_TYPE_SCENE_LIGHT 3
100 vtkSetVector3Macro(AmbientColor,
double);
101 vtkGetVectorMacro(AmbientColor,
double,3);
102 vtkSetVector3Macro(DiffuseColor,
double);
103 vtkGetVectorMacro(DiffuseColor,
double,3);
104 vtkSetVector3Macro(SpecularColor,
double);
105 vtkGetVectorMacro(SpecularColor,
double,3);
106 void SetColor(
double,
double,
double);
118 vtkSetVector3Macro(Position,
double);
119 vtkGetVectorMacro(Position,
double,3);
131 vtkSetVector3Macro(FocalPoint,
double);
132 vtkGetVectorMacro(FocalPoint,
double,3);
141 vtkGetMacro(Intensity,
double);
158 vtkGetMacro(Positional,
int);
166 vtkSetClampMacro(Exponent,
double,0.0,128.0);
167 vtkGetMacro(Exponent,
double);
179 vtkGetMacro(ConeAngle,
double);
187 vtkSetVector3Macro(AttenuationValues,
double);
188 vtkGetVectorMacro(AttenuationValues,
double,3);
206 void GetTransformedPosition(
double &a0,
double &a1,
double &a2);
207 void GetTransformedPosition(
double a[3]);
208 double *GetTransformedPosition();
216 void GetTransformedFocalPoint(
double &a0,
double &a1,
double &a2);
217 void GetTransformedFocalPoint(
double a[3]);
218 double *GetTransformedFocalPoint();
228 void SetDirectionAngle(
double elevation,
double azimuth);
230 this->SetDirectionAngle(ang[0], ang[1]); };
257 vtkGetMacro(LightType,
int);
262 this->SetTransformMatrix(NULL);
273 int LightTypeIsHeadlight();
274 int LightTypeIsSceneLight();
275 int LightTypeIsCameraLight();
278 void ReadSelf(istream& is);
279 void WriteSelf(ostream& os);
289 vtkGetMacro(ShadowAttenuation,
float);
297 double FocalPoint[3];
300 double AmbientColor[3];
301 double DiffuseColor[3];
302 double SpecularColor[3];
307 double AttenuationValues[3];
309 double TransformedFocalPointReturn[3];
310 double TransformedPositionReturn[3];
316 void operator=(
const vtkLight&) VTK_DELETE_FUNCTION;