Clipping with vtkBooleanOperationPolyDataFilter generates hollow mesh.
Hi everyone, I'm trying to clip two meshes (vtkPolyData) using the 'vtkBooleanOperationPolyDataFilter', these poly datas were generated from the result of a ‘vtkPolyDataConnectivityFilter’ with the extraction mode set to largest region. The result of clipping sometimes returns a hollow shaped mesh and other times I get a properly clipped mesh as expected with no hollow structure. I was wondering if anyone has experienced this, is there something to be done prior to clipping or some configuration settings that needs to be executed to prevent this from happening that I'm obviously missing. Anyway, I have created a reproducible application attached to this post, and couple of screenshots to give a better idea of the dilemma. It's also worth mentioning that I have in the past had a similar issue with 'vtkBooleanOperationPolyDataFilter' however that lead to a crash and not the generation of a hollow mesh (see bug #16954 (closed)).Hollow_Issue_-_with_largest_region_Submitted.zip
Any help would be greatly appreciated.