ConstraintSolverAdaptive Class Reference

#include <rimPhysicsConstraintSolverAdaptive.h>

Inheritance diagram for ConstraintSolverAdaptive:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 ConstraintSolverAdaptive ()
 Create a new empty default simple constraint solver.
virtual ~ConstraintSolverAdaptive ()
 Destroy this constraint solver.
virtual void solveConstraints (Real dt)
 Solve all constraints in this constraint solver.
virtual void addConstraint (Constraint *aConstraint)
 Add a constraint to this constraint solver.
virtual bool removeConstraint (Constraint *aConstraint)
 Remove a constraint from this constraint solver.
virtual bool containsConstraint (Constraint *aConstraint) const
 Return whether or not this constraint solver contains a constraint.
virtual void clearConstraints ()
 Remove all constraints from this constraint solver.
virtual int getNumberOfConstraints () const
 Get the number of constraints in this constraint solver.

Private Attributes

ArrayList< Constraint * > constraints


Constructor & Destructor Documentation

RIM_PHYSICS_NAMESPACE_START ConstraintSolverAdaptive::ConstraintSolverAdaptive (  ) 

Create a new empty default simple constraint solver.

ConstraintSolverAdaptive::~ConstraintSolverAdaptive (  )  [virtual]

Destroy this constraint solver.


Member Function Documentation

void ConstraintSolverAdaptive::solveConstraints ( Real  dt  )  [virtual]

Solve all constraints in this constraint solver.

Implements ConstraintSolver.

void ConstraintSolverAdaptive::addConstraint ( Constraint aConstraint  )  [virtual]

Add a constraint to this constraint solver.

Implements ConstraintSolver.

bool ConstraintSolverAdaptive::removeConstraint ( Constraint aConstraint  )  [virtual]

Remove a constraint from this constraint solver.

Implements ConstraintSolver.

bool ConstraintSolverAdaptive::containsConstraint ( Constraint aConstraint  )  const [virtual]

Return whether or not this constraint solver contains a constraint.

Implements ConstraintSolver.

void ConstraintSolverAdaptive::clearConstraints (  )  [virtual]

Remove all constraints from this constraint solver.

Implements ConstraintSolver.

int ConstraintSolverAdaptive::getNumberOfConstraints (  )  const [virtual]

Get the number of constraints in this constraint solver.

Implements ConstraintSolver.


Member Data Documentation

ArrayList<Constraint*> ConstraintSolverAdaptive::constraints [private]


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