Hi, I’m using the filter provided in vtkExtractCells.h for a Project at work, where I need to extract all 2D cells from an vtkUnstructuredGrid
and seperate both remaining vtkUnstructuredGrid
by their connected components. However, I need to track keep of the indices of the points of the vtkUnstructuredGrid
. I tested this filter quite a bit and I think at the current state it doesn’t preserve the indices of the points.
It’s great that one can still access the original cellids after using this filter by setting PassThroughCellIdsOn()
, but, at the same time, it makes me sad, that there is no similar way to access the point ids. It would be really useful for me to have this functionality, just like it is provided in vtkUnstructuredGridGeometryFilter.h via PassThroughPointIdsOn()
.
Is this funtionality planned to come in a new release anyway maybe ?
I would also be willing to add that functionality to vtkExtractCells.h myself, but I suspect it would be much faster if somebody more experienced would do this, as I’m just a working student.
Cheers, Leon