Making Clean Unstructured Grid and Poly Data Global Ids aware.
Currently, vtkStaticCleanUnstructuredGrid
and vtkStaticCleanPolyData
are not taking into account input point global ids. Those 2 filters effectively merge points that are mingled, and are used to clean data sets that have duplicate points when they shouldn't.
The problem with those filters not being global id aware is that if someone ends up in the situation where one wants to run a filter that respects the current global ids, but is unable to correctly deal with duplicate points with same global ids (vtkGhostCellsGenerator
is such a filter), it is then impossible to fix the current state of the data set so it can be properly treated by this filter. Indeed, currently, vtkStaticCleanUnstructuredGrid
and vtkStaticCleanPolyData
just ignore global ids and merge points that share the same location.
This issue will be solved when those 2 filters respect the input global point ids.