Section: Visualization Toolkit Volume Rendering Classes
This value is normalized to determine a unit direction vector and a magnitude. The normal is computed in voxel space, and dx = dy = dz = SampleSpacingInVoxels. A scaling factor is applied to convert this normal from voxel space to world coordinates.
To create an instance of class vtkFiniteDifferenceGradientEstimator, simply invoke its constructor as follows
obj = vtkFiniteDifferenceGradientEstimator
obj
is an instance of the vtkFiniteDifferenceGradientEstimator class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkFiniteDifferenceGradientEstimator = obj.NewInstance ()
vtkFiniteDifferenceGradientEstimator = obj.SafeDownCast (vtkObject o)
obj.SetSampleSpacingInVoxels (int )
- Set/Get the spacing between samples for the finite differences
method used to compute the normal. This spacing is in voxel units.
int = obj.GetSampleSpacingInVoxels ()
- Set/Get the spacing between samples for the finite differences
method used to compute the normal. This spacing is in voxel units.