#include <GteMassSpringSurface.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 & | GetConstantC (int r, int c) const |
| Real const & | GetConstantR (int r, int c) const |
| Real const & | GetLengthC (int r, int c) const |
| Real const & | GetLengthR (int r, int c) const |
| Real const & | GetMass (int r, int c) const |
| int | GetNumCols () const |
| int | GetNumRows () const |
| Vector< N, Real > const & | GetPosition (int r, int c) const |
| Vector< N, Real > const & | GetVelocity (int r, int c) const |
| MassSpringSurface (int numRows, int numCols, Real step) | |
| void | SetConstantC (int r, int c, Real constant) |
| void | SetConstantR (int r, int c, Real constant) |
| void | SetLengthC (int r, int c, Real length) |
| void | SetLengthR (int r, int c, Real length) |
| void | SetMass (int r, int c, Real mass) |
| void | SetPosition (int r, int c, Vector< N, Real > const &position) |
| void | SetVelocity (int r, int c, Vector< N, Real > const &velocity) |
| virtual | ~MassSpringSurface () |
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) |
| void | GetCoordinates (int i, int &r, int &c) const |
| int | GetIndex (int r, int c) const |
Protected Attributes | |
| std::vector< Real > | mConstantC |
| std::vector< Real > | mConstantR |
| std::vector< Real > | mLengthC |
| std::vector< Real > | mLengthR |
| int | mNumCols |
| int | mNumRows |
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 GteMassSpringSurface.h.
|
virtual |
Definition at line 83 of file GteMassSpringSurface.h.
| gte::MassSpringSurface< N, Real >::MassSpringSurface | ( | int | numRows, |
| int | numCols, | ||
| Real | step | ||
| ) |
Definition at line 88 of file GteMassSpringSurface.h.
|
protectedvirtual |
Implements gte::ParticleSystem< N, Real >.
Definition at line 213 of file GteMassSpringSurface.h.
|
virtual |
Definition at line 206 of file GteMassSpringSurface.h.
|
inline |
Definition at line 194 of file GteMassSpringSurface.h.
|
inline |
Definition at line 182 of file GteMassSpringSurface.h.
|
inlineprotected |
Definition at line 278 of file GteMassSpringSurface.h.
|
inlineprotected |
Definition at line 272 of file GteMassSpringSurface.h.
|
inline |
Definition at line 200 of file GteMassSpringSurface.h.
|
inline |
Definition at line 188 of file GteMassSpringSurface.h.
|
inline |
Definition at line 138 of file GteMassSpringSurface.h.
|
inline |
Definition at line 112 of file GteMassSpringSurface.h.
|
inline |
Definition at line 106 of file GteMassSpringSurface.h.
|
inline |
Definition at line 144 of file GteMassSpringSurface.h.
|
inline |
Definition at line 151 of file GteMassSpringSurface.h.
|
inline |
Definition at line 170 of file GteMassSpringSurface.h.
|
inline |
Definition at line 158 of file GteMassSpringSurface.h.
|
inline |
Definition at line 176 of file GteMassSpringSurface.h.
|
inline |
Definition at line 164 of file GteMassSpringSurface.h.
|
inline |
Definition at line 118 of file GteMassSpringSurface.h.
|
inline |
Definition at line 124 of file GteMassSpringSurface.h.
|
inline |
Definition at line 131 of file GteMassSpringSurface.h.
|
protected |
Definition at line 78 of file GteMassSpringSurface.h.
|
protected |
Definition at line 77 of file GteMassSpringSurface.h.
|
protected |
Definition at line 78 of file GteMassSpringSurface.h.
|
protected |
Definition at line 77 of file GteMassSpringSurface.h.
|
protected |
Definition at line 76 of file GteMassSpringSurface.h.
|
protected |
Definition at line 76 of file GteMassSpringSurface.h.