GUIDOLib
1.7.7
Guido Engine Internal Documentation
|
Used with springs and space-force functions. More...
Public Member Functions | |
GRRod (const GRRod &rod) | |
GRRod (float inLength, int inSpring1, int inSpring2, float aOptForce) | |
GRRod (const GRNotationElement *gr1, const GRNotationElement *gr2, int lastspringid, float aOptForce) | |
GRRod (const GRNotationElement *gr1, const GRNotationElement *gr2, int lastspringid, float spacedistance, float aOptForce) | |
virtual | ~GRRod () |
int | resetForce (const GRRod &rd) |
int | getSpr1 () const |
int | getSpr2 () const |
bool | getIsSpaceRod () const |
void | setIsSpaceRod (bool flag) |
float | getLength () const |
void | setLength (float in) |
float | stretchsprings (float inForce, SpringVector *sprvect) |
float | calclength (float inForce, SpringVector *sprvect) |
float | calcforce (SpringVector *sprvect) |
int | spansOne () const |
void | setSpringIDs (int id1, int id2) |
int | operator< (const GRRod &r2) const |
Protected Attributes | |
GRStaff * | mGrStaff |
float | optForce |
float | mForce |
int | mSpr1 |
int | mSpr2 |
Friends | |
class | GRSystem |
class | GRStaff |
class | GRVoice |
Used with springs and space-force functions.
GRRod::GRRod | ( | const GRRod & | rod | ) |
GRRod::GRRod | ( | float | inLength, |
int | inSpring1, | ||
int | inSpring2, | ||
float | aOptForce | ||
) |
GRRod::GRRod | ( | const GRNotationElement * | gr1, |
const GRNotationElement * | gr2, | ||
int | lastspringid, | ||
float | aOptForce | ||
) |
GRRod::GRRod | ( | const GRNotationElement * | gr1, |
const GRNotationElement * | gr2, | ||
int | lastspringid, | ||
float | spacedistance, | ||
float | aOptForce | ||
) |
|
inlinevirtual |
float GRRod::calcforce | ( | SpringVector * | sprvect | ) |
float GRRod::calclength | ( | float | inForce, |
SpringVector * | sprvect | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
int GRRod::operator< | ( | const GRRod & | r2 | ) | const |
int GRRod::resetForce | ( | const GRRod & | rd | ) |
|
inline |
|
inline |
|
inline |
|
inline |
float GRRod::stretchsprings | ( | float | inForce, |
SpringVector * | sprvect | ||
) |
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |