GUIDOLib
1.7.7
Guido Engine Internal Documentation
|
Used with rods and space fore functions. More...
Public Member Functions | |
GRSpring (const TYPE_TIMEPOSITION &vtp, const TYPE_DURATION &vdur, float spring, float propRender) | |
GRSpring (GRNotationElement *, GRVoice *, float spring, float propRender) | |
virtual | ~GRSpring () |
void | OnDraw (VGDevice &hdc) const |
bool | containsBar () const |
void | checkLocalCollisions () |
float | GetMaxDistance (GRSpring *nextspring) |
float | stretchWithForce (float newforce) |
bool | hasStaffAndType (const GRStaff *grstaff, const std::type_info &ti) |
float | set_const (float dc) |
float | recalcConstant () |
void | addElement (GRNotationElement *el, GRVoice *vce) |
bool | hasType (const std::type_info &ti) |
bool | hasGraceNote () |
void | setNoExtent () |
int | removeElement (GRNotationElement *el) |
int | setGRPositionX (float p_posx) |
void | setGRSpringID () |
float | getExtent () const |
void | setID (int _id) |
int | getID () const |
float | getForce () const |
float | getConstant () const |
virtual const GRNotationElement * | getFirstGRO () const |
virtual GuidoPos | getFirstGROPosition () |
virtual const GRNotationElement * | getNextGRO (GuidoPos &pos) const |
virtual float | apply_force (float df) |
virtual float | change_x (float dx) |
virtual float | change_force (float df) |
virtual float | change_const (float dc) |
virtual float | change_dur (const TYPE_DURATION &ndur) |
virtual float | setlength (float dx) |
virtual const TYPE_DURATION & | getTimePosition () const |
virtual const TYPE_DURATION & | getDuration () const |
int | operator< (const GRSpring &spr) const |
int | isCommonSpring (int numvoices) const |
float | setProportionalForce () |
void | print (std::ostream &out) const |
Static Public Member Functions | |
static float | defconst (const TYPE_DURATION &, float spring) |
static float | defconst (float dur, float spring) |
Public Attributes | |
bool | fHasDurElement |
int | fIsfrozen |
float | fPosx |
Protected Member Functions | |
float | calcconst (GRNotationElement *grn) |
Protected Attributes | |
TYPE_TIMEPOSITION | fTp |
TYPE_DURATION | fDur |
int | fId |
GRSpringCollider * | fSprcol |
float | fFuncpar |
float | fProportionalRendering |
Friends | |
class | GRSpaceForceFunction2 |
class | GRRod |
class | GRSystem |
Used with rods and space fore functions.
GRSpring::GRSpring | ( | const TYPE_TIMEPOSITION & | vtp, |
const TYPE_DURATION & | vdur, | ||
float | spring, | ||
float | propRender | ||
) |
GRSpring::GRSpring | ( | GRNotationElement * | , |
GRVoice * | , | ||
float | spring, | ||
float | propRender | ||
) |
|
virtual |
void GRSpring::addElement | ( | GRNotationElement * | el, |
GRVoice * | vce | ||
) |
|
virtual |
|
protected |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
void GRSpring::checkLocalCollisions | ( | ) |
bool GRSpring::containsBar | ( | ) | const |
|
static |
|
static |
|
inline |
|
inlinevirtual |
|
inline |
|
virtual |
|
virtual |
|
inline |
int GRSpring::getID | ( | ) | const |
float GRSpring::GetMaxDistance | ( | GRSpring * | nextspring | ) |
|
virtual |
|
inlinevirtual |
bool GRSpring::hasGraceNote | ( | ) |
bool GRSpring::hasStaffAndType | ( | const GRStaff * | grstaff, |
const std::type_info & | ti | ||
) |
bool GRSpring::hasType | ( | const std::type_info & | ti | ) |
int GRSpring::isCommonSpring | ( | int | numvoices | ) | const |
void GRSpring::OnDraw | ( | VGDevice & | hdc | ) | const |
int GRSpring::operator< | ( | const GRSpring & | spr | ) | const |
void GRSpring::print | ( | std::ostream & | out | ) | const |
float GRSpring::recalcConstant | ( | ) |
int GRSpring::removeElement | ( | GRNotationElement * | el | ) |
float GRSpring::set_const | ( | float | dc | ) |
int GRSpring::setGRPositionX | ( | float | p_posx | ) |
void GRSpring::setGRSpringID | ( | ) |
void GRSpring::setID | ( | int | _id | ) |
|
virtual |
void GRSpring::setNoExtent | ( | ) |
float GRSpring::setProportionalForce | ( | ) |
float GRSpring::stretchWithForce | ( | float | newforce | ) |
|
friend |
|
friend |
|
friend |
|
protected |
|
protected |
bool GRSpring::fHasDurElement |
|
protected |
int GRSpring::fIsfrozen |
float GRSpring::fPosx |
|
protected |
|
protected |
|
protected |