33 #ifndef vtkEncodedGradientShader_h 34 #define vtkEncodedGradientShader_h 36 #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 );
77 float *GetRedDiffuseShadingTable(
vtkVolume *vol );
78 float *GetGreenDiffuseShadingTable(
vtkVolume *vol );
79 float *GetBlueDiffuseShadingTable(
vtkVolume *vol );
80 float *GetRedSpecularShadingTable(
vtkVolume *vol );
81 float *GetGreenSpecularShadingTable(
vtkVolume *vol );
82 float *GetBlueSpecularShadingTable(
vtkVolume *vol );
91 vtkSetClampMacro( ActiveComponent,
int, 0, 3 );
92 vtkGetMacro( ActiveComponent,
int );
113 void BuildShadingTable(
int index,
114 double lightDirection[3],
115 double lightAmbientColor[3],
116 double lightDiffuseColor[3],
117 double lightSpecularColor[3],
118 double lightIntensity,
119 double viewDirection[3],
represents a volume (data & properties) in a rendered scene
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
abstract specification for renderers
float ZeroNormalSpecularIntensity
float ZeroNormalDiffuseIntensity
a simple class to control print indentation
Superclass for gradient estimation.
Compute shading tables for encoded normals.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
#define VTK_MAX_SHADING_TABLES