Decimator causes crash
OS: Windows 10 Version 2009 ParaView Version: 5.10.1 Qt Version: 5.15.2
Hello,
I have this surface mesh I would like to decimate to have guaranteed number of triangles. However, I'm running into some troubles using the vtkDecimatePro
filter and was able to reproduce the issue in ParaView. In fact, using the "Decimate" filter with
- target reduction set to 0.9,
- preservation of topology off,
- feature angle 15 degrees,
- boundary vertex deletion on,
makes the program crash. I was able to locate the issue to
vtkCellLinks::RemoveCellReference
which is called withptId
argument -1 which seems to be caused byvtkDecimatePro::FindSplit
returning nonnegative value but bothpt1
andpt2
equal to -1. Other than that I was not really able to do really any progress with this.
I'd highly appreciate any feedback with the issue. In my code, I'm using the latest 9.3.0 release of VTK with the same problem.
Cheers, Pavel