33 #ifndef DART_COLLISION_DART_DARTCOLLISIONDETECTOR_HPP_
34 #define DART_COLLISION_DART_DARTCOLLISIONDETECTOR_HPP_
42 class DARTCollisionObject;
49 static std::shared_ptr<DARTCollisionDetector>
create();
55 const std::string&
getType()
const override;
const CollisionOption & option
Collision option of DART.
Definition: FCLCollisionDetector.cpp:154
CollisionResult * result
Collision result of DART.
Definition: FCLCollisionDetector.cpp:157
Definition: CollisionDetector.hpp:56
virtual std::unique_ptr< CollisionGroup > createCollisionGroup()=0
Create a collision group.
Definition: CollisionGroup.hpp:51
Definition: CollisionObject.hpp:45
Definition: CollisionResult.hpp:52
Definition: DARTCollisionDetector.hpp:45
static std::shared_ptr< DARTCollisionDetector > create()
Definition: DARTCollisionDetector.cpp:70
static Registrar< DARTCollisionDetector > mRegistrar
Definition: DARTCollisionDetector.hpp:102
std::shared_ptr< CollisionDetector > cloneWithoutCollisionObjects() override
Create a clone of this CollisionDetector.
Definition: DARTCollisionDetector.cpp:77
std::unique_ptr< CollisionGroup > createCollisionGroup() override
Create a collision group.
Definition: DARTCollisionDetector.cpp:97
void refreshCollisionObject(CollisionObject *object) override
Update the collision geometry of a ShapeFrame.
Definition: DARTCollisionDetector.cpp:309
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:235
std::unique_ptr< CollisionObject > createCollisionObject(const dynamics::ShapeFrame *shapeFrame) override
Create CollisionObject.
Definition: DARTCollisionDetector.cpp:299
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:118
static const std::string & getStaticType()
Get collision detector type for this class.
Definition: DARTCollisionDetector.cpp:89
DARTCollisionDetector()
Constructor.
Definition: DARTCollisionDetector.cpp:260
const std::string & getType() const override
Return collision detection engine type as a std::string.
Definition: DARTCollisionDetector.cpp:83
Helper class to register a object creator function to the Singleton.
Definition: Factory.hpp:121
Definition: ShapeFrame.hpp:164
Definition: BulletCollisionDetector.cpp:63
Definition: CollisionOption.hpp:45
Definition: DistanceOption.hpp:45
Definition: DistanceResult.hpp:47