[vtkusers] VTK_Python_NumPy

David Gobbi dgobbi at irus.rri.on.ca
Mon May 7 16:22:08 EDT 2001


On Mon, 7 May 2001, Karshi Hasanov wrote:

> Hi,
>
>   Does anybody knows how to import/export a Numeric Python
> array to a VTK image?
>   Thanks.

Look in vtk/python/ for the files vtkImageExportToArray.py
vtkImageImportFromArray.py, you can either use them as-is or
look inside them to see how it's done.

 - David





More information about the vtkusers mailing list