[Paraview] xyzc file to vtk

David Doria daviddoria at gmail.com
Wed Jan 12 07:41:17 EST 2011


>> Hi, I have an ascii file with 4 fileds:
>>
>> X Y Z C
>>
>> where X, Y, Z represent the coordinates of the point, and C represent the
>> component/value of the point (e.g. temperature, umidity, ecc.) I want to
>> convert this file in a vtk file. Is it possible? How can I do it? Thanks
>>
>> Luca

This should do what you want:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/IO/ParticleReader

This would too, but it is more manual:
http://www.vtk.org/Wiki/VTK/Examples/Cxx/InfoVis/ReadDelimitedFile

David


More information about the ParaView mailing list