#include <Bone.h>


Public Member Functions | |
| Bone () | |
| ~Bone () | |
| void | calcMatrix (bool childBones=true, bool firstBone=true) |
| void | calcNodes (bool firstBone=true) |
| void | control (int controllerId, int motionId, float value) |
| float | read_control (int controllerId, int motionId) |
| void | setRestPosition (const XYZ &pt) |
| void | setRestDirection (const XYZ &pt) |
| void | setRestLength (float restLen) |
| void | setStrength (float strengthVal) |
| void | bindChild (Bone &boneObj_in) |
| void | bindParent (Bone &boneObj_in) |
| bool | hasParent () |
| void | transformBegin () |
| void | transformEnd () |
| void | transformReverseBegin () |
| void | transformReverseEnd () |
| ObjectController & | controller () |
| void | debugDraw (bool firstBone=true) |
| void | debugDrawNode () |
Public Attributes | |
| ObjectController | objController |
| std::vector< Bone * > | children |
| Bone * | parent |
| float | matrix [16] |
| XYZ | start_pt |
| XYZ | end_pt |
| XYZ | center |
| XYZ | restPosition |
| XYZ | restDirection |
| float | restLength |
| float | strength |
| bool | trans_init |
| Bone::Bone | ( | ) |
| Bone::~Bone | ( | ) |
| void Bone::calcMatrix | ( | bool | childBones = true, |
|
| bool | firstBone = true | |||
| ) |
| void Bone::calcNodes | ( | bool | firstBone = true |
) |

| void Bone::control | ( | int | controllerId, | |
| int | motionId, | |||
| float | value | |||
| ) | [virtual] |
Implements Controllable.
| float Bone::read_control | ( | int | controllerId, | |
| int | motionId | |||
| ) | [virtual] |
Reimplemented from Controllable.
| void Bone::setRestPosition | ( | const XYZ & | pt | ) | [inline] |
| void Bone::setRestDirection | ( | const XYZ & | pt | ) | [inline] |
| void Bone::setRestLength | ( | float | restLen | ) | [inline] |
| void Bone::setStrength | ( | float | strengthVal | ) | [inline] |
| void Bone::bindChild | ( | Bone & | boneObj_in | ) |
| void Bone::bindParent | ( | Bone & | boneObj_in | ) |

| bool Bone::hasParent | ( | ) |
| void Bone::transformBegin | ( | ) |

| void Bone::transformEnd | ( | ) |

| void Bone::transformReverseBegin | ( | ) |

| void Bone::transformReverseEnd | ( | ) |

| ObjectController & Bone::controller | ( | ) |
| void Bone::debugDraw | ( | bool | firstBone = true |
) |
| void Bone::debugDrawNode | ( | ) |
| std::vector<Bone *> Bone::children |
| float Bone::matrix[16] |
| float Bone::restLength |
| float Bone::strength |
| bool Bone::trans_init |
1.5.6