igor::iBone Class Reference

#include <iBone.h>

Public Member Functions

void setMatrix (const iaMatrixf &matrix)
 
void getMatrix (iaMatrixf &matrix) const
 
void setLenght (float64 length)
 
float64 getLenght () const
 
iJointgetTopJoint () const
 
iJointgetBottomJoint () const
 
void setCustomData (const std::any &data)
 
std::any getCustomData () const
 

Friends

class iSkeleton
 
class iJoint
 

Detailed Description

a bone of a skeleton

See also
iSkeleton

Member Function Documentation

◆ getBottomJoint()

iJoint * igor::iBone::getBottomJoint ( ) const
Returns
bottom joint id (aka parenting joint)

◆ getCustomData()

std::any igor::iBone::getCustomData ( ) const
Returns
custom data

◆ 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]matrixdestination 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
datapointer to custom data

◆ setLenght()

void igor::iBone::setLenght ( float64  length)

sets length of bone

Parameters
lengththe length of the bone

◆ setMatrix()

void igor::iBone::setMatrix ( const iaMatrixf matrix)

sets matrix of bone

Parameters
matrixthe new matrix

Friends And Related Function Documentation

◆ iJoint

friend class iJoint
friend

◆ iSkeleton

friend class iSkeleton
friend

The documentation for this class was generated from the following files: