Section: Visualization Toolkit Graphics Classes
This implementation differs from vtkDividingCubes in that it uses a recursive procedure. In many cases this can result in generating more points than the procedural implementation of vtkDividingCubes. This is because the recursive procedure divides voxels by multiples of powers of two. This can over-constrain subdivision. One of the advantages of the recursive technique is that the recursion is terminated earlier, which in some cases can be more efficient.
To create an instance of class vtkRecursiveDividingCubes, simply invoke its constructor as follows
obj = vtkRecursiveDividingCubes
obj
is an instance of the vtkRecursiveDividingCubes class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkRecursiveDividingCubes = obj.NewInstance ()
vtkRecursiveDividingCubes = obj.SafeDownCast (vtkObject o)
obj.SetValue (double )
- Set isosurface value.
double = obj.GetValue ()
- Set isosurface value.
obj.SetDistance (double )
- Specify sub-voxel size at which to generate point.
double = obj.GetDistanceMinValue ()
- Specify sub-voxel size at which to generate point.
double = obj.GetDistanceMaxValue ()
- Specify sub-voxel size at which to generate point.
double = obj.GetDistance ()
- Specify sub-voxel size at which to generate point.
obj.SetIncrement (int )
- Every "Increment" point is added to the list of points. This parameter, if
set to a large value, can be used to limit the number of points while
retaining good accuracy.
int = obj.GetIncrementMinValue ()
- Every "Increment" point is added to the list of points. This parameter, if
set to a large value, can be used to limit the number of points while
retaining good accuracy.
int = obj.GetIncrementMaxValue ()
- Every "Increment" point is added to the list of points. This parameter, if
set to a large value, can be used to limit the number of points while
retaining good accuracy.
int = obj.GetIncrement ()
- Every "Increment" point is added to the list of points. This parameter, if
set to a large value, can be used to limit the number of points while
retaining good accuracy.