[vtkusers] which class should be used to write/read datasets?
David Doria
daviddoria+vtk at gmail.com
Tue Apr 13 08:00:49 EDT 2010
On Tue, Apr 13, 2010 at 5:11 AM, Rakesh Patil <rakeshthp at in.com> wrote:
>
> Hi,
>
> I guess you need to use this class to convert to polydata
>
> http://www.vtk.org/doc/nightly/html/classvtkImageToPolyDataFilter.html
>
> And then use vtkPolyDataWriter to save as dataset...
>
> Regards
> Rakesh Patil
Either that, or you could directly write a vti file from a
vtkImageData object using:
http://www.vtk.org/doc/nightly/html/classvtkXMLImageDataWriter.html
Thanks,
David
More information about the vtkusers
mailing list