#include <Intersection.h>
|
virtual | ~ElementIntersector () |
|
virtual bool | canIntersect (core::CollisionElementIterator elem1, core::CollisionElementIterator elem2, const core::collision::Intersection *currentIntersection)=0 |
| Test if 2 elements can collide. Note that this can be conservative (i.e. return true even when no collision is present) More...
|
|
virtual int | beginIntersect (core::CollisionModel *model1, core::CollisionModel *model2, DetectionOutputVector *&contacts)=0 |
|
virtual int | intersect (core::CollisionElementIterator elem1, core::CollisionElementIterator elem2, DetectionOutputVector *contacts, const core::collision::Intersection *currentIntersection)=0 |
| Compute the intersection between 2 elements. Return the number of contacts written in the contacts vector. More...
|
|
virtual int | endIntersect (core::CollisionModel *model1, core::CollisionModel *model2, DetectionOutputVector *contacts)=0 |
| End intersection tests between two collision models. Return the number of contacts written in the contacts vector. More...
|
|
virtual std::string | name () const =0 |
|
virtual bool | canIntersect (core::CollisionElementIterator, core::CollisionElementIterator)=delete |
|
virtual int | intersect (core::CollisionElementIterator, core::CollisionElementIterator, DetectionOutputVector *)=delete |
|
◆ ~ElementIntersector()
virtual sofa::core::collision::ElementIntersector::~ElementIntersector |
( |
| ) |
|
|
inlinevirtual |
◆ beginIntersect()
◆ canIntersect() [1/2]
◆ canIntersect() [2/2]
◆ endIntersect()
◆ intersect() [1/2]
◆ intersect() [2/2]
◆ name()
virtual std::string sofa::core::collision::ElementIntersector::name |
( |
| ) |
const |
|
pure virtual |