#include <DetectionOutput.h>
Generic description of a set of contact point between two specific collision models. More...
Generic description of a set of contact point between two specific collision models.
Public Member Functions | |
~TDetectionOutputVector () override | |
void | clear () override |
Clear the content of this vector. More... | |
unsigned int | size () const override |
Current size (number of detected contacts) More... | |
virtual type::Vec3 | getFirstPosition (unsigned idx) override |
Const iterator to iterate the detection pairs. More... | |
virtual type::Vec3 | getSecondPosition (unsigned idx) override |
Const iterator end to iterate the detection pairs. More... | |
Public Member Functions inherited from sofa::core::collision::DetectionOutputVector | |
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... | |
Public Member Functions inherited from sofa::type::vector< DetectionOutput > | |
vector () | |
Basic constructor. More... | |
vector (Size n, const DetectionOutput &value) | |
Constructor. More... | |
vector (Size n) | |
Constructor. More... | |
vector (const std::vector< DetectionOutput, Alloc > &x) | |
Constructor. More... | |
vector (const std::initializer_list< DetectionOutput > &t) | |
Brace initalizer constructor. More... | |
vector (std::vector< DetectionOutput, Alloc > &&v) | |
Move constructor. More... | |
vector (typename vector< DetectionOutput >::const_iterator first, typename vector< DetectionOutput >::const_iterator last) | |
Constructor. More... | |
vector & | operator= (const std::vector< DetectionOutput, Alloc > &x) |
Copy operator. More... | |
vector & | operator= (std::vector< DetectionOutput, Alloc > &&v) |
Move assignment operator. More... | |
reference | operator[] (Size n) |
Read/write random access. More... | |
const_reference | operator[] (Size n) const |
Read-only random access. More... | |
std::ostream & | write (std::ostream &os) const |
SOFA_TYPE_API std::ostream & | write (std::ostream &os) const |
SOFA_TYPE_API std::ostream & | write (std::ostream &os) const |
Specialization for writing vectors of unsigned char. More... | |
SOFA_TYPE_API std::ostream & | write (std::ostream &os) const |
SOFA_TYPE_API std::ostream & | write (std::ostream &os) const |
std::istream & | read (std::istream &in) |
SOFA_TYPE_API std::istream & | read (std::istream &in) |
SOFA_TYPE_API std::istream & | read (std::istream &in) |
SOFA_TYPE_API std::istream & | read (std::istream &in) |
SOFA_TYPE_API std::istream & | read (std::istream &in) |
Specialization for reading vectors of int and unsigned int using "A-B" notation for all integers between A and B. More... | |
SOFA_TYPE_API std::istream & | read (std::istream &in) |
SOFA_TYPE_API std::istream & | read (std::istream &in) |
void | fill (const DetectionOutput &value) |
Sets every element to 'value'. More... | |
void | fastResize (Size n) |
Additional Inherited Members | |
Protected Member Functions inherited from sofa::core::collision::DetectionOutputVector | |
virtual | ~DetectionOutputVector () |
|
inlineoverride |
|
inlineoverridevirtual |
Clear the content of this vector.
Implements sofa::core::collision::DetectionOutputVector.
|
inlineoverridevirtual |
Const iterator to iterate the detection pairs.
Implements sofa::core::collision::DetectionOutputVector.
|
inlineoverridevirtual |
Const iterator end to iterate the detection pairs.
Implements sofa::core::collision::DetectionOutputVector.
|
inlineoverridevirtual |
Current size (number of detected contacts)
Implements sofa::core::collision::DetectionOutputVector.