#include <DetectionOutput.h>
Abstract description of a set of contact point. More...
Abstract description of a set of contact point.
Public Member Functions | |
virtual void | clear ()=0 |
Clear the content of this vector. More... | |
virtual unsigned int | size () const =0 |
Current size (number of detected contacts. More... | |
bool | empty () const |
Test if the vector is empty. More... | |
virtual void | release () |
Delete this vector from memory once the contact pair is no longer active. More... | |
virtual type::Vec3 | getFirstPosition (unsigned idx)=0 |
Const iterator to iterate the detection pairs. More... | |
virtual type::Vec3 | getSecondPosition (unsigned idx)=0 |
Const iterator end to iterate the detection pairs. More... | |
Protected Member Functions | |
virtual | ~DetectionOutputVector () |
|
inlineprotectedvirtual |
|
pure virtual |
Clear the content of this vector.
Implemented in sofa::core::collision::TDetectionOutputVector< CM1, CM2 >.
|
inline |
Test if the vector is empty.
|
pure virtual |
Const iterator to iterate the detection pairs.
Implemented in sofa::core::collision::TDetectionOutputVector< CM1, CM2 >.
|
pure virtual |
Const iterator end to iterate the detection pairs.
Implemented in sofa::core::collision::TDetectionOutputVector< CM1, CM2 >.
|
inlinevirtual |
Delete this vector from memory once the contact pair is no longer active.
Current size (number of detected contacts.
Implemented in sofa::core::collision::TDetectionOutputVector< CM1, CM2 >.