[vtkusers] ASCII Data Conversion

Mathieu Malaterre Mathieu.Malaterre at creatis.insa-lyon.fr
Mon Sep 1 05:35:33 EDT 2003


Justace Clutter wrote:
> Hey all,
> 
> 	I am very new to  using VTK tools.  I have a data set that I have
> generated from a ROOT file that is space delimited.
> 
>   x0 y0 z0
>   x1 y1 z1
> 
> 	I would like to view this dataset in 3D so that I can get a feel for
> its behavior.  Is there a simple way to convert this dataset to a VTK
> dataset.  I have done some looking online but have not found any single
> convenient way to do this.  The dataset as it stands now is 22 megs in
> size, 1,406,976 points.  Any help in this would be greatly appreciated.
> 
> Justace Clutter

Justace,

	You can have a look at:

http://www.vtk.org/doc/nightly/html/classvtkProgrammableSource.html

and

http://public.kitware.com/cgi-bin/cvsweb.cgi/~checkout~/VTK/Examples/Modelling/Python/reconstructSurface.py

The dataset 'cactus.3337.pts' is almost like your.

HTH
mathieu




More information about the vtkusers mailing list