Section: Visualization Toolkit Graphics Classes
To create an instance of class vtkDecimatePolylineFilter, simply invoke its constructor as follows
obj = vtkDecimatePolylineFilter
obj
is an instance of the vtkDecimatePolylineFilter class.
string = obj.GetClassName ()
- Standard methods for type information and printing.
int = obj.IsA (string name)
- Standard methods for type information and printing.
vtkDecimatePolylineFilter = obj.NewInstance ()
- Standard methods for type information and printing.
vtkDecimatePolylineFilter = obj.SafeDownCast (vtkObject o)
- Standard methods for type information and printing.
obj.SetTargetReduction (double )
- Specify the desired reduction in the total number of polygons (e.g., if
TargetReduction is set to 0.9, this filter will try to reduce the data set
to 10% of its original size).
double = obj.GetTargetReductionMinValue ()
- Specify the desired reduction in the total number of polygons (e.g., if
TargetReduction is set to 0.9, this filter will try to reduce the data set
to 10% of its original size).
double = obj.GetTargetReductionMaxValue ()
- Specify the desired reduction in the total number of polygons (e.g., if
TargetReduction is set to 0.9, this filter will try to reduce the data set
to 10% of its original size).
double = obj.GetTargetReduction ()
- Specify the desired reduction in the total number of polygons (e.g., if
TargetReduction is set to 0.9, this filter will try to reduce the data set
to 10% of its original size).