Reuse temporary data structures for non-linear cells
When extracting surface geometry of non-linear cells it is not necessary to allocate temporary instances of vtkCell etc. for each non-linear cell. Instead these are created before iterating over the unstructured grid and deleted when all work is done.
Showing with 15 additions and 8 deletions