33 #ifndef DART_COLLISION_COLLISIONFILTER_HPP_
34 #define DART_COLLISION_COLLISIONFILTER_HPP_
89 std::unordered_set<const CollisionFilter*>
mFilters;
#define DART_DEPRECATED(version)
Definition: Deprecated.hpp:51
Definition: CollisionFilter.hpp:93
void addBodyNodePairToBlackList(const dynamics::BodyNode *bodyNode1, const dynamics::BodyNode *bodyNode2)
Add a BodyNode pair to the blacklist.
Definition: CollisionFilter.cpp:91
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:111
void removeAllBodyNodePairsFromBlackList()
Remove all the BodyNode pairs from the blacklist.
Definition: CollisionFilter.cpp:105
detail::UnorderedPairs< dynamics::BodyNode > mBodyNodeBlackList
List of pairs to be ignored in the collision detection.
Definition: CollisionFilter.hpp:119
void removeBodyNodePairFromBlackList(const dynamics::BodyNode *bodyNode1, const dynamics::BodyNode *bodyNode2)
Remove a BodyNode pair from the blacklist.
Definition: CollisionFilter.cpp:98
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:163
Definition: CollisionFilter.hpp:50
virtual ~CollisionFilter()
Destructor.
Definition: CollisionFilter.cpp:42
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:48
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:71
void addCollisionFilter(const CollisionFilter *filter)
Adds a collision filter to this CompositeCollisionFilter.
Definition: CollisionFilter.cpp:55
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:78
void removeAllCollisionFilters()
Removes all the collision filters from this CompositeCollisionFilter.
Definition: CollisionFilter.cpp:72
void removeCollisionFilter(const CollisionFilter *filter)
Removes a collision filter from this CompositeCollisionFilter.
Definition: CollisionFilter.cpp:65
std::unordered_set< const CollisionFilter * > mFilters
Collision filters.
Definition: CollisionFilter.hpp:89
Definition: UnorderedPairs.hpp:45
BodyNode class represents a single node of the skeleton.
Definition: BodyNode.hpp:79
::fcl::CollisionObject CollisionObject
Definition: BackwardCompatibility.hpp:161
Definition: BulletCollisionDetector.cpp:65