33 #ifndef DART_COLLISION_DART_DARTCOLLISIONDETECTOR_HPP_
34 #define DART_COLLISION_DART_DARTCOLLISIONDETECTOR_HPP_
42 class DARTCollisionObject;
49 static std::shared_ptr<DARTCollisionDetector>
create();
56 const std::string&
getType()
const override;
const CollisionOption & option
Collision option of DART.
Definition: FCLCollisionDetector.cpp:157
CollisionResult * result
Collision result of DART.
Definition: FCLCollisionDetector.cpp:160
Definition: CollisionDetector.hpp:58
virtual std::unique_ptr< CollisionGroup > createCollisionGroup()=0
Create a collision group.
Definition: CollisionGroup.hpp:53
Definition: CollisionObject.hpp:45
Definition: CollisionResult.hpp:52
Definition: DARTCollisionDetector.hpp:45
static std::shared_ptr< DARTCollisionDetector > create()
Definition: DARTCollisionDetector.cpp:77
static Registrar< DARTCollisionDetector > mRegistrar
Definition: DARTCollisionDetector.hpp:102
std::unique_ptr< CollisionGroup > createCollisionGroup() override
Create a collision group.
Definition: DARTCollisionDetector.cpp:103
void refreshCollisionObject(CollisionObject *object) override
Update the collision geometry of a ShapeFrame.
Definition: DARTCollisionDetector.cpp:314
double distance(CollisionGroup *group, const DistanceOption &option=DistanceOption(false, 0.0, nullptr), DistanceResult *result=nullptr) override
Get the minimum signed distance between the Shape pairs in the given CollisionGroup.
Definition: DARTCollisionDetector.cpp:241
std::unique_ptr< CollisionObject > createCollisionObject(const dynamics::ShapeFrame *shapeFrame) override
Create CollisionObject.
Definition: DARTCollisionDetector.cpp:304
bool collide(CollisionGroup *group, const CollisionOption &option=CollisionOption(false, 1u, nullptr), CollisionResult *result=nullptr) override
Perform collision check for a single group.
Definition: DARTCollisionDetector.cpp:124
static const std::string & getStaticType()
Get collision detector type for this class.
Definition: DARTCollisionDetector.cpp:96
DARTCollisionDetector()
Constructor.
Definition: DARTCollisionDetector.cpp:266
std::shared_ptr< CollisionDetector > cloneWithoutCollisionObjects() const override
Create a clone of this CollisionDetector.
Definition: DARTCollisionDetector.cpp:84
const std::string & getType() const override
Return collision detection engine type as a std::string.
Definition: DARTCollisionDetector.cpp:90
Helper class to register a object creator function to the Singleton.
Definition: Factory.hpp:125
Definition: ShapeFrame.hpp:192
Definition: BulletCollisionDetector.cpp:65
Definition: CollisionOption.hpp:45
Definition: DistanceOption.hpp:45
Definition: DistanceResult.hpp:47