[vtkusers] how to change a data array into vtkImageData

XIN LI xli16 at jhem.jhmi.edu
Thu Oct 27 13:37:57 EDT 2005


Hello, vtk users

I have a 3*3 byte array. The data is not coming from a file. I would like to change this array to vtk image data, get the output of vtkContourFilter and then change the vtk output to a data array. 

But I don't know how to change the byte array to vtk image data and how to change the output of vtkContourFilter to a data array.

Please give me some help.

Thanks a lot!

Xin





More information about the vtkusers mailing list