Most filters can pass through point data. Therefore, if you want to access original point IDs in the output of a filter (that does not already have a built-in option for providing pedigree IDs), then a simple solution is to store the point IDs in a point data array. You can achieve this by inserting a vtkIdFilter
before the processing filter. Same works for cell IDs.
2 Likes