Subject: CGAL users discussion list
List archive
Re: [cgal-discuss] How to collect the new facets after an isotropic remeshing on a subset of facests
Chronological Thread
- From: Yaoyu Hu <>
- To:
- Subject: Re: [cgal-discuss] How to collect the new facets after an isotropic remeshing on a subset of facests
- Date: Thu, 16 Jul 2020 18:26:27 -0400
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:UrdIJRB7EPWE2mKaqLbAUyQJP3N1i/DPJgcQr6AfoPdwSPXyocbcNUDSrc9gkEXOFd2Cra4d1ayN7uu4CCQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTagYL5+Nhu7oAXeusUKhYZpN7o8xAbOrnZUYepd2HlmJUiUnxby58ew+IBs/iFNsP8/9MBOTLv3cb0gQbNXEDopPWY15Nb2tRbYVguA+mEcUmQNnRVWBQXO8Qz3UY3wsiv+sep9xTWaMMjrRr06RTiu86FmQwLuhSwaNTA27XvXh9R/g6JVoh2vpxJxzY3Jbo+LKPVzZbnScc8ASGdbQspdSy5MD4WhZIUPFeoBOuNYopH/qFQUqhu/BRSsD/7txD9Vm3T72q060/khEA7c2wwhH88OvGnQodj2NaofSu+1zKzSwjXCa/Nawyvy6I/Nch04p/yHQL1/f9bLx0Y1CwPFkkufqZbjPz6N2OoDvGqW4uhgWO6zimMqpA9/rDayysoshIfEiJwZx1PZ+Ch53Ys4JcO0RU17b9OlH5ZdtC6XOpZ2TM88X21lpSA3waAIt568eSgF0pUnxxjHZvyGdYiI+BPjW/yLLTd2nnJofq+0iRWq8UW41OHwSs253ExJoydFiNXAqG4B2wHJ5sWISPZw+Fqq1yyV2ADJ8O5EJFg5larFJJ4lxb49jp8Tvl7CHi/ygUn3grWWelg99uim5OnqYK/qppCbN49zhQH+NrohltajDuQ/NwgCR2mb+eKi273/5UD1XqlGg/ksnqTasJ3WP9oXqrCkDwNP3Ysu6Q6zDzK839QZmXkHIkhFeBWCj4XxO1HOPfD5Au24g1WsjTdn2vTLM77gD5jWIXjDla3ufbd560JG1AUzytVf64pOCr4dOPLzRlPxtNvAAxAlPAy72eLnBMxg2YMfQmKAHrKZMLjJsVKT/eIuI+yMZJcPtzrnKvgl4eTujX4jllMHc6mpx8hfVXajA/4zI1mFeWG+xZAaAGISt0w/SvbrgRuMS3lIdnOqVuU94D88T4mpBIOGSoG2i6Gax3SGGIZLbEBaD1TZEWv0b57WHLAXeSeKK4lglCYFXP6vUcg6xBS2vUj7zbRgaeHb8ylduZP438Vu/L7ukwov/wB5H9jI032RV3om2SQTVjou1eZ+p1Z8wxGNy+9jkvlAHJtS4f1OFQw1PJqZw+1hAM3pQVH9eYKCR1+iB9mnGjosVckZwtkUYk87Fc/xoArE2n+bCrgEivSrGdRg8r/N1n/gOp8smyju26wojl1gScxKYz71zpVj/hTeUtaa236SkLynIPxFgXz9sVybxG/Lh3l2FQ59VaKfACIab0rS6MvjvwbME+DoBrMgPQ9Mj8WFL/kSM4G7vRB9XP7mfe/mTSepgW7pXESHw7qNaMzhfGBPhHyMWnhBqBga+DO9DSZ7Ay6gp2zECzk3TADgZkrt9a91r3bpF0I=
Hi Maxime,
Your suggestions work like a charm!
Now I cloud retrieve the newly created facets after remeshing! And also thank you for the advice on the treatment of non-manifold vertices.
Yaoyu
On Thu, Jul 16, 2020 at 3:12 AM Maxime Gimeno <> wrote:
Hi,For your second point, you can use a face_patch_map in the named parameters. It is a property map that associates an int to a face, so you can define regions of faces with the same ID. Then, if you give the id 25, for example, to the faces defining the surface you want to remesh, all faces with id 25 after remeshing will be new faces, or at least faces that have changed.Le jeu. 16 juil. 2020 à 07:19, Yaoyu Hu <> a écrit :Greetings,Does anyone know how to get a collection of the newly generated facets after performing an isotropic remeshing on a subset of facets from a Surface_mesh mesh?When I was doing the refreshing, I collect the subset of facets in an std::unordered_set, and send this unordered set to CGAL::Polygon_mesh_processing::isotropic_remeshing(). After the remeshing, I'd like to collect all the newly generated facets into a container. However, I did not find a way to do that. Does anyone know a proper way for doing this?I am also thinking that if operations on a subset of facets are not possible, how about dividing the original mesh into pieces. And then we can do remeshing on the individual pieces of sub-meshes. In this way, I could collect the entire facets belong to a sub-mesh. However, what is the correct way to split or separate facets into a sub-mesh from the original mesh?Thanks!Yaoyu
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss
- [cgal-discuss] How to collect the new facets after an isotropic remeshing on a subset of facests, Yaoyu Hu, 07/16/2020
- Re: [cgal-discuss] How to collect the new facets after an isotropic remeshing on a subset of facests, Maxime Gimeno, 07/16/2020
- Re: [cgal-discuss] How to collect the new facets after an isotropic remeshing on a subset of facests, Yaoyu Hu, 07/17/2020
- Re: [cgal-discuss] How to collect the new facets after an isotropic remeshing on a subset of facests, Maxime Gimeno, 07/16/2020
Archive powered by MHonArc 2.6.19+.