<br>Hi,<br><br>I guess you need to use this class to convert to polydata <br><br><a target=\"_blank\" href="http://www.vtk.org/doc/nightly/html/classvtkImageToPolyDataFilter.html">http://www.vtk.org/doc/nightly/html/classvtkImageToPolyDataFilter.html</a><br><br>And then use vtkPolyDataWriter to save as dataset...<br><br>Regards<br>Rakesh Patil<br><blockquote><br>---------- Original message ----------<br>From:=?UTF-8?B?5pyx5paH5q2m?=< cool.wenwu@gmail.com ><br>Date: 13 Apr 10 09:26:47<br>Subject: [vtkusers] which class should be used to write/read datasets?<br>To: vtkusers@vtk.org<br><br>hi all,<br><br> i have a problem which confused me. Now, my app reads a dataset of bmp type by using vtkBMPReader and i want to save the dataset into the disk, however, i do not know which class to be used ? Of course, i search information relation to it. Some useful classes are as follows: <br>
vtkStructuredPointsWriter/Reader, vtkPolyDataWriter/Reader<br><br>Please give some suggestions! Thanksï¼<br><br><br>WenWu<br><br clear="all"><br>
</blockquote>