Protected Attributes | |
T * | impl |
Public Member Functions | |
MemberElementIntersector (T *ptr) | |
bool | canIntersect (core::CollisionElementIterator elem1, core::CollisionElementIterator elem2)=delete |
Test if 2 elements can collide. Note that this can be conservative (i.e. return true even when no collision is present) More... | |
bool | canIntersect (core::CollisionElementIterator elem1, core::CollisionElementIterator elem2, const core::collision::Intersection *currentIntersection) override |
Test if 2 elements can collide. Note that this can be conservative (i.e. return true even when no collision is present) More... | |
int | beginIntersect (core::CollisionModel *model1, core::CollisionModel *model2, DetectionOutputVector *&contacts) override |
int | intersect (core::CollisionElementIterator elem1, core::CollisionElementIterator elem2, DetectionOutputVector *contacts)=delete |
Compute the intersection between 2 elements. More... | |
int | intersect (core::CollisionElementIterator elem1, core::CollisionElementIterator elem2, DetectionOutputVector *contacts, const core::collision::Intersection *currentIntersection) override |
Compute the intersection between 2 elements. Return the number of contacts written in the contacts vector. More... | |
std::string | name () const override |
int | endIntersect (core::CollisionModel *model1, core::CollisionModel *model2, DetectionOutputVector *contacts) override |
End intersection tests between two collision models. Return the number of contacts written in the contacts vector. More... | |
Public Member Functions inherited from sofa::core::collision::ElementIntersector | |
virtual | ~ElementIntersector () |
|
protected |
|
inline |
|
inlineoverridevirtual |
Begin intersection tests between two collision models. Return the number of contacts written in the contacts vector. If the given contacts vector is nullptr, then this method should allocate it.
Implements sofa::core::collision::ElementIntersector.
|
virtualdelete |
Test if 2 elements can collide. Note that this can be conservative (i.e. return true even when no collision is present)
Reimplemented from sofa::core::collision::ElementIntersector.
|
inlineoverridevirtual |
Test if 2 elements can collide. Note that this can be conservative (i.e. return true even when no collision is present)
Implements sofa::core::collision::ElementIntersector.
|
inlineoverridevirtual |
End intersection tests between two collision models. Return the number of contacts written in the contacts vector.
Implements sofa::core::collision::ElementIntersector.
|
virtualdelete |
Compute the intersection between 2 elements.
Reimplemented from sofa::core::collision::ElementIntersector.
|
inlineoverridevirtual |
Compute the intersection between 2 elements. Return the number of contacts written in the contacts vector.
Implements sofa::core::collision::ElementIntersector.
|
inlineoverridevirtual |
Implements sofa::core::collision::ElementIntersector.