Thank help comes from Rakesh Patil and David, i finish the task by using vtkPolydataWriter. <br><br><br><div class="gmail_quote">On Tue, Apr 13, 2010 at 5:11 PM, Rakesh Patil <span dir="ltr"><<a href="mailto:rakeshthp@in.com">rakeshthp@in.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <br>Hi,<br><br>I guess you need to use this class to convert to polydata <br><br><a href="http://www.vtk.org/doc/nightly/html/classvtkImageToPolyDataFilter.html" target="_blank">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><div><div></div><div class="h5"><br>---------- Original message ----------<br>From:=?UTF-8?B?5pyx5paH5q2m?=< <a href="mailto:cool.wenwu@gmail.com" target="_blank">cool.wenwu@gmail.com</a> ><br>
Date: 13 Apr 10 09:26:47<br>Subject: [vtkusers] which class should be used to write/read datasets?<br>To: <a href="mailto:vtkusers@vtk.org" target="_blank">vtkusers@vtk.org</a><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></div></div>Please give some suggestions! Thanksï¼ <br><br><br>WenWu<br><br clear="all"><br>
</blockquote>
</blockquote></div><br><br clear="all"><br>-- <br>ç¥<br>工作愉快,身体å¥åº·ï¼<br>