How can I export vtkImageSlice to .obj file

see Export vtkImageSlice to .obj file - #2 by Sebastien_Jourdain