SOFA API  cba138a4
Open source framework for multi-physics simuation
sofa::core::collision::DetectionOutputVector Class Referenceabstract

#include <DetectionOutput.h>

Abstract description of a set of contact point. More...

Inheritance diagram for sofa::core::collision::DetectionOutputVector:

Detailed Description

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...
 

Protected Member Functions

virtual ~DetectionOutputVector ()
 

Constructor details

virtual sofa::core::collision::DetectionOutputVector::~DetectionOutputVector ( )
inlineprotectedvirtual

Function details

virtual void sofa::core::collision::DetectionOutputVector::clear ( )
pure virtual

Clear the content of this vector.

Implemented in sofa::core::collision::TDetectionOutputVector< CM1, CM2 >.

bool sofa::core::collision::DetectionOutputVector::empty ( ) const
inline

Test if the vector is empty.

virtual void sofa::core::collision::DetectionOutputVector::release ( )
inlinevirtual

Delete this vector from memory once the contact pair is no longer active.

virtual unsigned int sofa::core::collision::DetectionOutputVector::size ( ) const
pure virtual

Current size (number of detected contacts.

Implemented in sofa::core::collision::TDetectionOutputVector< CM1, CM2 >.