[vtkusers] How to generate the connectivity array?

Cory Quammen cory.quammen at kitware.com
Sat Feb 27 22:34:46 EST 2016


Hi Yang,

VTK has a vtkDelaunay3D filter that may be of help:

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

You can look at some examples of how to use it here:

http://www.vtk.org/doc/nightly/html/c2_vtk_e_2.html#c2_vtk_e_vtkDelaunay3D

Cory

On Sat, Feb 27, 2016 at 6:59 PM, Yang Yang <ustcyyo at gmail.com> wrote:

> Dear all,
>
>
> 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.
>
>
> To write an unstructured grid VTK file, we need information of the cell
> connectivity array. But I don’t know how to generate it.
>
>
> Could you give me some advice?
>
>
> Thanks.
>
>
>
> Best wishes,
> Yang Yang
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160227/8442659d/attachment.html>


More information about the vtkusers mailing list