38 #ifndef FCL_TRAVERSAL_OCTREE_OCTREEMESHCOLLISIONTRAVERSALNODE_INL_H 39 #define FCL_TRAVERSAL_OCTREE_OCTREEMESHCOLLISIONTRAVERSALNODE_INL_H 50 template <
typename BV,
typename NarrowPhaseSolver>
61 template <
typename BV,
typename NarrowPhaseSolver>
69 template <
typename BV,
typename NarrowPhaseSolver>
73 otsolver->OcTreeMeshIntersect(
74 model1, model2, tf1, tf2, this->request, *this->result);
78 template <
typename BV,
typename NarrowPhaseSolver>
81 const OcTree<typename BV::S>& model1,
bool BVTesting(int, int) const
BV test between b1 and b2.
Eigen::Transform< S, 3, Eigen::Isometry > Transform3
CollisionRequest< BV::S > request
request setting for collision
void leafTesting(int, int) const
Leaf test between node b1 and b2, if they are both leafs.
Parameters for performing collision request.
Algorithms for collision related with octree.
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)
const OcTreeSolver< NarrowPhaseSolver > * otsolver
OcTreeMeshCollisionTraversalNode()
A class describing the bounding hierarchy of a mesh model or a point cloud model (which is viewed as ...
CollisionResult< BV::S > * result
collision result kept during the traversal iteration
const BVHModel< BV > * model2
Traversal node for octree-mesh collision.
const OcTree< S > * model1