A comment in this PolyDataContourToImageData example claims:
// sweep polygonal data (this is the important thing with contours!)
I am working with contours read from a DICOM file and would like to avoid errors in the long run.
Under the assumption that examples get reviewed before being accepted and that the comment makes sense, I am curious about the need to ‘sweep’ using a
vtkLinearExtrusionFilter? Or is the use of
extruder (in the example code) specific to this particular example - working with polydata that was cut and stripped from
vtkSphereSource? Worded differently: When would I need to sweep/extrude polygonal data when working with contours?