[Insight-users] proper class to process triangle facet
Luis Ibanez
luis.ibanez at kitware.com
Sun Jun 10 09:25:46 EDT 2007
Hi 付文宇,
Thanks for your clarifications.
ITK does not have functionalities for processing STL files.
You could use VTK to read the STL file and save it as a
polydata in a .vtk legacy file. Then use the new filters
in
Insight/Code/Review/
itkVTKPolyDataReader.h
itkVTKPolyDataReader.txx
itkVTKPolyDataWriter.h
itkVTKPolyDataWriter.txx
Then you may have to *manually* convert the itk::Mesh data
in to the structures needed by the FEM library.
Regards,
Luis
===============
付文宇 wrote:
> Hi Luis Ibanez
> Thanks your reply. I know vtk can read stl file. What I want to make on surface
> is to modify triangle facet in order to make them fitting FEM analysis.(Because
> original triangle facet of stl file do not have specific characteristics in the
> geometrical description that is very important for FEM analysis.)
> Class of "vtkDecimate,vtkQuardricDecimation" in vtk can reduce the number of
> triangles in a triangle mesh, forming a good approximation to the original
> geometry. But theri function is relatively simple,so I want to know whether in ITK
> having proper function to process stl file's triangle facet or not.
>
> Fu Wenyu
> 2007.06.10
>
>
>
More information about the Insight-users
mailing list