spline to 2D mesh?

Is there a way in VTK to create from an spline a 2DMesh ?

What we usually do is to warp a disk using thin-plate spline transform, by transforming the disk circumference points to the curve points. It creates a soap-bubble-like surface. See it in action here:

Source code is available here: SlicerHeart/BafflePlanner.py at master · SlicerHeart/SlicerHeart · GitHub