PointToPointConstraint Class Reference

#include <rimPointToPointConstraint.h>

Inheritance diagram for PointToPointConstraint:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 PointToPointConstraint ()
virtual ~PointToPointConstraint ()
 destroy a point to point constraint.
virtual void setUpConstraint (Real dt)
 Set up the constraint so that it can be solved.
virtual void performIteration ()
 Do one iteration of the constraint.
virtual void cleanUpConstraint ()
 Clean up any waste created during constraint iterations.
PointToPointConstraintInstancecreateInstance (RigidObject *object1, const Vector3 &localPivot1, RigidObject *object2, const Vector3 &localPivot2)
PointToPointConstraintInstanceaddInstance (const PointToPointConstraintInstance &instance)
virtual const ConstraintTypegetType () const

Private Attributes

PointToPointConstraintInstanceconstraints
Size numConstraints
Size constraintArraySize

Static Private Attributes

static const Size DEFAULT_CONSTRAINT_ARRAY_SIZE = 16
static const ConstraintType constraintType = "Point To Point"
 The constraint type object that describes all instances of this class.


Constructor & Destructor Documentation

RIM_PHYSICS_NAMESPACE_START PointToPointConstraint::PointToPointConstraint (  ) 

PointToPointConstraint::~PointToPointConstraint (  )  [virtual]

destroy a point to point constraint.


Member Function Documentation

void PointToPointConstraint::setUpConstraint ( Real  dt  )  [virtual]

Set up the constraint so that it can be solved.

Implements Constraint.

void PointToPointConstraint::performIteration (  )  [virtual]

Do one iteration of the constraint.

Implements Constraint.

void PointToPointConstraint::cleanUpConstraint (  )  [virtual]

Clean up any waste created during constraint iterations.

Implements Constraint.

PointToPointConstraintInstance & PointToPointConstraint::createInstance ( RigidObject object1,
const Vector3 localPivot1,
RigidObject object2,
const Vector3 localPivot2 
)

PointToPointConstraintInstance & PointToPointConstraint::addInstance ( const PointToPointConstraintInstance instance  ) 

virtual const ConstraintType& PointToPointConstraint::getType (  )  const [inline, virtual]

Implements Constraint.


Member Data Documentation

PointToPointConstraintInstance* PointToPointConstraint::constraints [private]

Size PointToPointConstraint::numConstraints [private]

Size PointToPointConstraint::constraintArraySize [private]

const Size PointToPointConstraint::DEFAULT_CONSTRAINT_ARRAY_SIZE = 16 [static, private]

const ConstraintType PointToPointConstraint::constraintType = "Point To Point" [static, private]

The constraint type object that describes all instances of this class.


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