2D Surface cutter development

  • Allocate does similar stuff too, but is poorly documented and you’d have to dig around in the source code to figure out if it preserves data…

I think it’s safe to assume that Allocate always releases existing data. Happens here and for vtkIdList too.

My preference would be to replace vtkCookieCutter, unless there are some incompatible behaviors.

SurfaceCutter

  1. cannot cut polygons. (only triangles)
  2. does not copy/interpolate dataset attributes.

It would be tricky to implement 1. Working on 2 now …