[Paraview-developers] Extract cells filter with polyhedra

Paul Edwards paul.m.edwards at gmail.com
Wed Jan 15 05:55:53 EST 2014


Hi,

I'm trying to use the extract cells filter on an unstructured grid with
polyhedra cells but it is crashing.  I'm not totally sure if the problem is
in vtkUnstructuredGrid or vtkExtractCells.  When the
vtkUnstructuredGrid::SetCells is called the cellArray seems to be IDs that
are (cell1_numpts, cell1_pt1, cell1_pt2, cell1_ptX, cell2_numpts,
cell2_pt1, ...) when I thought it should be using faces for polyhedra.
 I've attached a simple dataset and python script to reproduce the issue.

Does anyone have the time to take a look?  Or, can anyone suggest another
filter than might work for me?

Thanks in advance,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20140115/4f8ac1d6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testExtractCells.py
Type: application/octet-stream
Size: 271 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20140115/4f8ac1d6/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: threePolyhedron.vtu
Type: application/octet-stream
Size: 3826 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20140115/4f8ac1d6/attachment-0001.obj>


More information about the Paraview-developers mailing list