38 #ifndef FCL_TRAVERSAL_MESHCONTINUOUSCOLLISIONTRAVERSALNODE_H 39 #define FCL_TRAVERSAL_MESHCONTINUOUSCOLLISIONTRAVERSALNODE_H 41 #include "fcl/narrowphase/detail/traversal/collision/bvh_collision_traversal_node.h" 68 template <
typename BV>
74 using S =
typename BV::S;
79 void leafTesting(
int b1,
int b2)
const;
84 Vector3<S>* vertices1;
85 Vector3<S>* vertices2;
90 Vector3<S>* prev_vertices1;
91 Vector3<S>* prev_vertices2;
93 mutable int num_vf_tests;
94 mutable int num_ee_tests;
96 mutable std::vector<BVHContinuousCollisionPair<S>> pairs;
98 mutable S time_of_contact;
103 template <
typename BV>
107 const Transform3<typename BV::S>& tf1,
109 const Transform3<typename BV::S>& tf2,
115 #include "fcl/narrowphase/detail/traversal/collision/mesh_continuous_collision_traversal_node-inl.h" Main namespace.
Definition: broadphase_bruteforce-inl.h:45
Traversal node for continuous collision between BVH models.
Definition: mesh_continuous_collision_traversal_node.h:51
int id1
The index of one in-collision primitive.
Definition: mesh_continuous_collision_traversal_node.h:58
S collision_time
Collision time normalized in [0, 1]. The collision time out of [0, 1] means collision-free.
Definition: mesh_continuous_collision_traversal_node.h:64
Triangle with 3 indices for points.
Definition: triangle.h:47
request to the collision algorithm
Definition: collision_request.h:52
int id2
The index of the other in-collision primitive.
Definition: mesh_continuous_collision_traversal_node.h:61
Traversal node for continuous collision between meshes.
Definition: mesh_continuous_collision_traversal_node.h:69
Traversal node for collision between BVH models.
Definition: bvh_collision_traversal_node.h:52
A class describing the bounding hierarchy of a mesh model or a point cloud model (which is viewed as ...
Definition: BVH_model.h:57