[vtkusers] Re: [Insight-users] convert STL dataset to a volumetric dataset
Luis Ibanez
luis.ibanez at kitware.com
Sat May 19 06:44:51 EDT 2007
Hi Tony,
You may want to try the vtkPolyDataToImageStencil class in VTK.
Or
The itk::TriangleMeshToBinaryImageFilter class in ITK
http://www.itk.org/Insight/Doxygen/html/classitk_1_1TriangleMeshToBinaryImageFilter.html
Note that if you use ITK, you should first convert the STL file into
a polydata file, and uploading into an ITK Mesh. For reading a .vtk
polydata into ITK you can use the class:
Insight/Code/Review/
itkVTKPolyDataReader.h
Regards,
Luis
----------------
tony hakki wrote:
> Dear ITK and VTK users;
> I would like to ask you that is there a suitable class or a software to
> convert a STL data set to a Volumetric data?
> thanks in advance
> Tony
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
More information about the vtkusers
mailing list