32 #ifndef vtkEncodedGradientShader_h
33 #define vtkEncodedGradientShader_h
42 #define VTK_MAX_SHADING_TABLES 100
56 vtkSetClampMacro( ZeroNormalDiffuseIntensity,
float, 0.0f, 1.0f);
57 vtkGetMacro( ZeroNormalDiffuseIntensity,
float );
58 vtkSetClampMacro( ZeroNormalSpecularIntensity,
float, 0.0f, 1.0f);
59 vtkGetMacro( ZeroNormalSpecularIntensity,
float );
70 float *GetRedDiffuseShadingTable(
vtkVolume *vol );
71 float *GetGreenDiffuseShadingTable(
vtkVolume *vol );
72 float *GetBlueDiffuseShadingTable(
vtkVolume *vol );
73 float *GetRedSpecularShadingTable(
vtkVolume *vol );
74 float *GetGreenSpecularShadingTable(
vtkVolume *vol );
75 float *GetBlueSpecularShadingTable(
vtkVolume *vol );
82 vtkSetClampMacro( ActiveComponent,
int, 0, 3 );
83 vtkGetMacro( ActiveComponent,
int );
103 void BuildShadingTable(
int index,
104 double lightDirection[3],
105 double lightAmbientColor[3],
106 double lightDiffuseColor[3],
107 double lightSpecularColor[3],
108 double lightIntensity,
109 double viewDirection[3],
represents a volume (data & properties) in a rendered scene
abstract base class for most VTK objects
#define VTKRENDERINGVOLUME_EXPORT
abstract specification for renderers
float ZeroNormalSpecularIntensity
float ZeroNormalDiffuseIntensity
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Superclass for gradient estimation.
Compute shading tables for encoded normals.
#define VTK_MAX_SHADING_TABLES