[Insight-developers] Re: [Insight-users] How to visualizing ITK meshes?

Luis Ibanez luis.ibanez at kitware.com
Sat Feb 18 08:09:40 EST 2006


Hi Kai,

In practical applications, if you are already combining
ITK and VTK, it is much better to use the vtkContour
filter than the itkBinaryMask3DMeshSource filter for
the purpose of extracting the isosurface from an image.


An example of this combination is provided in


      InsightApplications/
             Auxiliary/vtk/
               itkReadITKImage3DSegmentShowVTK.cxx
               itkReadITKImageSegmentShowVTK.cxx


The example:

          itkReadITKImage3DSegmentShowVTK


is probably the closest to what you want to do.



You may also want to look at the application:

        InsightApplications/
           DeformableModelSimplexMesh/

Where an ITK mesh is converted into a vtkUnstructuredData
and vtkPolyData and then connected to a VTK visualization
pipeline.



You may also find interesting the following examples:


      InsightApplications/
             Auxiliary/vtk/
                   vtk2itk.cxx
                   vtk2itkDouble.cxx
                   vtkPolyDataToITKMesh.cxx




Please let us know if you have further questions.



    Thanks



       Luis


--------------
Kai Li wrote:
> Hi,
>   I wonder whether there is an example to make use of VTK to visualize the
> isosurfaces (in the form of meshes) generated by ITK ( in particular the
> filter itkBinaryMask3DMeshSource). Or any other methods for the isosurface
> visualization?
> 
> Thanks,
> Kai
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 



More information about the Insight-developers mailing list