vtkDecimatePolylineFilter segfaults
Decimate on the attached file segfaults:
import vtk stripperReader = vtk.vtkXMLPolyDataReader() stripperReader.SetFileName("stripper.vtp") decimateContours = vtk.vtkDecimatePolylineFilter() decimateContours.SetMaximumError(0.01) decimateContours.SetInputConnection(stripperReader.GetOutputPort()) decimateWriter = vtk.vtkXMLPolyDataWriter() decimateWriter.SetFileName("decimate.vtp") decimateWriter.SetInputConnection(decimateContours.GetOutputPort()) decimateWriter.Update()
Edited by Dan Lipsa