From a040af4236a890e800557db1300a1af70e2e41c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Sat, 10 Nov 2018 09:26:58 +0100 Subject: [PATCH] int -> size_t --- .../Surface_mesh_approximation_plugin.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_approximation/Surface_mesh_approximation_plugin.cpp b/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_approximation/Surface_mesh_approximation_plugin.cpp index 42d0409bd13..c9cb30d23a9 100644 --- a/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_approximation/Surface_mesh_approximation_plugin.cpp +++ b/Polyhedron/demo/Polyhedron/Plugins/Surface_mesh_approximation/Surface_mesh_approximation_plugin.cpp @@ -34,7 +34,7 @@ class Polyhedron_demo_surface_mesh_approximation_plugin : Q_INTERFACES(CGAL::Three::Polyhedron_demo_plugin_interface) Q_PLUGIN_METADATA(IID "com.geometryfactory.PolyhedronDemo.PluginInterface/1.0") - typedef boost::property_map >::type Patch_id_pmap; + typedef boost::property_map >::type Patch_id_pmap; typedef VSA_wrapper::Indexed_triangle Indexed_triangle; typedef std::map SM_wrapper_map; typedef std::pair SM_wrapper_pair; @@ -141,7 +141,7 @@ void Polyhedron_demo_surface_mesh_approximation_plugin::on_buttonSeeding_clicked .number_of_relaxations(ui_widget.nb_relaxations->value())); approx.run(ui_widget.nb_iterations->value()); - Patch_id_pmap pidmap = get(CGAL::face_patch_id_t(), *sm_item->face_graph()); + Patch_id_pmap pidmap = get(CGAL::face_patch_id_t(), *sm_item->face_graph()); approx.output(CGAL::parameters::face_proxy_map(pidmap)); mi->information(QString("Done, #proxies = %1. (%2 ms)").arg( @@ -173,7 +173,7 @@ void Polyhedron_demo_surface_mesh_approximation_plugin::on_buttonFit_clicked() { QApplication::setOverrideCursor(Qt::WaitCursor); approx.run(1); - Patch_id_pmap pidmap = get(CGAL::face_patch_id_t(), *pmesh); + Patch_id_pmap pidmap = get(CGAL::face_patch_id_t(), *pmesh); approx.output(CGAL::parameters::face_proxy_map(pidmap)); mi->information(QString("Fit one iteration, #proxies = %1.").arg(approx.number_of_proxies())); @@ -210,7 +210,7 @@ void Polyhedron_demo_surface_mesh_approximation_plugin::on_buttonAdd_clicked() { } mi->information(QString("One proxy added, #proxies = %1.").arg(approx.number_of_proxies())); - Patch_id_pmap pidmap = get(CGAL::face_patch_id_t(), *pmesh); + Patch_id_pmap pidmap = get(CGAL::face_patch_id_t(), *pmesh); approx.output(CGAL::parameters::face_proxy_map(pidmap)); sm_item->color_vector() = approx.proxy_colors(); @@ -238,7 +238,7 @@ void Polyhedron_demo_surface_mesh_approximation_plugin::on_buttonTeleport_clicke QApplication::setOverrideCursor(Qt::WaitCursor); - Patch_id_pmap pidmap = get(CGAL::face_patch_id_t(), *pmesh); + Patch_id_pmap pidmap = get(CGAL::face_patch_id_t(), *pmesh); if (approx.teleport_one_proxy() == 0) { mi->information(QString("No proxy teleported, #proxies = %1.").arg(approx.number_of_proxies())); return; @@ -280,7 +280,7 @@ void Polyhedron_demo_surface_mesh_approximation_plugin::on_buttonSplit_clicked() } mi->information(QString("One proxy splitted, #proxies = %1.").arg(approx.number_of_proxies())); - Patch_id_pmap pidmap = get(CGAL::face_patch_id_t(), *pmesh); + Patch_id_pmap pidmap = get(CGAL::face_patch_id_t(), *pmesh); approx.output(CGAL::parameters::face_proxy_map(pidmap)); sm_item->color_vector() = approx.proxy_colors(); @@ -319,7 +319,7 @@ void Polyhedron_demo_surface_mesh_approximation_plugin::on_buttonMeshing_clicked std::vector anchor_vertices; std::vector > patch_polygons; - Patch_id_pmap pidmap = get(CGAL::face_patch_id_t(), *sm_item->face_graph()); + Patch_id_pmap pidmap = get(CGAL::face_patch_id_t(), *sm_item->face_graph()); approx.output(CGAL::parameters::face_proxy_map(pidmap) .anchors(std::back_inserter(anchor_points)) .triangles(std::back_inserter(indexed_triangles)));