Create a density field of He atoms by splatting the atoms into a grid. Here we use `vtkGaussianSplatter`. Some previous code by Ollie has a faster version that uses `vtkFastSplatter`. If we want to speed things up, that could be an easy way to go.
Use an image connectivity filter to find regions with nearby He atoms. The filter will assign each connected region a unique ID and write that to point data.
Frustratingly, there appears to be a bug in `vtkImageConnectivityFilter` that does not properly pass the origin and spacing of the image, which means it will no longer align with the atom data. Restore it to the proper values.
Sample the connectivity field back onto the atoms that generated them. This will add a `RegionId` field to the atoms that identifies which cluster each one belongs to.