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,
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