33 #ifndef vtkEncodedGradientShader_h
34 #define vtkEncodedGradientShader_h
37 #include "vtkRenderingVolumeModule.h"
43 #define VTK_MAX_SHADING_TABLES 100
61 vtkSetClampMacro(ZeroNormalDiffuseIntensity,
float, 0.0f, 1.0f);
62 vtkGetMacro(ZeroNormalDiffuseIntensity,
float);
63 vtkSetClampMacro(ZeroNormalSpecularIntensity,
float, 0.0f, 1.0f);
64 vtkGetMacro(ZeroNormalSpecularIntensity,
float);
76 float* GetRedDiffuseShadingTable(
vtkVolume* vol);
77 float* GetGreenDiffuseShadingTable(
vtkVolume* vol);
78 float* GetBlueDiffuseShadingTable(
vtkVolume* vol);
79 float* GetRedSpecularShadingTable(
vtkVolume* vol);
80 float* GetGreenSpecularShadingTable(
vtkVolume* vol);
81 float* GetBlueSpecularShadingTable(
vtkVolume* vol);
90 vtkSetClampMacro(ActiveComponent,
int, 0, 3);
91 vtkGetMacro(ActiveComponent,
int);
112 void BuildShadingTable(
int index,
double lightDirection[3],
double lightAmbientColor[3],
113 double lightDiffuseColor[3],
double lightSpecularColor[3],
double lightIntensity,