When using vtkUnstructuredGrid, how can I not display the internal cells


In this scenario, the number of cell reaches 7000000。
This caused the rendering to be very slow, and it was impossible to see the internal structure.

You can try to extract the surface with the vtkExtractSurface filter.