Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] AABB tree iteration to obtain AABB nodes

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] AABB tree iteration to obtain AABB nodes


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] AABB tree iteration to obtain AABB nodes
  • Date: Mon, 18 Jan 2016 12:01:10 +0100
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:WyN8WRM6eOADgMMQwj8l6mtUPXoX/o7sNwtQ0KIMzox0KPr/rarrMEGX3/hxlliBBdydsKIazbuI+Pq4EUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i760zceF13FOBZvIaytQ8iJ35rxhr75ocWbSj4LrQT+SIs6FA+xowTVu5teqqpZAYF19CH0pGBVcf9d32JiKAHbtR/94sCt4MwrqHwI6Lpyv/JHBK71dqB9Qb1DByk9KEg04tfqvF/NV1ih/HwZBy8tnxBBGBTE4ReyepDrsyzm/qpS1S6fMNHsXJ49Uiil9bYqAle8kyMALT8+7CfSjuR/iatapFSqoBkpkN2cW52cKPcrJvCVRtgdX2cUBss=
  • Organization: GeometryFactory

Do you want to print all bboxes or only the one intersected by the ray?
In the latter case, you can pass a custom traits which provides a Do_intersect functor that can take care of collecting bboxes intersected.

http://doc.cgal.org/latest/AABB_tree/classAABBTraits.html#acd432e5763cef7e50b44f75f8b24c06d

Sebastien.

On 01/18/2016 11:27 AM, zormil wrote:
Hello,
I made a program for intersection rays with mesh of triangles and it works
fine. But I would like to display generated AABB tree bounded boxes with my
mesh.
Is there any way for AABB tree iteration to obtain AABB nodes of tree which
bounding boxes I can draw?

Thanks,
Zoran



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/AABB-tree-iteration-to-obtain-AABB-nodes-tp4661506.html
Sent from the cgal-discuss mailing list archive at Nabble.com.





Archive powered by MHonArc 2.6.18.

Top of Page