38 #ifndef FCL_TRAVERSAL_MESHCONTINUOUSCOLLISIONTRAVERSALNODE_H 39 #define FCL_TRAVERSAL_MESHCONTINUOUSCOLLISIONTRAVERSALNODE_H 55 BVHContinuousCollisionPair(
int id1_,
int id2_, S time);
68 template <
typename BV>
74 using S =
typename BV::S;
79 void leafTesting(
int b1,
int b2)
const;
96 mutable std::vector<BVHContinuousCollisionPair<S>>
pairs;
103 template <
typename BV>
std::vector< BVHContinuousCollisionPair< S > > pairs
Traversal node for continuous collision between BVH models.
int id1
The index of one in-collision primitive.
Vector3< S > * prev_vertices2
Eigen::Transform< S, 3, Eigen::Isometry > Transform3
Eigen::Matrix< S, 3, 1 > Vector3
S collision_time
Collision time normalized in [0, 1]. The collision time out of [0, 1] means collision-free.
Vector3< S > * prev_vertices1
Triangle with 3 indices for points.
Parameters for performing collision request.
int id2
The index of the other in-collision primitive.
template bool initialize(MeshCollisionTraversalNodeOBB< double > &node, const BVHModel< OBB< double >> &model1, const Transform3< double > &tf1, const BVHModel< OBB< double >> &model2, const Transform3< double > &tf2, const CollisionRequest< double > &request, CollisionResult< double > &result)
Traversal node for continuous collision between meshes.
Traversal node for collision between BVH models.
A class describing the bounding hierarchy of a mesh model or a point cloud model (which is viewed as ...