38 #ifndef FCL_TRAVERSAL_SHAPEBVHDISTANCETRAVERSALNODE_H 39 #define FCL_TRAVERSAL_SHAPEBVHDISTANCETRAVERSALNODE_H 41 #include "fcl/narrowphase/detail/traversal/traversal_node_base.h" 42 #include "fcl/narrowphase/detail/traversal/distance/distance_traversal_node_base.h" 43 #include "fcl/geometry/bvh/BVH_model.h" 52 template<
typename Shape,
typename BV>
58 using S =
typename BV::S;
78 mutable int num_bv_tests;
79 mutable int num_leaf_tests;
80 mutable S query_time_seconds;
86 #include "fcl/narrowphase/detail/traversal/distance/shape_bvh_distance_traversal_node-inl.h" Main namespace.
Definition: broadphase_bruteforce-inl.h:45
int getSecondLeftChild(int b) const
Obtain the left child of BV node in the second BVH.
Definition: shape_bvh_distance_traversal_node-inl.h:71
Traversal node for distance computation between shape and BVH.
Definition: shape_bvh_distance_traversal_node.h:53
int getSecondRightChild(int b) const
Obtain the right child of BV node in the second BVH.
Definition: shape_bvh_distance_traversal_node-inl.h:78
Node structure encoding the information required for distance traversal.
Definition: distance_traversal_node_base.h:53
S BVTesting(int b1, int b2) const
BV culling test in one BVTT node.
Definition: shape_bvh_distance_traversal_node-inl.h:86
bool isSecondNodeLeaf(int b) const
Whether the BV node in the second BVH tree is leaf.
Definition: shape_bvh_distance_traversal_node-inl.h:64
A class describing the bounding hierarchy of a mesh model or a point cloud model (which is viewed as ...
Definition: BVH_model.h:57