<div dir="ltr">Hi Yang,<div><br></div><div>VTK has a vtkDelaunay3D filter that may be of help:</div><div><br></div><div><a href="http://www.vtk.org/doc/nightly/html/classvtkDelaunay3D.html">http://www.vtk.org/doc/nightly/html/classvtkDelaunay3D.html</a></div><div><br></div><div>You can look at some examples of how to use it here:</div><div><br></div><div><a href="http://www.vtk.org/doc/nightly/html/c2_vtk_e_2.html#c2_vtk_e_vtkDelaunay3D">http://www.vtk.org/doc/nightly/html/c2_vtk_e_2.html#c2_vtk_e_vtkDelaunay3D</a><br></div><div><br></div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Feb 27, 2016 at 6:59 PM, Yang Yang <span dir="ltr"><<a href="mailto:ustcyyo@gmail.com" target="_blank">ustcyyo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear all,<br>
<br>
<br>
I recently want to display some 3d points data in Paraview.  The data is created from code of previous group members. It is [x(1 by 10^6),y (1 by 10^6), z(1 by 10^6 ), some_physics_value(1 by 10^6 )]. The spacing between each points is not uniform. Somehow we loose the informations about the cells and connectivity array. So I cannot generate an unstructured grid VTK file based on my data.<br>
<br>
<br>
To write an unstructured grid VTK file, we need information of the cell connectivity array. But I don’t know how to generate it.<br>
<br>
<br>
Could you give me some advice?<br>
<br>
<br>
Thanks.<br>
<br>
<br>
<br>
Best wishes,<br>
Yang Yang<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>