FollowLoopOrientation - Clipping failure when using vtkBooleanPolyDataFilter (No Points to subdivide / no cell with correct orientation).
Hi Adam, @updega2
I was wondering if you could kindly take a look at the following. I've got a situation when using vtkBooleanPolyDataFilter for clipping, it seems as though something is wrong within vtkIntersectionPolyDataFilter's function (FollowLoopOrientation). When clipping two meshes that are obviously in contact it silently fails in my application producing the following warning and error messages
Warning: In /Users/seun/Documents/VTK/vtk/Filters/General/vtkIntersectionPolyDataFilter.cxx, line 1675
vtkIntersectionPolyDataFilter (0x600000151a90): No cell with correct orientation found
ERROR: In /Users/seun/Documents/VTK/vtk/Common/ExecutionModel/vtkExecutive.cxx, line 782
vtkCompositeDataPipeline (0x600000190330): Algorithm vtkBooleanOperationPolyDataFilter(0x600000101950) returned failure for request: vtkInformation (0x600000671b00)
ERROR: In /Users/seun/Documents/VTK/vtk/Filters/Core/vtkPolyDataConnectivityFilter.cxx, line 106
vtkPolyDataConnectivityFilter (0x10a1e7960): No points!
I've got a reproducible case attached below in the zip, please note you will need to make changes in the main.cpp to point the chamber-00.vtk and skull-00.vtk to their corresponding paths (both files can be found in the folder 'files') in order to build it - or if you would prefer you the files can be loaded up in ParaView and then executing a boolean operation with the chamber as first surface and skull as second to reproduce the issue.