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"><<a href="mailto:daviddoria@gmail.com">daviddoria@gmail.com</a>></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"><<a href="mailto:massimiliano.folco@gmail.com">massimiliano.folco@gmail.com</a>> wrote:<br>
</div><div class="im">> Hi David,<br>
> thanks for your kind and useful reply, now I have a better idea about what<br>
> I should do to save and recombine polydata.<br>
> But I have to better specify my question: can you tell me if there is a way<br>
> to save the mesh of the sphere sources that I have rendered?<br>
> I need to write files that can be loaded by 3Dslicer and these files should<br>
> be .vtk files and should contain spheres ,not only points like I have read<br>
> 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>
> Thanks<br>
> 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>