106 vtkGetMacro(Lighting,
bool);
107 vtkSetMacro(Lighting,
bool);
108 vtkBooleanMacro(Lighting,
bool);
118 vtkGetMacro(RenderPointsAsSpheres,
bool);
119 vtkSetMacro(RenderPointsAsSpheres,
bool);
120 vtkBooleanMacro(RenderPointsAsSpheres,
bool);
131 vtkGetMacro(RenderLinesAsTubes,
bool);
132 vtkSetMacro(RenderLinesAsTubes,
bool);
133 vtkBooleanMacro(RenderLinesAsTubes,
bool);
141 vtkGetMacro(Interpolation,
int);
146 const char* GetInterpolationAsString();
154 vtkGetMacro(Representation,
int);
158 const char* GetRepresentationAsString();
167 virtual void SetColor(
double r,
double g,
double b);
170 void GetColor(
double rgb[3]);
171 void GetColor(
double& r,
double& g,
double& b);
187 vtkGetMacro(BaseIOR,
double);
197 vtkSetClampMacro(Metallic,
double, 0.0, 1.0);
198 vtkGetMacro(Metallic,
double);
209 vtkSetClampMacro(Roughness,
double, 0.0, 1.0);
210 vtkGetMacro(Roughness,
double);
220 vtkSetClampMacro(Anisotropy,
double, 0.0, 1.0);
221 vtkGetMacro(Anisotropy,
double);
231 vtkSetClampMacro(AnisotropyRotation,
double, 0.0, 1.0);
232 vtkGetMacro(AnisotropyRotation,
double);
242 vtkGetMacro(CoatIOR,
double);
252 vtkSetClampMacro(CoatRoughness,
double, 0.0, 1.0);
253 vtkGetMacro(CoatRoughness,
double);
263 vtkSetClampMacro(CoatStrength,
double, 0.0, 1.0);
264 vtkGetMacro(CoatStrength,
double);
273 vtkSetVector3Macro(CoatColor,
double);
274 vtkGetVector3Macro(CoatColor,
double);
284 vtkSetClampMacro(CoatNormalScale,
double, 0.0, 1.0);
285 vtkGetMacro(CoatNormalScale,
double);
294 vtkSetMacro(NormalScale,
double);
295 vtkGetMacro(NormalScale,
double);
305 vtkSetClampMacro(OcclusionStrength,
double, 0.0, 1.0);
306 vtkGetMacro(OcclusionStrength,
double);
316 vtkSetVector3Macro(EmissiveFactor,
double);
317 vtkGetVector3Macro(EmissiveFactor,
double);
327 vtkSetVector3Macro(EdgeTint,
double);
328 vtkGetVector3Macro(EdgeTint,
double);
335 vtkSetClampMacro(Ambient,
double, 0.0, 1.0);
336 vtkGetMacro(Ambient,
double);
343 vtkSetClampMacro(Diffuse,
double, 0.0, 1.0);
344 vtkGetMacro(Diffuse,
double);
351 vtkSetClampMacro(Specular,
double, 0.0, 1.0);
352 vtkGetMacro(Specular,
double);
359 vtkSetClampMacro(SpecularPower,
double, 0.0, 128.0);
360 vtkGetMacro(SpecularPower,
double);
368 vtkSetClampMacro(Opacity,
double, 0.0, 1.0);
369 vtkGetMacro(Opacity,
double);
377 vtkSetClampMacro(EdgeOpacity,
double, 0.0, 1.0);
378 vtkGetMacro(EdgeOpacity,
double);
388 vtkSetVector3Macro(AmbientColor,
double);
389 vtkGetVector3Macro(AmbientColor,
double);
397 vtkSetVector3Macro(DiffuseColor,
double);
398 vtkGetVector3Macro(DiffuseColor,
double);
405 vtkSetVector3Macro(SpecularColor,
double);
406 vtkGetVector3Macro(SpecularColor,
double);
424 vtkSetVector3Macro(EdgeColor,
double);
425 vtkGetVector3Macro(EdgeColor,
double);
443 vtkSetVector3Macro(VertexColor,
double);
444 vtkGetVector3Macro(VertexColor,
double);
452 vtkSetVector4Macro(SelectionColor,
double);
453 vtkGetVector4Macro(SelectionColor,
double);
461 vtkSetMacro(SelectionLineWidth,
float);
462 vtkGetMacro(SelectionLineWidth,
float);
470 vtkSetMacro(SelectionPointSize,
float);
471 vtkGetMacro(SelectionPointSize,
float);
480 vtkGetMacro(LineWidth,
float);
489 vtkSetMacro(LineStipplePattern,
int);
490 vtkGetMacro(LineStipplePattern,
int);
500 vtkGetMacro(LineStippleRepeatFactor,
int);
509 vtkGetMacro(PointSize,
float);
538 vtkSetStringMacro(MaterialName);
539 vtkGetStringMacro(MaterialName);
562 virtual
void AddShaderVariable(const
char*,
int,
int*)
566 virtual
void AddShaderVariable(const
char*,
int,
float*)
570 virtual
void AddShaderVariable(const
char*,
int,
double*)
580 void AddShaderVariable(const
char*,
int)
584 void AddShaderVariable(const
char*,
float)
588 void AddShaderVariable(const
char*,
double)
592 void AddShaderVariable(const
char*,
int,
int)
596 void AddShaderVariable(const
char*,
float,
float)
600 void AddShaderVariable(const
char*,
double,
double)
604 void AddShaderVariable(const
char*,
int,
int,
int)
608 void AddShaderVariable(const
char*,
float,
float,
float)
612 void AddShaderVariable(const
char*,
double,
double,
double)
622 vtkSetMacro(ShowTexturesOnBackface,
bool);
623 vtkGetMacro(ShowTexturesOnBackface,
bool);
624 vtkBooleanMacro(ShowTexturesOnBackface,
bool);
747 static
double ComputeReflectanceFromIOR(
double IORTo,
double IORFrom);
755 static
double ComputeIORFromReflectance(
double reflectance,
double ior);
765 double ComputeReflectanceOfBaseLayer();
775 static
void ComputeCompositeColor(
double result[3],
double ambient, const
double ambient_color[3],
776 double diffuse, const
double diffuse_color[3],
double specular, const
double specular_color[3]);
779 double AmbientColor[3];
780 double DiffuseColor[3];
781 double SpecularColor[3];
783 double VertexColor[3];
784 double SelectionColor[4] = { 1.0, 0.0, 0.0, 1.0 };
799 double EmissiveFactor[3];
803 double EdgeOpacity = 1.0;
807 float SelectionPointSize = 2.f;
808 float SelectionLineWidth = 2.f;