[Insight-users] transform itkMesh to vtkPolyData

Luis Ibanez luis.ibanez at kitware.com
Fri Sep 24 13:43:24 EDT 2004


Hi Xujf,

You probably missed my email this morning, here it is again:

> Hi Xujf
> 
> You will find multiple examples on how to convert an ITK
> itk::Mesh in to a VTK vtkPolyData in the directory
> 
>           InsightApplications/Auxiliary/vtk
> 
                             vtk2itk.cxx
                             vtk2itkDouble.cxx
> 
> you will also find an example on this in the demo application
> 
> 
>    InsightApplications/DeformableModelSimplexMesh
> 
> 
> 
> Regards,
> 
> 
>    Luis


-------------
xujf wrote:

> hello,everyone:
>      How to transform itkMesh to vtkPolyData? I want to visilize the result of segmentation.however the  type of result of the segmentation is itkMesh, I have to transform it to vtkPolyData in order to visilization.
> 
> Thanks in advance!
> xujf 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users







More information about the Insight-users mailing list