<div class="gmail_quote">On Tue, Aug 21, 2012 at 10:53 AM, kaouther <span dir="ltr">&lt;<a href="mailto:boutara.kaouther@gmail.com" target="_blank">boutara.kaouther@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
hi all ,i have a problem in saving  a file xyz<br>
well this the code<br></blockquote><div><br></div><div>You&#39;ll have to use a vtkSimplePointsReader <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/SimplePointsReader">http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/SimplePointsReader</a> to get the data that is already in the file, then combine it with your data with a vtkAppendFilter : <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/AppendFilter">http://www.vtk.org/Wiki/VTK/Examples/Cxx/Filters/AppendFilter</a> , then you can write the result with your vtkSimplePointsWriter.</div>
<div><br></div><div>Also, I suggest you take a look at these suggestions for asking questions: <a href="http://www.vtk.org/Wiki/VTK/MinimalExample">http://www.vtk.org/Wiki/VTK/MinimalExample</a></div><br>David</div>