38 #ifndef FCL_TRAVERSAL_OCTREE_OCTREECOLLISIONTRAVERSALNODE_INL_H 39 #define FCL_TRAVERSAL_OCTREE_OCTREECOLLISIONTRAVERSALNODE_INL_H 41 #include "fcl/narrowphase/detail/traversal/octree/collision/octree_collision_traversal_node.h" 50 template <
typename NarrowPhaseSolver>
51 OcTreeCollisionTraversalNode<NarrowPhaseSolver>::OcTreeCollisionTraversalNode()
60 template <
typename NarrowPhaseSolver>
68 template <
typename NarrowPhaseSolver>
72 otsolver->OcTreeIntersect(
73 model1, model2, tf1, tf2, this->request, *this->result);
77 template <
typename NarrowPhaseSolver>
80 const OcTree<typename NarrowPhaseSolver::S>& model1,
81 const Transform3<typename NarrowPhaseSolver::S>& tf1,
82 const OcTree<typename NarrowPhaseSolver::S>& model2,
83 const Transform3<typename NarrowPhaseSolver::S>& tf2,
91 node.model1 = &model1;
92 node.model2 = &model2;
94 node.otsolver = otsolver;
bool BVTesting(int, int) const
BV test between b1 and b2.
Definition: octree_collision_traversal_node-inl.h:61
Main namespace.
Definition: broadphase_bruteforce-inl.h:45
collision result
Definition: collision_request.h:48
CollisionRequest< NarrowPhaseSolver::S > request
request setting for collision
Definition: collision_traversal_node_base.h:72
request to the collision algorithm
Definition: collision_request.h:52
Algorithms for collision related with octree.
Definition: octree_solver.h:59
CollisionResult< NarrowPhaseSolver::S > * result
collision result kept during the traversal iteration
Definition: collision_traversal_node_base.h:75
Traversal node for octree collision.
Definition: octree_collision_traversal_node.h:58
void leafTesting(int, int) const
Leaf test between node b1 and b2, if they are both leafs.
Definition: octree_collision_traversal_node-inl.h:69