Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Mesh_3 labelling problem

Subject: CGAL users discussion list

List archive

[cgal-discuss] Mesh_3 labelling problem


Chronological Thread 
  • From: "Chenes Christophe (HES)" <>
  • To: "" <>
  • Subject: [cgal-discuss] Mesh_3 labelling problem
  • Date: Tue, 13 Mar 2012 10:32:28 +0000
  • Accept-language: fr-CH, en-US

Hello everyone,

I'm currently working on a CGAL - VTK project aiming to create labeled
tetrahedral mesh (.vtk) from a labeled image (.inr).

My program meshes the given image with specified parameters:
C3t3 c3t3 = CGAL::make_mesh_3<C3t3>(domain, criteria);
and then I convert it to vtk, add the scalars to the vtk mesh (points and
cells) and save it to .vtk.

I'm testing this program with two spheres with different labels which
intersect.
The program works but the labels on the intersection of the two spheres are
strange... (see im1)

I tried to understand the labeling method used by CGAL but I'm not sure about
it.
I think, according to im2, that you do not use the vertex label to label the
cell, do you ?
Therefore, what is the labeling method of CGAL and is there a way to chose
another strategy ?

Thank you very much,

Kind regards,

im1

[cid:efc1331e-59bf-4e2a-87b6-bb471335326a]

im2

[cid:c1746acc-dec6-490e-b522-3b3c602facf6]




█ Christophe Chênes ▪ Assistant de Recherche HES
Filière Technique en radiologie médicale
Haute école de santé ▪ Avenue de Champel 47 ▪ 1206 Genève
Direct +41 22 388 66 91

PNG image

PNG image




Archive powered by MHonArc 2.6.16.

Top of Page