Convert Unstructured Grid to Volume

Hi @lassoan, I am currently trying to convert my unstructured grid to a volume. So I can import it into Slicer and export it as DICOM images. The process I’m following is:

  1. Create my input file:
  • Convert UnstructuredGrid to Polydata with GeometryFilter
  • Convert PolyData to empty ImageData with PolyDataToImageStencil and ImageStencil
  • write input file
  1. Use the vtkProbeFilter
  • read input file
  • read original unstructured grid as source file
  • write to file.

You have previously provided an example of how to do this,, however this is now unavailable.

I wanted to know if my method was correct, and if you could repost your example ?