igor::iJoint Class Reference

#include <iJoint.h>

Public Member Functions

void setBaseBone (iBone *bone)
 
iBonegetBaseBone () const
 
void addChildBone (iBone *bone)
 
void removeChildBone (iBone *bone)
 
std::vector< iBone * > getChildren () const
 
void setCustomData (const std::any &data)
 
std::any getCustomData () const
 

Friends

class iSkeleton
 

Detailed Description

joining bones togehter

Member Function Documentation

◆ addChildBone()

void igor::iJoint::addChildBone ( iBone bone)

adds cild bone to joint

◆ getBaseBone()

iBone * igor::iJoint::getBaseBone ( ) const
Returns
the base bone

◆ getChildren()

std::vector< iBone * > igor::iJoint::getChildren ( ) const
Returns
reference of child bones list

◆ getCustomData()

std::any igor::iJoint::getCustomData ( ) const
Returns
pointer to custom data

◆ removeChildBone()

void igor::iJoint::removeChildBone ( iBone bone)

removes child bone from joint

◆ setBaseBone()

void igor::iJoint::setBaseBone ( iBone bone)

sets base bone of this joint

Parameters
bonepointer to bone

◆ setCustomData()

void igor::iJoint::setCustomData ( const std::any &  data)

sets custom data

Parameters
datapointer to custom data

Friends And Related Function Documentation

◆ iSkeleton

friend class iSkeleton
friend

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