This is the internal implementation base class for Contact. More...
#include <ContactImpl.h>
Public Member Functions | |
ContactImpl (ContactSurfaceIndex surf1, ContactSurfaceIndex surf2, Contact::Condition condition=Contact::Unknown) | |
ContactImpl (ContactSurfaceIndex surf1, ContactSurfaceIndex surf2, const Transform &X_S1S2, Contact::Condition condition=Contact::Unknown) | |
void | setTransform (const Transform &X_S1S2) |
const Transform & | getTransform () const |
void | setCondition (Contact::Condition cond) |
Contact::Condition | getCondition () const |
void | setContactId (ContactId id) |
ContactId | getContactId () const |
virtual | ~ContactImpl () |
virtual ContactTypeId | getTypeId () const =0 |
Static Public Member Functions | |
static ContactTypeId | createNewContactTypeId () |
static ContactId | createNewContactId () |
Protected Attributes | |
int | m_referenceCount |
Contact::Condition | m_condition |
ContactId | m_id |
ContactSurfaceIndex | m_surf1 |
ContactSurfaceIndex | m_surf2 |
Transform | m_X_S1S2 |
Friends | |
class | Contact |
This is the internal implementation base class for Contact.
ContactImpl | ( | ContactSurfaceIndex | surf1, | |
ContactSurfaceIndex | surf2, | |||
Contact::Condition | condition = Contact::Unknown | |||
) | [inline] |
ContactImpl | ( | ContactSurfaceIndex | surf1, | |
ContactSurfaceIndex | surf2, | |||
const Transform & | X_S1S2, | |||
Contact::Condition | condition = Contact::Unknown | |||
) | [inline] |
virtual ~ContactImpl | ( | ) | [inline, virtual] |
References ContactImpl::m_referenceCount.
static ContactId createNewContactId | ( | ) | [inline, static] |
static ContactTypeId createNewContactTypeId | ( | ) | [inline, static] |
Contact::Condition getCondition | ( | ) | const [inline] |
References ContactImpl::m_condition.
ContactId getContactId | ( | ) | const [inline] |
References ContactImpl::m_id.
const Transform& getTransform | ( | ) | const [inline] |
References ContactImpl::m_X_S1S2.
virtual ContactTypeId getTypeId | ( | ) | const [pure virtual] |
Implemented in UntrackedContactImpl, BrokenContactImpl, CircularPointContactImpl, TriangleMeshContactImpl, and PointContactImpl.
void setCondition | ( | Contact::Condition | cond | ) | [inline] |
References ContactImpl::m_condition.
void setContactId | ( | ContactId | id | ) | [inline] |
References ContactImpl::m_id.
void setTransform | ( | const Transform & | X_S1S2 | ) | [inline] |
References ContactImpl::m_X_S1S2.
friend class Contact [friend] |
Contact::Condition m_condition [protected] |
Referenced by ContactImpl::getCondition(), and ContactImpl::setCondition().
ContactId m_id [protected] |
Referenced by ContactImpl::getContactId(), and ContactImpl::setContactId().
int m_referenceCount [mutable, protected] |
Referenced by ContactImpl::~ContactImpl().
ContactSurfaceIndex m_surf1 [protected] |
ContactSurfaceIndex m_surf2 [protected] |
Referenced by ContactImpl::getTransform(), and ContactImpl::setTransform().