Ok,thanks for your reply,this is exactly what I was searching for.<div><br></div><div>Thanks</div><div>Massimiliano<br><br><div class="gmail_quote">2011/7/19 David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">On Tue, Jul 19, 2011 at 10:57 AM, Massimiliano Folco<br>
<div class="im">&lt;<a href="mailto:massimiliano.folco@gmail.com">massimiliano.folco@gmail.com</a>&gt; wrote:<br>
</div><div class="im">&gt; Hi David,<br>
&gt; thanks for your kind and useful reply, now I have a better idea about what<br>
&gt;  I should do to save and recombine polydata.<br>
&gt; But I have to better specify my question: can you tell me if there is a way<br>
&gt; to save the mesh of the sphere sources that I have rendered?<br>
&gt; I need to write files that can be loaded by 3Dslicer and these files should<br>
&gt; be .vtk files and should contain spheres ,not only points like I have read<br>
&gt; in <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/WriteVTP" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/WriteVTP</a>.<br>
&gt; Thanks<br>
&gt; Massimiliano<br>
<br>
</div>Please keep the conversation on the mailing list.<br>
<br>
If you use the SphereSource as the input to the XMLPolyDataWriter, the<br>
mesh will also be included in the file, not just the points:<br>
<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Sphere</a><br>
<font color="#888888"><br>
David<br>
</font></blockquote></div><br></div>