[vtkusers] Covert UnstructuredGrid in PolyDataSet

Jeff Lee jeff at cdnorthamerica.com
Wed Nov 20 11:30:43 EST 2002


vtkGeometryFilter will convert a vtkUnstructuredGrid to vtkPolyData.  If 
your dataset is volumetric, then you will just get the boundary of your 
dataset.
-Jeff

Samuel Rodríguez Bescos wrote:

>  
> Hello,
>  
> I'm using VTK for represent a mesh resulted of a pro cessing using 
> ITK. In ITK there is a code that converts a  mesh in ITK in 
> UnstructuredGrid of ITK: The problem is that I want to decimate and 
> smooth this mesh and I noticed that these algorithms have to have a 
> PolydataSet as its input.
>  
> could anybody tell me if there is a way to transform 
> vtkUnstructuredGrid to PolyDataSet?
>  
> Thanks in advance,
>  
> Sam 







More information about the vtkusers mailing list