PhysicsSystem Class Reference

#include <rimPhysicsSystem.h>

Inheritance diagram for PhysicsSystem:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~PhysicsSystem ()
 Destroy a physics system.
virtual bool addRigidObject (RigidObject *newRigidObject)=0
 Add a rigid object to the system.
virtual bool removeRigidObject (RigidObject *newRigidObject)=0
 Remove a rigid object from the system.
virtual bool containsRigidObject (RigidObject *newRigidObject) const =0
 Return whether or not a rigid object is contained in the system.
virtual void clearRigidObjects ()=0
 Clear all rigid objects from the system.
virtual int getNumberOfRigidObjects () const =0
 Get the number of rigid objects in the system.
virtual bool addParticle (Particle *newParticle)=0
 Add a particle to this system.
virtual bool removeParticle (Particle *newParticle)=0
 Remove a particle from this system.
virtual bool containsParticle (Particle *newParticle) const =0
 Return whether or not a particle is contained in this system.
virtual void clearParticles ()=0
 Clear all particles from the system.
virtual int getNumberOfParticles () const =0
 Get the number of particles in this system.


Constructor & Destructor Documentation

virtual PhysicsSystem::~PhysicsSystem (  )  [inline, virtual]

Destroy a physics system.


Member Function Documentation

virtual bool PhysicsSystem::addRigidObject ( RigidObject newRigidObject  )  [pure virtual]

Add a rigid object to the system.

Implemented in CollisionWorldOctree, CollisionWorldSimple, CollisionWorldSpatialHash, GravityFieldSimple, DeactivatorStandard, and IntegratorEuler.

virtual bool PhysicsSystem::removeRigidObject ( RigidObject newRigidObject  )  [pure virtual]

Remove a rigid object from the system.

Implemented in CollisionWorldOctree, CollisionWorldSimple, CollisionWorldSpatialHash, GravityFieldSimple, DeactivatorStandard, and IntegratorEuler.

virtual bool PhysicsSystem::containsRigidObject ( RigidObject newRigidObject  )  const [pure virtual]

Return whether or not a rigid object is contained in the system.

Implemented in CollisionWorldOctree, CollisionWorldSimple, CollisionWorldSpatialHash, GravityFieldSimple, DeactivatorStandard, and IntegratorEuler.

virtual void PhysicsSystem::clearRigidObjects (  )  [pure virtual]

Clear all rigid objects from the system.

Implemented in CollisionWorldOctree, CollisionWorldSimple, CollisionWorldSpatialHash, GravityFieldSimple, DeactivatorStandard, and IntegratorEuler.

virtual int PhysicsSystem::getNumberOfRigidObjects (  )  const [pure virtual]

Get the number of rigid objects in the system.

Implemented in CollisionWorldOctree, CollisionWorldSimple, CollisionWorldSpatialHash, GravityFieldSimple, DeactivatorStandard, and IntegratorEuler.

virtual bool PhysicsSystem::addParticle ( Particle newParticle  )  [pure virtual]

Add a particle to this system.

Implemented in CollisionWorldOctree, CollisionWorldSimple, CollisionWorldSpatialHash, GravityFieldSimple, IntegratorEuler, and Deactivator.

virtual bool PhysicsSystem::removeParticle ( Particle newParticle  )  [pure virtual]

Remove a particle from this system.

Implemented in CollisionWorldOctree, CollisionWorldSimple, CollisionWorldSpatialHash, GravityFieldSimple, IntegratorEuler, and Deactivator.

virtual bool PhysicsSystem::containsParticle ( Particle newParticle  )  const [pure virtual]

Return whether or not a particle is contained in this system.

Implemented in CollisionWorldOctree, CollisionWorldSimple, CollisionWorldSpatialHash, GravityFieldSimple, IntegratorEuler, and Deactivator.

virtual void PhysicsSystem::clearParticles (  )  [pure virtual]

Clear all particles from the system.

Implemented in CollisionWorldOctree, CollisionWorldSimple, CollisionWorldSpatialHash, GravityFieldSimple, IntegratorEuler, and Deactivator.

virtual int PhysicsSystem::getNumberOfParticles (  )  const [pure virtual]

Get the number of particles in this system.

Implemented in CollisionWorldOctree, CollisionWorldSimple, CollisionWorldSpatialHash, GravityFieldSimple, IntegratorEuler, and Deactivator.


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