Plotting the geometry

Will Schroeder will.schroeder at kitware.com
Fri Jun 25 08:01:33 EDT 1999


Hi Gavin-

At 06:38 PM 6/24/99 +0100, Gavin Tabor wrote:
>I'm writing code for a CFD postprocessor. I'm trying to write code
>to display the mesh outline. I've got the mesh into a
>vtkUnstructuredGrid
>object, which is a good start, but I need to be able to display the
>edges of this object. I can use a vtkGeometryFilter object to extract
>the external mesh faces, but plotting these obscures the inside of the
>mesh (obviously not a good idea). Is there any way of asking for the
>edges of these mesh faces?
>

Try using vtkFeatureEdges after you've extracted the surface with vtkGeometryFilter. You'll have to play with the feature angle, and whether to display non-manifold edges or boundary edges.

Will




--------------------------------
Dr. William J. Schroeder
Kitware Visualization Solutions / vtk Commercial Support
469 Clifton Corporate Parkway
Clifton Park, NY 12065
will.schroeder at kitware.com
1-518-371-3971 (Phone & Fax)


-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list