[vtkusers] vtkUnstructuredGrid; vtkGeometryFilter; quadratic cells - access violation
john platt
jcplatt at lineone.net
Mon May 12 14:53:25 EDT 2003
Hi VTK users,
I am working with QUADRATIC cells (2D/3D) in unstructured grids and require a view of all the cell edges on the bounding surface only. Using vtkGeometryFilter gives an access violation - linear cells are fine.
vtkGeometryFilter.cxx (revision 1.91) - about line 902 in UnstructuredGridExecute() : newCellId = Lines->InsertNextCell(2) should read newCellId = Polys->InsertNextCell(3). Same cut/paste mistake at about line 921.
Extracting the edges using vtkFeatureEdges shows all the edges of the graphics primitives used in triangulating the quadratic faces in addition to the original cell edges. While vtkExtractEdges does not show the triangulation results, I am not aware of how to extract only the surface edges. Has anybody got any suggestions?
Many thanks in advance.
PS thanks to Will Schroeder for the very timely source updates.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030512/2b0c3319/attachment.htm>
More information about the vtkusers
mailing list