#include <KIN_Chain.h>
Public Member Functions | |
| KIN_Chain () | |
| KIN_Chain (const KIN_Chain ©_from) | |
| ~KIN_Chain () | |
| int | getNbones () const |
| void | setNbones (int bones) |
| const KIN_Bone * | getBone (int index) const |
| void | updateBone (int index, float length, float *rot, float damp, const UT_Matrix4 &xform, const void *data) |
| void | setBoneRotate (int index, int axis, float r) |
| void | setBoneRotates (int index, float *r) |
| void | setConstraint (int index, float rest[3], float xrange[2], float yrange[2], float zrange[2], float damp[3], float roll[3]) |
| float | constrain (int index, int axis, float angle, float step) const |
| void | getEndPosition (UT_Vector3 &result) const |
| void | getBoneStates (UT_Matrix4 *xforms) const |
| float | getLength () const |
| int | solve (const char *type, const void *parms, KIN_Chain &solution) |
| void | copyFrom (const KIN_Chain &src) |
| void | copySubChain (const KIN_Chain &src, int from, int to) |
Static Public Member Functions | |
| static const UT_XformOrder & | getXformOrder () |
Definition at line 88 of file KIN_Chain.h.
| KIN_Chain::KIN_Chain | ( | ) |
| KIN_Chain::KIN_Chain | ( | const KIN_Chain & | copy_from | ) |
| KIN_Chain::~KIN_Chain | ( | ) |
| float KIN_Chain::constrain | ( | int | index, | |
| int | axis, | |||
| float | angle, | |||
| float | step | |||
| ) | const |
| void KIN_Chain::copyFrom | ( | const KIN_Chain & | src | ) |
| void KIN_Chain::copySubChain | ( | const KIN_Chain & | src, | |
| int | from, | |||
| int | to | |||
| ) |
| const KIN_Bone* KIN_Chain::getBone | ( | int | index | ) | const |
| void KIN_Chain::getBoneStates | ( | UT_Matrix4 * | xforms | ) | const |
| void KIN_Chain::getEndPosition | ( | UT_Vector3 & | result | ) | const |
| float KIN_Chain::getLength | ( | ) | const |
| int KIN_Chain::getNbones | ( | ) | const |
| static const UT_XformOrder& KIN_Chain::getXformOrder | ( | ) | [inline, static] |
Definition at line 96 of file KIN_Chain.h.
| void KIN_Chain::setBoneRotate | ( | int | index, | |
| int | axis, | |||
| float | r | |||
| ) |
| void KIN_Chain::setBoneRotates | ( | int | index, | |
| float * | r | |||
| ) |
| void KIN_Chain::setConstraint | ( | int | index, | |
| float | rest[3], | |||
| float | xrange[2], | |||
| float | yrange[2], | |||
| float | zrange[2], | |||
| float | damp[3], | |||
| float | roll[3] | |||
| ) |
| void KIN_Chain::setNbones | ( | int | bones | ) |
| int KIN_Chain::solve | ( | const char * | type, | |
| const void * | parms, | |||
| KIN_Chain & | solution | |||
| ) |
| void KIN_Chain::updateBone | ( | int | index, | |
| float | length, | |||
| float * | rot, | |||
| float | damp, | |||
| const UT_Matrix4 & | xform, | |||
| const void * | data | |||
| ) |
1.5.9