#include <iBone.h>
a bone of a skeleton
- See also
- iSkeleton
◆ getBottomJoint()
iJoint * igor::iBone::getBottomJoint |
( |
| ) |
const |
- Returns
- bottom joint id (aka parenting joint)
◆ getCustomData()
std::any igor::iBone::getCustomData |
( |
| ) |
const |
◆ getLenght()
float64 igor::iBone::getLenght |
( |
| ) |
const |
- Returns
- the length of the bone
◆ getMatrix()
void igor::iBone::getMatrix |
( |
iaMatrixf & |
matrix | ) |
const |
returns matrix of bone
- Parameters
-
[out] | matrix | destination matrix to write the bone matrix in to |
◆ getTopJoint()
iJoint * igor::iBone::getTopJoint |
( |
| ) |
const |
- Returns
- top joint id (aka child joint)
◆ setCustomData()
void igor::iBone::setCustomData |
( |
const std::any & |
data | ) |
|
sets custom data
- Parameters
-
data | pointer to custom data |
◆ setLenght()
void igor::iBone::setLenght |
( |
float64 |
length | ) |
|
sets length of bone
- Parameters
-
length | the length of the bone |
◆ setMatrix()
void igor::iBone::setMatrix |
( |
const iaMatrixf & |
matrix | ) |
|
sets matrix of bone
- Parameters
-
◆ iJoint
◆ iSkeleton
The documentation for this class was generated from the following files:
- /home/maddin/dev/Igor/src/igor/igor/data/iBone.h
- /home/maddin/dev/Igor/src/igor/igor/data/iBone.cpp