#include <Particle.h>
Inheritance diagram for ani::Particle:
Public Methods | |
Particle () | |
Particle (const Particle &p) | |
virtual | ~Particle () |
Particle & | operator= (const Particle &p) |
virtual void | copy (const Particle &p) |
virtual void | computeDerivative (const Particle ¤tState, const float ¤tTime) |
virtual void | normalize () |
virtual void | multiplyPhase (const Particle &a, float h) |
virtual void | multiplyPhase (float h) |
virtual void | addPhase (const Particle &a, const Particle &b) |
virtual void | addPhase (const Particle &a) |
void | setPosition (const gmtl::Vec3f &position) |
void | setVelocity (const gmtl::Vec3f &velocity) |
void | applyForce (const gmtl::Vec3f &force) |
virtual void | zeroForce () |
void | setMass (const float &kilograms) |
void | setVolume (gmtl::Vec3f vol) |
const gmtl::Vec3f & | position () const |
gmtl::Vec3f | linearVelocity () const |
gmtl::Vec3f | linearMomentum () const |
const gmtl::Vec3f & | accumulatedForce () const |
const float & | mass () const |
const gmtl::Vec3f & | volume () const |
Public Attributes | |
gmtl::Vec3f | mPosition |
gmtl::Vec3f | mLinearMomentum |
gmtl::Vec3f | mForceAccumulator |
float | mMass |
float | mInvMass |
gmtl::Vec3f | mVolume |
float | mDragCoef |
|
Definition at line 63 of file Particle.h. References mDragCoef, mForceAccumulator, mInvMass, mLinearMomentum, mMass, mPosition, and mVolume. |
|
Definition at line 72 of file Particle.h. References copy(). |
|
Definition at line 77 of file Particle.h. |
|
Definition at line 84 of file Particle.h. References copy(). |
|
Definition at line 92 of file Particle.h. References mDragCoef, mForceAccumulator, mInvMass, mLinearMomentum, mMass, mPosition, and mVolume. |
|
Definition at line 119 of file Particle.h. References linearVelocity(), mForceAccumulator, mLinearMomentum, and mPosition. |
|
Definition at line 130 of file Particle.h. |
|
Definition at line 136 of file Particle.h. References mLinearMomentum, and mPosition. |
|
Definition at line 144 of file Particle.h. References mLinearMomentum, and mPosition. |
|
Definition at line 152 of file Particle.h. References mLinearMomentum, and mPosition. |
|
Definition at line 160 of file Particle.h. References mLinearMomentum, and mPosition. |
|
Definition at line 168 of file Particle.h. |
|
Definition at line 169 of file Particle.h. References mLinearMomentum, and mMass. |
|
Definition at line 175 of file Particle.h. References mForceAccumulator. |
|
Definition at line 180 of file Particle.h. References mForceAccumulator. |
|
Definition at line 187 of file Particle.h. |
|
Definition at line 195 of file Particle.h. References mVolume. |
|
Definition at line 203 of file Particle.h. References mPosition. Referenced by setPosition(). |
|
Definition at line 206 of file Particle.h. References mInvMass, and mLinearMomentum. Referenced by computeDerivative(). |
|
Definition at line 211 of file Particle.h. References mLinearMomentum. |
|
Definition at line 217 of file Particle.h. References mForceAccumulator. |
|
Definition at line 218 of file Particle.h. References mMass. |
|
Definition at line 219 of file Particle.h. References mVolume. |
|
Definition at line 224 of file Particle.h. Referenced by addPhase(), computeDerivative(), copy(), multiplyPhase(), Particle(), position(), and setPosition(). |
|
Definition at line 225 of file Particle.h. Referenced by addPhase(), computeDerivative(), copy(), linearMomentum(), linearVelocity(), multiplyPhase(), Particle(), and setVelocity(). |
|
Definition at line 234 of file Particle.h. Referenced by accumulatedForce(), applyForce(), computeDerivative(), copy(), Particle(), and zeroForce(). |
|
Definition at line 237 of file Particle.h. Referenced by copy(), mass(), Particle(), setMass(), and setVelocity(). |
|
Definition at line 237 of file Particle.h. Referenced by copy(), linearVelocity(), Particle(), and setMass(). |
|
Definition at line 238 of file Particle.h. Referenced by copy(), Particle(), setVolume(), and volume(). |
|
Definition at line 241 of file Particle.h. |