33#ifndef vtkEncodedGradientShader_h
34#define vtkEncodedGradientShader_h
37#include "vtkRenderingVolumeModule.h"
43#define VTK_MAX_SHADING_TABLES 100
113 double lightDiffuseColor[3],
double lightSpecularColor[3],
double lightIntensity,
Superclass for gradient estimation.
float ZeroNormalSpecularIntensity
float * GetRedSpecularShadingTable(vtkVolume *vol)
Get the red/green/blue shading table.
float * GetRedDiffuseShadingTable(vtkVolume *vol)
Get the red/green/blue shading table.
vtkVolume * ShadingTableVolume[VTK_MAX_SHADING_TABLES]
void PrintSelf(ostream &os, vtkIndent indent) override
Print the vtkEncodedGradientShader.
float * GetBlueDiffuseShadingTable(vtkVolume *vol)
Get the red/green/blue shading table.
vtkEncodedGradientShader()
void UpdateShadingTable(vtkRenderer *ren, vtkVolume *vol, vtkEncodedGradientEstimator *gradest)
Cause the shading table to be updated.
int ShadingTableSize[VTK_MAX_SHADING_TABLES]
float * ShadingTable[VTK_MAX_SHADING_TABLES][6]
~vtkEncodedGradientShader() override
float * GetGreenSpecularShadingTable(vtkVolume *vol)
Get the red/green/blue shading table.
float * GetGreenDiffuseShadingTable(vtkVolume *vol)
Get the red/green/blue shading table.
float * GetBlueSpecularShadingTable(vtkVolume *vol)
Get the red/green/blue shading table.
static vtkEncodedGradientShader * New()
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)
Build a shading table for a light with the specified direction, and color for an object of the specif...
float ZeroNormalDiffuseIntensity
a simple class to control print indentation
abstract specification for renderers
represents a volume (data & properties) in a rendered scene
#define VTK_MAX_SHADING_TABLES