[vtkusers] XYZ ASCII to VTK

Andrew Maclean andrew.amaclean at gmail.com
Mon Apr 14 21:32:21 EDT 2008


it is a fairly simple task in C++, I posted some C++ code a while back ,
here is the link:
http://public.kitware.com/pipermail/vtk-developers/2007-October/004746.html

Also I have entered a request for the particle reader to be included in
ParaView perhaps in version 2.6).
I hope this helps.

Andrew



On Tue, Apr 15, 2008 at 3:00 AM, fred <fredmfp at gmail.com> wrote:

> AL a écrit :
>
> 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.
> >
> Maybe...
>
> 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...
>
> --
> http://scipy.org/FredericPetit
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



-- 
___________________________________________
Andrew J. P. Maclean
Centre for Autonomous Systems
The Rose Street Building J04
The University of Sydney 2006 NSW
AUSTRALIA
Ph: +61 2 9351 3283
Fax: +61 2 9351 7474
URL: http://www.acfr.usyd.edu.au/
___________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20080415/e1d22c3d/attachment.htm>


More information about the vtkusers mailing list