21 #ifndef vtkEncodedGradientShader_h
22 #define vtkEncodedGradientShader_h
25 #include "vtkRenderingVolumeModule.h"
27 VTK_ABI_NAMESPACE_BEGIN
32 #define VTK_MAX_SHADING_TABLES 100
50 vtkSetClampMacro(ZeroNormalDiffuseIntensity,
float, 0.0f, 1.0f);
51 vtkGetMacro(ZeroNormalDiffuseIntensity,
float);
52 vtkSetClampMacro(ZeroNormalSpecularIntensity,
float, 0.0f, 1.0f);
53 vtkGetMacro(ZeroNormalSpecularIntensity,
float);
65 float* GetRedDiffuseShadingTable(
vtkVolume* vol);
66 float* GetGreenDiffuseShadingTable(
vtkVolume* vol);
67 float* GetBlueDiffuseShadingTable(
vtkVolume* vol);
68 float* GetRedSpecularShadingTable(
vtkVolume* vol);
69 float* GetGreenSpecularShadingTable(
vtkVolume* vol);
70 float* GetBlueSpecularShadingTable(
vtkVolume* vol);
79 vtkSetClampMacro(ActiveComponent,
int, 0, 3);
80 vtkGetMacro(ActiveComponent,
int);
101 void BuildShadingTable(
int index,
double lightDirection[3],
double lightAmbientColor[3],
102 double lightDiffuseColor[3],
double lightSpecularColor[3],
double lightIntensity,
127 VTK_ABI_NAMESPACE_END
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