9 #include "imstkCollisionDetectionAlgorithm.h" 10 #include "imstkMacros.h" 11 #include "imstkSpatialHashTableSeparateChaining.h" 35 std::shared_ptr<Geometry> geomA,
36 std::shared_ptr<Geometry> geomB,
37 std::vector<CollisionElement>& elementsA,
38 std::vector<CollisionElement>& elementsB)
override;
Base class for all collision detection classes. CollisionDetection classes produce CollisionData betw...
Implementation of SpatialHashTable using separate chaining.
Computes if points lie in tetrahedrons using spatial hashing Generates tetra-point contact data...
SpatialHashTableSeparateChaining m_hashTableA
Spatial hash table.
SpatialHashTableSeparateChaining m_hashTableB
Spatial hash table.
void computeCollisionDataAB(std::shared_ptr< Geometry > geomA, std::shared_ptr< Geometry > geomB, std::vector< CollisionElement > &elementsA, std::vector< CollisionElement > &elementsB) override
Compute collision data for both sides simultaneously.