Go to the documentation of this file.
32 #ifndef vtkEncodedGradientShader_h
33 #define vtkEncodedGradientShader_h
42 #define VTK_MAX_SHADING_TABLES 100
104 double lightDirection[3],
105 double lightAmbientColor[3],
106 double lightDiffuseColor[3],
107 double lightSpecularColor[3],
108 double lightIntensity,
109 double viewDirection[3],
float * GetRedSpecularShadingTable(vtkVolume *vol)
float * GetRedDiffuseShadingTable(vtkVolume *vol)
represents a volume (data & properties) in a rendered scene
float ZeroNormalSpecularIntensity
#define vtkTypeMacro(thisClass, superclass)
float * GetGreenDiffuseShadingTable(vtkVolume *vol)
float * GetBlueSpecularShadingTable(vtkVolume *vol)
void BuildShadingTable(int index, double lightDirection[3], double lightAmbientColor[3], double lightDiffuseColor[3], double lightSpecularColor[3], double lightIntensity, double viewDirection[3], double material[4], int twoSided, vtkEncodedGradientEstimator *gradest, int updateFlag)
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent)
void UpdateShadingTable(vtkRenderer *ren, vtkVolume *vol, vtkEncodedGradientEstimator *gradest)
float ZeroNormalDiffuseIntensity
#define vtkSetClampMacro(name, type, min, max)
Compute shading tables for encoded normals.
Superclass for gradient estimation.
vtkEncodedGradientShader()
a simple class to control print indentation
#define VTK_MAX_SHADING_TABLES
#define vtkGetMacro(name, type)
abstract specification for renderers
float * GetBlueDiffuseShadingTable(vtkVolume *vol)
static vtkEncodedGradientShader * New()
#define VTKRENDERINGVOLUME_EXPORT
float * GetGreenSpecularShadingTable(vtkVolume *vol)
~vtkEncodedGradientShader()