Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Re: Adapting Point Set Processing demo
- Date: Wed, 20 Jun 2012 09:29:53 +0200
On 06/20/2012 04:30 AM, hugodelgado wrote:
Hi and thanks for the interest.I read triangulate when you wrote translate, sorry.
I'm receiving a point set that have been previously cleaned with some
algorithms for cleaning an image and identifying objects on a MR image scan.
I do some PCA with the dataset and also extract the surface from a subsample
of the points representing the surface. As in my project i need ed some
visualization tool to preview the results, and since that example seemed to
me to have more tools, i've started adapt that one to include some the stuff
i needed on my project. I don't know how the triangulation demo could help,
can you explain me how?
Point_set_3 inherits from std::deque<UI_point_3<Gt> > so the
std::transform call should work.
Note that you then need to call invalidate_bounds() to indicates that
bounds of the point set have changed.
To update the display, you need to call changed() at the Point_set_scene_item level to update the display.
Sebastien.
Right now i'm translating the points in order to test the PCA algorithms
since the plane and the line that i receive from the fitting algorithm and
although they seemed to have the correct orientation they aren't scaled to
the object, and i think that could be because the particle isn't sampled
around its centroid. So i'm trying to translate that point set. But i can
only store the resulting translated points on a vector or some container i
create to them. I would like to be able to replace my existing point_set
with the translated one.
Best Regards
Hugo Delgado
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Adapting-Point-Set-Processing-demo-tp4655265p4655273.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
- [cgal-discuss] Adapting Point Set Processing demo, hugodelgado, 06/19/2012
- Re: [cgal-discuss] Adapting Point Set Processing demo, Sebastien Loriot (GeometryFactory), 06/19/2012
- [cgal-discuss] Re: Adapting Point Set Processing demo, hugodelgado, 06/20/2012
- Re: [cgal-discuss] Re: Adapting Point Set Processing demo, Sebastien Loriot (GeometryFactory), 06/20/2012
- [cgal-discuss] Re: Adapting Point Set Processing demo, hugodelgado, 06/22/2012
- Re: [cgal-discuss] Re: Adapting Point Set Processing demo, Philipp Möller, 06/22/2012
- [cgal-discuss] Re: Adapting Point Set Processing demo, hugodelgado, 06/22/2012
- Re: [cgal-discuss] Re: Adapting Point Set Processing demo, Sebastien Loriot (GeometryFactory), 06/20/2012
- [cgal-discuss] Re: Adapting Point Set Processing demo, hugodelgado, 06/20/2012
- Re: [cgal-discuss] Adapting Point Set Processing demo, Sebastien Loriot (GeometryFactory), 06/19/2012
Archive powered by MHonArc 2.6.18.