32 #ifndef __vtkEncodedGradientShader_h
33 #define __vtkEncodedGradientShader_h
41 #define VTK_MAX_SHADING_TABLES 100
55 vtkSetClampMacro( ZeroNormalDiffuseIntensity,
float, 0.0f, 1.0f);
56 vtkGetMacro( ZeroNormalDiffuseIntensity,
float );
57 vtkSetClampMacro( ZeroNormalSpecularIntensity,
float, 0.0f, 1.0f);
58 vtkGetMacro( ZeroNormalSpecularIntensity,
float );
69 float *GetRedDiffuseShadingTable(
vtkVolume *vol );
70 float *GetGreenDiffuseShadingTable(
vtkVolume *vol );
71 float *GetBlueDiffuseShadingTable(
vtkVolume *vol );
72 float *GetRedSpecularShadingTable(
vtkVolume *vol );
73 float *GetGreenSpecularShadingTable(
vtkVolume *vol );
74 float *GetBlueSpecularShadingTable(
vtkVolume *vol );
81 vtkSetClampMacro( ActiveComponent,
int, 0, 3 );
82 vtkGetMacro( ActiveComponent,
int );
102 void BuildShadingTable(
int index,
103 double lightDirection[3],
104 double lightAmbientColor[3],
105 double lightDiffuseColor[3],
106 double lightSpecularColor[3],
107 double lightIntensity,
108 double viewDirection[3],