Section: Visualization Toolkit Volume Rendering Classes
To create an instance of class vtkEncodedGradientShader, simply invoke its constructor as follows
obj = vtkEncodedGradientShader
obj
is an instance of the vtkEncodedGradientShader class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkEncodedGradientShader = obj.NewInstance ()
vtkEncodedGradientShader = obj.SafeDownCast (vtkObject o)
obj.SetZeroNormalDiffuseIntensity (float )
- Set / Get the intensity diffuse / specular light used for the
zero normals.
float = obj.GetZeroNormalDiffuseIntensityMinValue ()
- Set / Get the intensity diffuse / specular light used for the
zero normals.
float = obj.GetZeroNormalDiffuseIntensityMaxValue ()
- Set / Get the intensity diffuse / specular light used for the
zero normals.
float = obj.GetZeroNormalDiffuseIntensity ()
- Set / Get the intensity diffuse / specular light used for the
zero normals.
obj.SetZeroNormalSpecularIntensity (float )
- Set / Get the intensity diffuse / specular light used for the
zero normals.
float = obj.GetZeroNormalSpecularIntensityMinValue ()
- Set / Get the intensity diffuse / specular light used for the
zero normals.
float = obj.GetZeroNormalSpecularIntensityMaxValue ()
- Set / Get the intensity diffuse / specular light used for the
zero normals.
float = obj.GetZeroNormalSpecularIntensity ()
- Set / Get the intensity diffuse / specular light used for the
zero normals.
obj.UpdateShadingTable (vtkRenderer ren, vtkVolume vol, vtkEncodedGradientEstimator gradest)
- Cause the shading table to be updated
obj.SetActiveComponent (int )
- Set the active component for shading. This component's
ambient / diffuse / specular / specular power values will
be used to create the shading table. The default is 1.0
int = obj.GetActiveComponentMinValue ()
- Set the active component for shading. This component's
ambient / diffuse / specular / specular power values will
be used to create the shading table. The default is 1.0
int = obj.GetActiveComponentMaxValue ()
- Set the active component for shading. This component's
ambient / diffuse / specular / specular power values will
be used to create the shading table. The default is 1.0
int = obj.GetActiveComponent ()
- Set the active component for shading. This component's
ambient / diffuse / specular / specular power values will
be used to create the shading table. The default is 1.0