9 #include "imstkFactory.h" 13 class CollisionDetectionAlgorithm;
42 static std::shared_ptr<CollisionDetectionAlgorithm>
makeCollisionDetection(
const std::string collisionTypeName);
55 #define IMSTK_REGISTER_COLLISION_DETECTION(objType) CDObjectRegistrar<objType> _imstk_registercd ## objType(#objType) Generic Factory class that can take objects with constructor parameters.
static std::shared_ptr< CollisionDetectionAlgorithm > makeCollisionDetection(const std::string collisionTypeName)
attempts to create a new CD algorithm
Base class for any geometrical representation.
static std::string getCDType(const Geometry &obj1, const Geometry &obj2)
Get the CD type from the types of objects colliding.
Manages and generates the CollisionDetectionAlgorithms.
Templated class that can add to the object factory with objects that will be generated via std::make_...