From 47b5f73a9617712972be972dbc2901f2738abf2e Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Tue, 23 Jul 2024 10:18:27 +0200 Subject: [PATCH 1/3] document example weighted image + feature detection --- Mesh_3/doc/Mesh_3/examples.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Mesh_3/doc/Mesh_3/examples.txt b/Mesh_3/doc/Mesh_3/examples.txt index 7f9cb5dc94fd..4b853a9847b0 100644 --- a/Mesh_3/doc/Mesh_3/examples.txt +++ b/Mesh_3/doc/Mesh_3/examples.txt @@ -7,6 +7,7 @@ \example Mesh_3/mesh_3D_image_with_detection_of_features.cpp \example Mesh_3/mesh_3D_image_with_input_features.cpp \example Mesh_3/mesh_3D_weighted_image.cpp +\example Mesh_3/mesh_3D_weighted_image_with_detection_of_features.cpp \example Mesh_3/random_labeled_image.h \example CGAL/Mesh_3/initialize_triangulation_from_gray_image.h \example CGAL/Mesh_3/initialize_triangulation_from_labeled_image.h From a93f78d8ada20c14b718e0b442604a85b0e9f748 Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Tue, 23 Jul 2024 10:18:40 +0200 Subject: [PATCH 2/3] remove debug macros --- .../mesh_3D_weighted_image_with_detection_of_features.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Mesh_3/examples/Mesh_3/mesh_3D_weighted_image_with_detection_of_features.cpp b/Mesh_3/examples/Mesh_3/mesh_3D_weighted_image_with_detection_of_features.cpp index e9f8d339ab92..fb27688f919a 100644 --- a/Mesh_3/examples/Mesh_3/mesh_3D_weighted_image_with_detection_of_features.cpp +++ b/Mesh_3/examples/Mesh_3/mesh_3D_weighted_image_with_detection_of_features.cpp @@ -1,6 +1,3 @@ -#define CGAL_MESH_3_WEIGHTED_IMAGES_DEBUG -#define CGAL_MESH_3_VERBOSE 1 - #include #include From 5771547e364e24e500dfb0e9e1efef80c0ac9179 Mon Sep 17 00:00:00 2001 From: Jane Tournois Date: Tue, 23 Jul 2024 10:56:46 +0200 Subject: [PATCH 3/3] replace typedef's by using's --- ...h_3D_weighted_image_with_detection_of_features.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Mesh_3/examples/Mesh_3/mesh_3D_weighted_image_with_detection_of_features.cpp b/Mesh_3/examples/Mesh_3/mesh_3D_weighted_image_with_detection_of_features.cpp index fb27688f919a..9d9033a69095 100644 --- a/Mesh_3/examples/Mesh_3/mesh_3D_weighted_image_with_detection_of_features.cpp +++ b/Mesh_3/examples/Mesh_3/mesh_3D_weighted_image_with_detection_of_features.cpp @@ -20,18 +20,17 @@ using Mesh_domain = CGAL::Mesh_domain_with_polyline_features_3; /// [Domain definition] #ifdef CGAL_CONCURRENT_MESH_3 -typedef CGAL::Parallel_tag Concurrency_tag; +using Concurrency_tag = CGAL::Parallel_tag; #else -typedef CGAL::Sequential_tag Concurrency_tag; +using Concurrency_tag = CGAL::Sequential_tag; #endif // Triangulation -typedef CGAL::Mesh_triangulation_3::type Tr; - -typedef CGAL::Mesh_complex_3_in_triangulation_3 C3t3; +using Tr = CGAL::Mesh_triangulation_3::type; +using C3t3 = CGAL::Mesh_complex_3_in_triangulation_3; // Criteria -typedef CGAL::Mesh_criteria_3 Mesh_criteria; +using Mesh_criteria = CGAL::Mesh_criteria_3; // To avoid verbose function and named parameters call using namespace CGAL::parameters;