R tree bounding box结构可视化工具

R tree bounding box structure visualization tool

我可以使用哪种工具来可视化 R 树的边界框、节点、叶子,如本页所示?谢谢

http://www.boost.org/doc/libs/1_60_0/libs/geometry/doc/html/geometry/spatial_indexes/introduction.html

这些特定图像是使用 GLUT 库通过此程序生成的:

BOOST_ROOT/libs/geometry/index/example/glut_vis.cpp

https://github.com/boostorg/geometry/blob/develop/index/example/glut_vis.cpp

它使用隐藏在细节中的效用函数boost::geometry::index::detail::rtree::utilities::gl_draw()使用OpenGL绘制Boost.Geometryrtree<>。可以在这里找到:

BOOST_ROOT/boost/geometry/index/detail/rtree/utilities/gl_draw.hpp

https://github.com/boostorg/geometry/blob/develop/include/boost/geometry/index/detail/rtree/utilities/gl_draw.hpp