Subject: CGAL users discussion list
List archive
[cgal-discuss] Help: how to load 3D tet mesh from file into c3t3 (sorry if noob)
Chronological Thread
- From: toddoe <>
- To:
- Subject: [cgal-discuss] Help: how to load 3D tet mesh from file into c3t3 (sorry if noob)
- Date: Wed, 10 Mar 2010 16:37:12 -0800 (PST)
Hi,
I could really use some help here. Sorry if this is an inexperienced
question. I'm very new to cpp (great at fortran and matlab :)) Also sorry if
my terminology is weak or incorrect.
I've been working with the 3D meshing from voxel image and have had great
success. Got everything compiled and running under win32 vs2008. Examples
are working.
I see how the c3t3 method can 'output' to a 'mesh' file using the 'method'.
c3t3.output_to_medit(medit_file);
but i can't figure out how to 'input' or read from a mesh file to a c3t3
'object'. i looked at the File_medit.h header and there's nothing for
loading, only for output (i think).
can anyone tell me or give me a snippet to load from a mesh file? My goal is
to generate meshes in CGAL, then manipulate them using my own matlab code
(for several reasons) and then load them back into cgal and run a 'refine'.
I guess it's possible to read an off file, but that seems really tedious.
Any help is greatly greatly appreciated.
best regards.
--
View this message in context:
http://n4.nabble.com/Help-how-to-load-3D-tet-mesh-from-file-into-c3t3-sorry-if-noob-tp1588281p1588281.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), toddoe, 03/11/2010
- Re: [cgal-discuss] Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), Laurent Rineau (GeometryFactory), 03/11/2010
- [cgal-discuss] Re: Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), toddoe, 03/11/2010
- Re: [cgal-discuss] Re: Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), Laurent Rineau (GeometryFactory), 03/16/2010
- Re: [cgal-discuss] Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), t doehring, 03/11/2010
- [cgal-discuss] Re: Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), toddoe, 03/11/2010
- Re: [cgal-discuss] Help: how to load 3D tet mesh from file into c3t3 (sorry if noob), Laurent Rineau (GeometryFactory), 03/11/2010
Archive powered by MHonArc 2.6.16.