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