boolean library for meshes with vtk bridget

I wonder if you can recommend me a powerful boolean library for meshes that can be easily adapted to vtk. I have tried vtkbool library. The result is ok but when I want to get the larger connected component, I only get a small bunch of faces of the whole result as if the result was not connected.


After connected components

If I didn’t need the larger region it would be ok, but it is not the case.

So I wonder if you can recommend me a good library that I can combine it with vtk. Carve or Cork used by blender for example can be easily integrated?

Thank you