Skip to Content.
Sympa Menu

cgal-discuss - Re: Re: [cgal-discuss] 3D remesh

Subject: CGAL users discussion list

List archive

Re: Re: [cgal-discuss] 3D remesh


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: Re: [cgal-discuss] 3D remesh
  • Date: Mon, 24 Jun 2013 15:47:06 +0200
  • Organization: GeometryFactory

Le lundi 24 juin 2013 15:32:43 Noura Hamzé a écrit :
> I'm not familiar with the "inr.gz" file format. Idially i need to produce a
> 3D mesh from a surface mesh (my current mesh is in vtk format) , however if
> there is no way to start from a surface mesh, i think that i need to
> convert my dicom files (i have them also) to an image format which could be
> compatible with CGAL. Thanks in advance,

Have a look at the section named "3D Polyhedral Domains", here:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Mesh_3/Chapter_main.html#Subsection_51.3.2

To use that code, you will have to convert your VTK mesh a polyhedron, first.
For that, you will have to use the class template
CGAL::Polyhedron_incremental_builder_3. See the example "Example Using the
Incremental Builder and Modifier Mechanism", here:
http://www.cgal.org/Manual/latest/doc_html/cgal_manual/Polyhedron/Chapter_main.html#Subsection_25.6.2

It should not be too difficult to convert your VTK mesh to a CGAL polyhedron,
unless your VTK mesh is not manifold.

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.18.

Top of Page