|
|
| JointChain (unsigned short numberOfJoints) |
| | Constructor.
|
| |
|
| JointChain (const JointChain &rhs) |
| | Copy constructor.
|
| |
|
| ~JointChain () |
| | Destructor.
|
| |
|
JointChain & | operator= (const JointChain &ptr) |
| | Assign operator.
|
| |
| const std::string & | name () const |
| | Gets the jointChain name. More...
|
| |
| void | setName (const std::string &name) |
| | Sets the jointChain name. More...
|
| |
| const std::string & | fullName () const |
| | Gets the jointChain full name. More...
|
| |
| void | setFullName (const std::string &fullName) |
| | Sets the jointChain full name. More...
|
| |
| unsigned short | id () const |
| | Gets the jointChain id. More...
|
| |
| void | setId (unsigned short id) |
| | Sets the jointChain id. More...
|
| |
| Joint & | joint (unsigned short i) |
| | Gets a joint. More...
|
| |
| const Joint & | joint (unsigned short i) const |
| | Gets a joint. More...
|
| |
| unsigned short | jointId (unsigned short i) const |
| | Gets the id in skeleton of the joint at index i. More...
|
| |
|
const std::vector< unsigned short > & | ikJointIds () const |
| | Gets the vector of joint ids in skeleton which are available for IK solvers.
|
| |
|
const std::vector< unsigned short > & | skeletalJointIds () const |
| | Gets the vector of joint ids in skeleton between start and end (both included)
|
| |
| const BindData & | bindData (unsigned short i) const |
| | Gets the bind data of the joint at index i. More...
|
| |
| void | setJoint (const Joint &joint, unsigned short i) |
| | Sets the joint at index i. More...
|
| |
| void | setJointId (unsigned short id, unsigned short i) |
| | Sets the joint at index i. More...
|
| |
| void | setIkJointIds (std::vector< unsigned short > ikIds) |
| | Sets the joint ids vector. More...
|
| |
| unsigned short | numJoints () const |
| | Gets the number of joints. More...
|
| |
| unsigned short | numIkJoints () const |
| | Gets the number of joints available for IK solvers. More...
|
| |
| unsigned short | numSkeletalJointIds () const |
| | Gets the number of joints in the skeleton between start and end (both included) More...
|
| |
| const std::vector< unsigned short > & | jointIds () const |
| | Gets the joint ids in skeleton. More...
|
| |
| const JointChain * | parent () const |
| | Gets the parent joint chain. More...
|
| |
|
void | setParent (JointChain &parent) |
| | Refresh pointer to the parent joint chain.
|
| |
| const JointPtr | start () const |
| | Gets the start joint. More...
|
| |
|
void | setStart () |
| | Refresh pointer to the start joint.
|
| |
| const JointPtr | end () const |
| | Gets the end joint. More...
|
| |
|
void | setEnd () |
| | Refresh pointer to the end joint.
|
| |
|
bool | isConnectedToParent () const |
| | Gets if this chain is directly connected to parent joint chain.
|
| |
| void | setIsConnectedToParent (bool isConnected) |
| | Sets if this chain is directly connected to parent joint chain. More...
|
| |
|
bool | isRoot () const |
| | Gets if this chain is root.
|
| |
| void | setIsRoot (bool isRoot) |
| | Sets if this chain is root. More...
|
| |
|
bool | isSpine () const |
| | Gets if this chain is a spine.
|
| |
| void | setIsSpine (bool isSpine) |
| | Sets if this chain is spine. More...
|
| |
|
bool | isLimb () const |
| | Gets if this chain is a limb.
|
| |
| void | setIsLimb (bool isLimb) |
| | Sets if this chain is limb. More...
|
| |
|
bool | isEffector () const |
| | Gets if this chain is a effector.
|
| |
| void | setIsEffector (bool isEffector) |
| | Sets if this chain is effector. More...
|
| |
|
bool | isCenter () const |
| | Gets if this chain is centered.
|
| |
| void | setIsCenter (bool isCenter) |
| | Sets if this chain is centered. More...
|
| |
|
bool | forceUseFabrik () const |
| | Gets if this chain computes forced fabrik.
|
| |
| void | setForceUseFabrik (bool useFabrik) |
| | Sets if this chain computes forced fabrik. More...
|
| |
|
bool | forceOrientEnd () const |
| | Gets if this chain orients the end joint after IK solver.
|
| |
| void | setForceOrientEnd (bool orientEnd) |
| | Sets if this chain orients the end joint after IK solver. More...
|
| |
|
bool | hasFootTip () const |
| | Gets if this chain contains foot tip.
|
| |
| void | setHasFootIk (bool hasFootIk) |
| | Sets if this chain contains foot tip. More...
|
| |
|
bool | hasFootIk () const |
| | Gets if this chain contains foot ik.
|
| |
| void | setHasFootTip (bool hasFoot) |
| | Sets if this chain contains foot ik. More...
|
| |
|
bool | hasPelvis () const |
| | Gets if this chain contains pelvis.
|
| |
| void | setHasPelvis (bool hasPelvis) |
| | Sets if this chain contains pelvis. More...
|
| |
|
bool | hasPoleVector () const |
| | Gets if this chain has pole vector.
|
| |
| void | setHasPoleVector (bool hasPoleVector) |
| | Sets if this chain has pole vector. More...
|
| |
|
AtomsCore::Vector3 | poleVector () const |
| | Gets this chain pole vector.
|
| |
| void | setPoleVector (AtomsCore::Vector3 poleVector) |
| | Sets this chain pole vector. More...
|
| |
|
unsigned short | footTip () const |
| | Gets the footTip.
|
| |
| void | setFootTip (unsigned short footTip) |
| | Sets the footTip. More...
|
| |
|
unsigned short | footIk () const |
| | Gets the foot ik.
|
| |
| void | setFootIk (unsigned short footIk) |
| | Sets the foot ik. More...
|
| |
|
unsigned short | pelvisId () const |
| | Gets the pelvis id.
|
| |
| void | setPelvisId (unsigned short pelvisId) |
| | Sets the pelvis id. More...
|
| |
|
void | computeWorldBindData (const AtomsCore::Skeleton &skeleton, const AtomsCore::Poser &poser) |
| | Computes the world bind data of every joint in chain.
|
| |
|
double | length () const |
| | Gets length of the chain.
|
| |
|
void | setLength (double len) |
| | Set length of the chain.
|
| |
|
void | computeLength () |
| | Computes the length of the chain.
|
| |
|
AtomsCore::Vector3 | start2endBindVector () const |
| | Gets distance vector from start to end in bind pose.
|
| |
|
double | start2endBindDistance () const |
| | Gets distance from start to end in bind pose.
|
| |
|
void | getWorldBindData (const AtomsCore::Poser &poser, const unsigned int jointId, AtomsCore::Matrix &matrix, AtomsCore::Vector3 &scale, AtomsCore::Vector3 &shear, AtomsCore::Euler &euler, AtomsCore::Vector3 &pos) const |
| | Extracts the world bind data of the given joint.
|
| |
|
void | computeSkeletalJointIds (const AtomsCore::Skeleton &skeleton) |
| | Sets the skeletal joint ids vector navigating on the skeleton.
|
| |
|
void | setParentSpine (unsigned short spineJointId, const AtomsCore::Vector3 &planeNormal, double baseSize) |
| | Set parent spine information.
|
| |
|
const AtomsCore::Vector3 & | spinePlaneNormal () const |
| | Get spine plane normal.
|
| |
|
const unsigned int | spineJointId () const |
| | Get spine joint id.
|
| |
|
const double | spineBaseSize () const |
| | Get spine joint id.
|
| |