55 #define VTK_LIGHT_TYPE_HEADLIGHT 1
56 #define VTK_LIGHT_TYPE_CAMERA_LIGHT 2
57 #define VTK_LIGHT_TYPE_SCENE_LIGHT 3
90 vtkSetVector3Macro(AmbientColor,
double);
91 vtkGetVectorMacro(AmbientColor,
double,3);
92 vtkSetVector3Macro(DiffuseColor,
double);
93 vtkGetVectorMacro(DiffuseColor,
double,3);
94 vtkSetVector3Macro(SpecularColor,
double);
95 vtkGetVectorMacro(SpecularColor,
double,3);
96 void SetColor(
double,
double,
double);
102 VTK_LEGACY(
void GetColor(
double rgb[3]));
103 VTK_LEGACY(
double *GetColor());
111 vtkSetVector3Macro(Position,
double);
112 vtkGetVectorMacro(Position,
double,3);
122 vtkSetVector3Macro(FocalPoint,
double);
123 vtkGetVectorMacro(FocalPoint,
double,3);
129 vtkSetMacro(Intensity,
double);
130 vtkGetMacro(Intensity,
double);
137 vtkBooleanMacro(
Switch,
int);
142 vtkSetMacro(Positional,
int);
143 vtkGetMacro(Positional,
int);
144 vtkBooleanMacro(Positional,
int);
149 vtkSetClampMacro(Exponent,
double,0.0,128.0);
150 vtkGetMacro(Exponent,
double);
158 vtkSetMacro(ConeAngle,
double);
159 vtkGetMacro(ConeAngle,
double);
165 vtkSetVector3Macro(AttenuationValues,
double);
166 vtkGetVectorMacro(AttenuationValues,
double,3);
180 void GetTransformedPosition(
double &a0,
double &a1,
double &a2);
181 void GetTransformedPosition(
double a[3]);
182 double *GetTransformedPosition();
188 void GetTransformedFocalPoint(
double &a0,
double &a1,
double &a2);
189 void GetTransformedFocalPoint(
double a[3]);
190 double *GetTransformedFocalPoint();
198 void SetDirectionAngle(
double elevation,
double azimuth);
200 this->SetDirectionAngle(ang[0], ang[1]); };
218 vtkSetMacro(LightType,
int);
219 vtkGetMacro(LightType,
int);
220 void SetLightTypeToHeadlight()
222 void SetLightTypeToSceneLight()
224 this->SetTransformMatrix(NULL);
227 void SetLightTypeToCameraLight()
233 int LightTypeIsHeadlight();
234 int LightTypeIsSceneLight();
235 int LightTypeIsCameraLight();
238 void ReadSelf(istream& is);
239 void WriteSelf(ostream& os);
245 double FocalPoint[3];
248 double AmbientColor[3];
249 double DiffuseColor[3];
250 double SpecularColor[3];
255 double AttenuationValues[3];
257 double TransformedFocalPointReturn[3];
258 double TransformedPositionReturn[3];