decimation_algorithm

decimation_algorithm#

decimation_algorithm(inp, target_reduction)[source]#

Decimate the input data to the target reduction.

Parameters:
inpvtkDataObject

The input data to be decimated.

target_reductionfloat

The target reduction amount, as a fraction of the original data.

Returns:
vtkQuadricDecimation

The decimation algorithm that has been applied to the input data.