<div>it is a fairly simple task in C++, I posted some C++ code a while back , here is the link:</div>
<div><a href="http://public.kitware.com/pipermail/vtk-developers/2007-October/004746.html">http://public.kitware.com/pipermail/vtk-developers/2007-October/004746.html</a></div>
<div>&nbsp;</div>
<div>Also I have entered a request for the particle reader to be included in ParaView perhaps in version 2.6).<br></div>
<div>I hope this helps.</div>
<div>&nbsp;</div>
<div>Andrew</div>
<div>&nbsp;</div>
<div><br>&nbsp;</div>
<div class="gmail_quote">On Tue, Apr 15, 2008 at 3:00 AM, fred &lt;<a href="mailto:fredmfp@gmail.com">fredmfp@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">AL a écrit : 
<div class="Ih2E3d"><br><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px; BORDER-LEFT: #ccc 1px solid">I am looking to visualize my data (ascii file x,y,z) with MayaVi or VisIt. Both use vtk format as input. Does anybody know how to convert my ascii xyz file into vtk file readable by MayaVi and/or VisIt.<br>
</blockquote></div>Maybe...<br><br>If you have TVTK installed, and you are able to convert your data in a numpy array, I have a little python script that does the trick : write a XML PolyData file from a numpy array, that mayavi2 will read...<br>
<font color="#888888"><br>-- <br><a href="http://scipy.org/FredericPetit" target="_blank">http://scipy.org/FredericPetit</a></font> 
<div>
<div></div>
<div class="Wj3C7c"><br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br><a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></div></div></blockquote></div><br><br clear="all"><br>
-- <br>___________________________________________<br>Andrew J. P. Maclean<br>Centre for Autonomous Systems<br>The Rose Street Building J04<br>The University of Sydney 2006 NSW<br>AUSTRALIA<br>Ph: +61 2 9351 3283<br>Fax: +61 2 9351 7474<br>
URL: <a href="http://www.acfr.usyd.edu.au/">http://www.acfr.usyd.edu.au/</a><br>___________________________________________