Section: Visualization Toolkit Infovis Classes
The input tree is copied to the output, but with a new array added to the output vertex data.
.SECTION Thanks Thanks to David Duke from the University of Leeds for providing this implementation.
To create an instance of class vtkStrahlerMetric, simply invoke its constructor as follows
obj = vtkStrahlerMetric
obj
is an instance of the vtkStrahlerMetric class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkStrahlerMetric = obj.NewInstance ()
vtkStrahlerMetric = obj.SafeDownCast (vtkObject o)
obj.SetMetricArrayName (string )
- Set the name of the array in which the Strahler values will
be stored within the output vertex data.
Default is "Strahler"
obj.SetNormalize (int )
- Set/get setting of normalize flag. If this is set, the
Strahler values are scaled into the range [0..1].
Default is for normalization to be OFF.
int = obj.GetNormalize ()
- Set/get setting of normalize flag. If this is set, the
Strahler values are scaled into the range [0..1].
Default is for normalization to be OFF.
obj.NormalizeOn ()
- Set/get setting of normalize flag. If this is set, the
Strahler values are scaled into the range [0..1].
Default is for normalization to be OFF.
obj.NormalizeOff ()
- Set/get setting of normalize flag. If this is set, the
Strahler values are scaled into the range [0..1].
Default is for normalization to be OFF.
float = obj.GetMaxStrahler ()
- Get the maximum strahler value for the tree.