33 #ifndef DART_COLLISION_COLLISIONFILTER_HPP_
34 #define DART_COLLISION_COLLISIONFILTER_HPP_
86 std::unordered_set<const CollisionFilter*>
mFilters;
#define DART_DEPRECATED(version)
Definition: Deprecated.hpp:51
Definition: CollisionFilter.hpp:90
void addBodyNodePairToBlackList(const dynamics::BodyNode *bodyNode1, const dynamics::BodyNode *bodyNode2)
Add a BodyNode pair to the blacklist.
Definition: CollisionFilter.cpp:85
bool ignoresCollision(const CollisionObject *object1, const CollisionObject *object2) const override
Returns true if the given two CollisionObjects should be checked by the collision detector,...
Definition: CollisionFilter.cpp:105
void removeAllBodyNodePairsFromBlackList()
Remove all the BodyNode pairs from the blacklist.
Definition: CollisionFilter.cpp:99
detail::UnorderedPairs< dynamics::BodyNode > mBodyNodeBlackList
List of pairs to be ignored in the collision detection.
Definition: CollisionFilter.hpp:117
void removeBodyNodePairFromBlackList(const dynamics::BodyNode *bodyNode1, const dynamics::BodyNode *bodyNode2)
Remove a BodyNode pair from the blacklist.
Definition: CollisionFilter.cpp:92
bool areAdjacentBodies(const dynamics::BodyNode *bodyNode1, const dynamics::BodyNode *bodyNode2) const
Returns true if the two BodyNodes are adjacent BodyNodes (i.e., the two BodyNodes are connected by a ...
Definition: CollisionFilter.cpp:153
Definition: CollisionFilter.hpp:50
bool needCollision(const CollisionObject *object1, const CollisionObject *object2) const
Returns true if the given two CollisionObjects should be checked by the collision detector,...
Definition: CollisionFilter.cpp:42
virtual bool ignoresCollision(const CollisionObject *object1, const CollisionObject *object2) const =0
Returns true if the given two CollisionObjects should be checked by the collision detector,...
Definition: CollisionObject.hpp:45
Definition: CollisionFilter.hpp:68
void addCollisionFilter(const CollisionFilter *filter)
Adds a collision filter to this CompositeCollisionFilter.
Definition: CollisionFilter.cpp:49
bool ignoresCollision(const CollisionObject *object1, const CollisionObject *object2) const override
Returns true if the given two CollisionObjects should be checked by the collision detector,...
Definition: CollisionFilter.cpp:72
void removeAllCollisionFilters()
Removes all the collision filters from this CompositeCollisionFilter.
Definition: CollisionFilter.cpp:66
void removeCollisionFilter(const CollisionFilter *filter)
Removes a collision filter from this CompositeCollisionFilter.
Definition: CollisionFilter.cpp:59
std::unordered_set< const CollisionFilter * > mFilters
Collision filters.
Definition: CollisionFilter.hpp:86
Definition: UnorderedPairs.hpp:45
BodyNode class represents a single node of the skeleton.
Definition: BodyNode.hpp:78
::fcl::CollisionObject CollisionObject
Definition: BackwardCompatibility.hpp:152
Definition: BulletCollisionDetector.cpp:63