Hello,
I have a vtkUnstructuredGrid, and what I’d like to do is delete some old cells and then add some new cells to it. But I haven’t found any way to do that.
-
My current plan is to use vtkPolydata instead of vtkUnstructuredGrid because I know how to delete cells from vtkPolyData(https://examples.vtk.org/site/Cxx/PolyData/DeleteCells/#:~:text=This%20example%20demonstrates%20how%20to,suitable%20for%20efficient%20delete%20operations.)
-
My second thought is to do this operation on vtkCellArray, but I found no way.
Thank you!