[vtkusers] vtkPolydata vs. vtkUnstructuredGrid

Aurélien Marsan aur.marsan at gmail.com
Wed Jul 30 15:45:51 EDT 2014


Dear Paraview users, and VTK users

I want to build a vtkUnstructuredGrid from several numpy arrays, which
contains the points coordinates, the cells, cells locations, cells types
etc...
So : I have all informations that are needed.

vtkPolyData seems a lot easier to define through a python script.

But : what is the fundamental difference between vtkPolyData and
vtkUnstructuredGrid ?
What should be the criterion in order to choose on of these two types ?

Many thanks in advance,
Regards,

Aurélien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140730/dcde3150/attachment.html>


More information about the vtkusers mailing list