Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

sheep::ContactHandler Class Reference

#include <contacthandler.h>

List of all members.

Public Member Functions

void Reset ()
void Insert (Contact &c)
void ResolveAll ()
RCTrackerGetRCTracker ()

Private Member Functions

void resolve_col_contact (Contact &c)

Private Attributes

ContactList m_col_contacts
RCTracker m_rc_tracker


Member Function Documentation

RCTracker & ContactHandler::GetRCTracker  )  [inline]
 

Definition at line 114 of file contacthandler.h.

Referenced by sheep::Subspace::find_contacts().

void ContactHandler::Insert Contact c  )  [inline]
 

Definition at line 86 of file contacthandler.h.

Referenced by sheep::Subspace::find_contacts().

void ContactHandler::Reset  )  [inline]
 

Definition at line 79 of file contacthandler.h.

void ContactHandler::resolve_col_contact Contact c  )  [private]
 

Definition at line 35 of file contacthandler.cpp.

References sheep::RigidBody::ApplyAngularImpulse(), sheep::RigidBody::ApplyLinearImpulse(), sheep::COLLISION_THRESHOLD, sheep::RigidObject::GetBody(), sheep::RigidBody::GetMass(), sheep::RigidBody::GetWorldInertiaTensor(), sheep::Matrix3::Inverse(), sheep::RigidBody::IsFrozen(), sheep::Contact::m_a, sheep::Contact::m_b, sheep::Contact::m_n, sheep::Contact::m_pa, sheep::Contact::m_pb, sheep::Contact::m_va, sheep::Contact::m_vb, sheep::Real, sheep::RESTITUTION_COEFFICIENT, sheep::RigidBody::TransformVectorToWorld(), and sheep::Contact::Update().

void ContactHandler::ResolveAll  )  [inline]
 

Definition at line 103 of file contacthandler.h.

Referenced by sheep::Subspace::Step().


Member Data Documentation

ContactList sheep::ContactHandler::m_col_contacts [private]
 

Definition at line 49 of file contacthandler.h.

RCTracker sheep::ContactHandler::m_rc_tracker [private]
 

Definition at line 51 of file contacthandler.h.


The documentation for this class was generated from the following files:
Generated on Tue May 11 01:31:55 2004 for toxic by doxygen 1.3.6