[vtkusers] help -- unstructuredGrid

Johnny Norris jnorris at mcs.anl.gov
Wed Sep 26 11:08:29 EDT 2001


Once upon a time, Song Li wrote:
>    Just a very basic question:  does any body know how to extract the
> surface of a dataset with unstructuredGrid type and write it back to
> unstructuredGrid type ? is that possible ? seems i can only get
> vtkPolydata after using vtkGeometryFilter.....

You could use vtkAppendFilter to convert the output of vtkGeometryFilter
from vtkPolyData to vtkUnstructuredGrid.  You could also abuse
vtkExtractGeometry into doing the job, but vtkAppendFilter is probably more
efficient.

John
-- 
John Norris
Research Programmer
Center for Simulation of Advanced Rockets
http://www.uiuc.edu/ph/www/jnorris



More information about the vtkusers mailing list