19 #ifndef OSGANIMATION_BONE
20 #define OSGANIMATION_BONE 1
22 #include <osg/MatrixTransform>
23 #include <osgAnimation/Export>
37 Bone(
const std::string& name =
"");
39 void setDefaultUpdateCallback(
const std::string& name =
"");
41 Bone* getBoneParent();
42 const Bone* getBoneParent()
const;
59 typedef std::map<std::string, osg::ref_ptr<Bone> >
BoneMap;
#define OSGANIMATION_EXPORT
const osg::Matrix & getMatrixInBoneSpace() const
void setMatrixInSkeletonSpace(const osg::Matrix &matrix)
#define META_Node(library, name)
const osg::Matrix & getInvBindMatrixInSkeletonSpace() const
std::map< std::string, osg::ref_ptr< Bone > > BoneMap
void setInvBindMatrixInSkeletonSpace(const osg::Matrix &matrix)
const osg::Matrix & getMatrixInSkeletonSpace() const
osg::Matrix _boneInSkeletonSpace
osg::Matrix _invBindInSkeletonSpace