<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What I could read it in VTK ?<br>
<br>
I have already tried with  example:<br>
<a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/InfoVis/ReadDelimitedFile" target="_blank">http://www.vtk.org/Wiki/VTK/Examples/Cxx/InfoVis/ReadDelimitedFile</a><br>
<br>
But I couldn&#39;t read well data value of points/triangle.<br>
I received : output :<br>
x: 1.#QNANy: 0z: 0 n: 0 0 0<br></blockquote><div><br></div>If you&#39;re going to use a custom file format, you&#39;ll have to write a custom reader :)<br clear="all"><br>That DelimitedTextReader is expecting only point data in the file (no header like you have). You&#39;d then also have to construct the triangles and tell it when to reinterpret the data in the output table as triangle connectivity rather than points.</div>
<div class="gmail_quote"><br>I&#39;d suggest you just do it manually using something like this: <a href="http://programmingexamples.net/wiki/CPP/IO/FileInput">http://programmingexamples.net/wiki/CPP/IO/FileInput</a> and parsing the stream manually. Then you can put it all together with: <a href="http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Triangle">http://www.vtk.org/Wiki/VTK/Examples/Cxx/GeometricObjects/Triangle</a><br>
<br>David</div>