[Insight-users] importing/saving 3D meshes in ITK?

C.Cagatay Bilgin bilgic at cs.rpi.edu
Tue Dec 15 08:59:26 EST 2009


Hi Michael,

You can read and write STL files by using
vtkSTLReader and vtkSTLWriter classes.
Then you can use the VTK to ITK pipelines
to move back and forth. Have a look at
https://mri.radiology.uiowa.edu/mediawiki/index.php/Compiling_Your_First_VTK_Program
for a reader and writer example

Regards,
Cagatay Bilgin

On Dec 15, 2009, at 4:53 AM, michiel mentink wrote:

>
> Dear All,
>
> I'd like to open a surface mesh file in ITK, specifically an STL  
> file (I don't mean standard library).
>
> Are there any examples to look at? The ITK software guide talks  
> about meshes and such,
> but nowhere it is clear what filetype is (to be) used nor is there  
> an example where a surface mesh
> is written.
>
> Kind regards,
>
> Michael
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users



More information about the Insight-users mailing list