CollisionConstraintInstance Class Reference

#include <rimCollisionConstraintInstance.h>

Inheritance diagram for CollisionConstraintInstance:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual RigidObjectgetObject (int index) const
virtual int getNumberOfObjects () const
const CollisionResultgetCollisionResult () const
RigidObjectgetObject1 () const
RigidObjectgetObject2 () const
const CollisionManifoldgetManifold () const
Hash getHashCode () const

Private Member Functions

 CollisionConstraintInstance ()
 CollisionConstraintInstance (const CollisionResult &result)
 ~CollisionConstraintInstance ()
void updateContacts (const CollisionResult &newResult)
void setContacts (const CollisionResult &newResult)

Private Attributes

RigidObjectobject1
RigidObjectobject2
SolverPointsolverPoints
int numSolverPoints
bool hasUpdatedContacts
const CollisionResultcollisionResult

Friends

class CollisionConstraint

Classes

class  SolverPoint


Constructor & Destructor Documentation

CollisionConstraintInstance::CollisionConstraintInstance (  )  [inline, private]

CollisionConstraintInstance::CollisionConstraintInstance ( const CollisionResult result  )  [inline, private]

CollisionConstraintInstance::~CollisionConstraintInstance (  )  [inline, private]


Member Function Documentation

virtual RigidObject* CollisionConstraintInstance::getObject ( int  index  )  const [inline, virtual]

Implements ConstraintInstance.

virtual int CollisionConstraintInstance::getNumberOfObjects (  )  const [inline, virtual]

Implements ConstraintInstance.

const CollisionResult& CollisionConstraintInstance::getCollisionResult (  )  const [inline]

RigidObject* CollisionConstraintInstance::getObject1 (  )  const [inline]

RigidObject* CollisionConstraintInstance::getObject2 (  )  const [inline]

const CollisionManifold& CollisionConstraintInstance::getManifold (  )  const [inline]

Hash CollisionConstraintInstance::getHashCode (  )  const [inline]

void CollisionConstraintInstance::updateContacts ( const CollisionResult newResult  )  [inline, private]

void CollisionConstraintInstance::setContacts ( const CollisionResult newResult  )  [inline, private]


Friends And Related Function Documentation

friend class CollisionConstraint [friend]


Member Data Documentation

RigidObject* CollisionConstraintInstance::object1 [private]

RigidObject* CollisionConstraintInstance::object2 [private]

SolverPoint* CollisionConstraintInstance::solverPoints [private]

int CollisionConstraintInstance::numSolverPoints [private]

bool CollisionConstraintInstance::hasUpdatedContacts [private]

const CollisionResult* CollisionConstraintInstance::collisionResult [private]


The documentation for this class was generated from the following file:
Generated on Tue Aug 26 00:03:18 2008 for Rim Physics by  doxygen 1.5.4