A bone. More...
#include <gelArmature.h>
Public Member Functions | |
GelBone () | |
Default constructor. | |
GelBone * | getParent () |
void | setParent (GelBone *par) |
void | addChild (GelBone *child) |
GelBone * | getChild (int index) |
void | setPos (Gel2dVec bpos) |
float | getAngle () |
void | setAngle (float bangle) |
float | getLength () |
void | setLength (float blength) |
void | setName (GelString strname) |
int | getPosMode () |
void | setPosMode (int mode) |
int | hasParent () |
int | hasChildren () |
void | drawBoneAbsolute () |
void | drawBoneRelative () |
A bone.
This bone class will be used with GelArmature to provide skeletal animation. You should never need to use this class directly.
gel::GelBone::GelBone | ( | ) |
Default constructor.
GelBone* gel::GelBone::getParent | ( | ) | [inline] |
void gel::GelBone::setParent | ( | GelBone * | par | ) | [inline] |
void gel::GelBone::addChild | ( | GelBone * | child | ) |
GelBone* gel::GelBone::getChild | ( | int | index | ) |
void gel::GelBone::setPos | ( | Gel2dVec | bpos | ) | [inline] |
float gel::GelBone::getAngle | ( | ) | [inline] |
void gel::GelBone::setAngle | ( | float | bangle | ) | [inline] |
float gel::GelBone::getLength | ( | ) | [inline] |
void gel::GelBone::setLength | ( | float | blength | ) | [inline] |
void gel::GelBone::setName | ( | GelString | strname | ) | [inline] |
int gel::GelBone::getPosMode | ( | ) | [inline] |
void gel::GelBone::setPosMode | ( | int | mode | ) | [inline] |
int gel::GelBone::hasParent | ( | ) |
int gel::GelBone::hasChildren | ( | ) |
void gel::GelBone::drawBoneAbsolute | ( | ) |
void gel::GelBone::drawBoneRelative | ( | ) |
API Documentation by Mark D. Procarione | Generated by |