#include <GteMassSpringCurve.h>

Public Member Functions | |
| virtual Vector< N, Real > | ExternalAcceleration (int i, Real time, std::vector< Vector< N, Real >> const &position, std::vector< Vector< N, Real >> const &velocity) |
| Real const & | GetConstant (int i) const |
| Real const & | GetLength (int i) const |
| int | GetNumSprings () const |
| MassSpringCurve (int numParticles, Real step) | |
| void | SetConstant (int i, Real constant) |
| void | SetLength (int i, Real length) |
| virtual | ~MassSpringCurve () |
Public Member Functions inherited from gte::ParticleSystem< N, Real > | |
| Real const & | GetMass (int i) const |
| int | GetNumParticles () const |
| Vector< N, Real > const & | GetPosition (int i) const |
| Real | GetStep () const |
| Vector< N, Real > const & | GetVelocity (int i) const |
| ParticleSystem (int numParticles, Real step) | |
| void | SetMass (int i, Real mass) |
| void | SetPosition (int i, Vector< N, Real > const &position) |
| void | SetStep (Real step) |
| void | SetVelocity (int i, Vector< N, Real > const &velocity) |
| virtual void | Update (Real time) |
| virtual | ~ParticleSystem () |
Protected Member Functions | |
| virtual Vector< N, Real > | Acceleration (int i, Real time, std::vector< Vector< N, Real >> const &position, std::vector< Vector< N, Real >> const &velocity) |
Protected Attributes | |
| std::vector< Real > | mConstant |
| std::vector< Real > | mLength |
Protected Attributes inherited from gte::ParticleSystem< N, Real > | |
| Real | mHalfStep |
| std::vector< Real > | mInvMass |
| std::vector< Real > | mMass |
| int | mNumParticles |
| std::vector< Temporary > | mPAllTmp |
| std::vector< Vector< N, Real > > | mPosition |
| std::vector< Vector< N, Real > > | mPTmp |
| Real | mSixthStep |
| Real | mStep |
| std::vector< Temporary > | mVAllTmp |
| std::vector< Vector< N, Real > > | mVelocity |
| std::vector< Vector< N, Real > > | mVTmp |
Definition at line 16 of file GteMassSpringCurve.h.
|
virtual |
Definition at line 54 of file GteMassSpringCurve.h.
| gte::MassSpringCurve< N, Real >::MassSpringCurve | ( | int | numParticles, |
| Real | step | ||
| ) |
Definition at line 59 of file GteMassSpringCurve.h.
|
protectedvirtual |
Implements gte::ParticleSystem< N, Real >.
Definition at line 107 of file GteMassSpringCurve.h.
|
virtual |
Definition at line 100 of file GteMassSpringCurve.h.
|
inline |
Definition at line 88 of file GteMassSpringCurve.h.
|
inline |
Definition at line 94 of file GteMassSpringCurve.h.
|
inline |
Definition at line 70 of file GteMassSpringCurve.h.
|
inline |
Definition at line 76 of file GteMassSpringCurve.h.
|
inline |
Definition at line 82 of file GteMassSpringCurve.h.
|
protected |
Definition at line 49 of file GteMassSpringCurve.h.
|
protected |
Definition at line 49 of file GteMassSpringCurve.h.