Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] How to list all the property maps of a surface mesh

Subject: CGAL users discussion list

List archive

[cgal-discuss] How to list all the property maps of a surface mesh


Chronological Thread 
  • From: Yaoyu Hu <>
  • To:
  • Subject: [cgal-discuss] How to list all the property maps of a surface mesh
  • Date: Mon, 19 Oct 2020 17:35:31 -0400
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:79Om3hB9aJKmXM5OWykHUyQJP3N1i/DPJgcQr6AfoPdwSPvypsbcNUDSrc9gkEXOFd2Cra4d1KyJ6eu5BiQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTagY75+Nhe7oRveusULg4ZpN7o8xAbOrnZUYepd2HlmJUiUnxby58ew+IBs/iFNsP8/9MBOTLv3cb0gQbNXEDopPWY15Nb2tRbYVguA+mEcUmQNnRVWBQXO8Qz3UY3wsiv+sep9xTWaMMjrRr06RTiu86FmQwLuhSwaNTA27XvXh9R/g6xbrhyvpAFxzZDIb4yOLvVyYrnQcMkGSWZdXMtcUTFKDIOmb4sICuoMJeRXoJP6p1oOsBu1GAuiBP7ywTJPhn/2wK073P4mEQDGwQwsAtYDvXfVodjuO6cSVPq6zKjMzTnZc/xW3jL95ZHOfxs8rv6CQah+ftDNyUkzCQzFlFOQpJTnMj6ay+gBr2eV4vZvWO+tl2IqqgB8riWgy8ksloXEhoYYx1DY+Sh3wIs4OdO2RU5nbdK4EJZcqy+XOpZ2T80tRWxjpSU0yqUetJKlYCQHzI4ryh3fZvCdboSE/BHuWPyeLDp7gn9uZaixiAyo8Ue6z+3xTsm030hOripCitTMs2oC1x3X6sSeRPp9+1qt1S+B1w3c6exIO080la3cK54uxr4/iIAfvljEHi/zgEn2jamWeVs4+uWw9ejrfrHrqoWfOoJ0kA3yL7oil8+lDek3MQUCR22b9v691L3n8035WrJKjvgun6nZrZDbJd4Upqm5Ag9Iz4ou7xWyAja93dQXmHkINlNFeBadg4f1PFHOJej0De2jjFS0jDdr2/fGM6X9DZXCNHfDlK7tcqt8605H1AUz0Mtf54lPB7EaIPPzX1fxu8bCAh84NQy02efnB89n2oMQQ2LcSpOeZajduFvN6uM0KPSXf6cUviz8Ir4r/a3Al3g8zG4Ueri0lbsKICS4A+VvJFSEOCu83P8OFG4Lukw1S+m82w7KaiJae3vnB/F03To8Eo/zVd6eFLDou6SI2WKAJrMTZm1CDQrRQ3LhdoHBRPJVLSzOcolulTsLUbXnQIgkh0n35V3KjoF/J++RwRU28Jfq1dx7/erWzEhg+jl9DsDb2GaIHTgtwjE4AgQu1aU6mnRTj0+Z2PEh0fNdHN1XofhOV1ViOA==

Hi there!

I am just wondering that for a surface mesh, without knowing the actual types of the property maps, can we get a list of the names (string) of the property maps? 

Or, without knowing the names (string) of the property maps, can we list all the property maps that have a specific type?

I'm thinking of scenarios like my upstream processing may produce a property map for vertex normals, but I do not know the type or the name of the vertex normal property map. I'd like to search for a property map that looks like a vertex normal property map. E.g I may look for a property map with the type of CGAL::Surface_mesh<Kenerl_t>::Property_map<vertex_descriptor_t, Kernel_t::Vector_3> but without knowing the name. Or look for a property map that has the name of "vertex_normals" (a non-conventional name) without knowing the type of the property map.

Regards,

Yaoyu



Archive powered by MHonArc 2.6.19+.

Top of Page