[vtkusers] can't consistently create valid vti file

Charl Botha c.p.botha at tudelft.nl
Tue Aug 4 10:20:07 EDT 2009


2009/8/4 Lawrence M. Lifshitz <Lawrence.Lifshitz at umassmed.edu>:
>   I am trying to write a simple program to convert my image data into vti
> format so I can view it using paraview.  I've been using
> http://www.vtk.org/VTK/img/file-formats.pdf
> as I guide.  But I keep getting an error message when I try to read in the
> file I create.

How about side-stepping your problem and using a vtkImageReader to
read your raw data (you specify the data characteristics
programmatically), and then a vtkXMLImageDataWriter to write a VTI
file?



More information about the vtkusers mailing list