Visitor to subcollect parts of an existing bounding volume tree. More...
#include <BVHSubTreeCollector.hxx>
Inherits simgear::BVHVisitor.
Visitor to subcollect parts of an existing bounding volume tree.
Given a sphere, it takes those sub parts of the tree that intersect the sphere. Transform nodes of any kind are preserved to be able to ask for intersections a different times. The subcollected tree is kept as small as possible as it does avoid having groups with single childs. Also the BVHStaticGeometry parts are seached for subtrees that are outside the sphere.
Definition at line 38 of file BVHSubTreeCollector.hxx.