Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Extracting the segments from a Surface Mesh
- Date: Thu, 12 May 2016 14:30:16 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
- Ironport-phdr: 9a23:ZpeYABIrZoRIsRs22dmcpTZWNBhigK39O0sv0rFitYgULfTxwZ3uMQTl6Ol3ixeRBMOAu6MC0rud7/mocFdDyKjCmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TWM5DIfUi/yKRBybrysXNWC3oLuhqvuotX6WEZhunmUWftKNhK4rAHc5IE9oLBJDeIP8CbPuWZCYO9MxGlldhq5lhf44dqsrtY4q3wD88QIrJEbFP2mN+RlFf0LRAghZms67cmuuRjYRhaU/VMdVH8Xm1xGGVvr9hb/C93KvyHzrfZ81S/SGcrsTLcoEXSN4qBuRQPymQkOPCI+6nCWwIQkl6ZcuhOmu1p6x6bbZYiUMLx1eaaLLoBSfnZIQssED38JOYi7dYZaUrIM
- Organization: GeometryFactory
On 05/12/2016 02:16 PM, Sukhraj Singh wrote:
Salut,
The "Triangulated Surface Mesh Segmentation" module allows one to
segment a surface mesh using the SDF values.
It creates a Property Map which is colorized according to the indices,
resulting into segments. Two spatially apart areas( i.e. not having
common edges) of a Mesh may fall into same segment, since they had
comparable SDF values.
My question is, how can one extract these segments. Since I want to do
further processing on a segment separately. Also I would like further
divide a segment, into say sub-segments , where a sub-segment will have
faces which are not spatially apart, i.e. a subset which is having
common edges only.
Set the parameter output_cluster_ids to true when calling the
segmentation function
http://doc.cgal.org/latest/Surface_mesh_segmentation/group__PkgSurfaceSegmentation.html#ga8533ea7b1062ebbabe3bf23fed303f24
If you need also the segments, then set the option to false and
use the function connected_components() considering as constrained
edges the edges between two faces belonging to different
segments.
http://doc.cgal.org/latest/Polygon_mesh_processing/group__keep__connected__components__grp.html#gabe2052b2281e1e628e68d8fea94be2d9
Sebastien.
Thanks to inform.
P.S. I am a newbie.
--
Sukhraj Singh
- [cgal-discuss] Extracting the segments from a Surface Mesh, Sukhraj Singh, 05/12/2016
- Re: [cgal-discuss] Extracting the segments from a Surface Mesh, Sebastien Loriot (GeometryFactory), 05/12/2016
- Re: [cgal-discuss] Extracting the segments from a Surface Mesh, Sukhraj Singh, 05/22/2016
- Re: [cgal-discuss] Extracting the segments from a Surface Mesh, Sebastien Loriot (GeometryFactory), 05/23/2016
- Re: [cgal-discuss] Extracting the segments from a Surface Mesh, Sukhraj Singh, 05/23/2016
- Re: [cgal-discuss] Extracting the segments from a Surface Mesh, Sebastien Loriot (GeometryFactory), 05/23/2016
- Re: [cgal-discuss] Extracting the segments from a Surface Mesh, Sukhraj Singh, 05/23/2016
- Re: [cgal-discuss] Extracting the segments from a Surface Mesh, Sebastien Loriot (GeometryFactory), 05/23/2016
- Re: [cgal-discuss] Extracting the segments from a Surface Mesh, Sukhraj Singh, 05/22/2016
- Re: [cgal-discuss] Extracting the segments from a Surface Mesh, Sebastien Loriot (GeometryFactory), 05/12/2016
Archive powered by MHonArc 2.6.18.