[vtkusers] CellEdgeNeighbors of UnstructuredGrid

dce06003 dce06003 at fe.up.pt
Tue Sep 21 12:21:45 EDT 2010


Hello all.

I am trying to determine which cells share an edge with a specified
cell of my unstructured grid, composed with voxels.

I adapted this example from the VTK Wiki:

http://www.paraview.org/Wiki/VTK/Examples/Cxx/PolyData/CellEdgeNeighbors

changing the triangleFilter->GetOutput() with my unstructured grid.

When I run it, I got the following error on function
GetCellNeighbors():

"Microsoft C++ exception: std::bad_alloc at memory location"



Is there anyone who got the GetCellNeighbors() working with an
unstructured grid? 
Can someone please help?

Thank you very much,

Teresa Azevedo



More information about the vtkusers mailing list