40 #ifndef _graphicsskeleton_cpp
41 #define _graphicsskeleton_cpp
43 #include "Graphics/skeleton.h"
44 #include "Graphics/bone.h"
68 this->ISD->GraphicsSkeleton = InternalSkeleton;
70 Ogre::Skeleton::BoneIterator BoneIt = this->ISD->GraphicsSkeleton->getBoneIterator();
71 while( BoneIt.hasMoreElements() )
73 Ogre::Bone* InternalBone = BoneIt.getNext();
106 return Bones.begin();
137 Bone* NewBone =
new Bone(
this,InternalBone);
138 Bones.push_back(NewBone);
144 return this->ISD->GraphicsSkeleton;
This class is used to store the internal structures needed by the Skeleton class. ...
ConstString & GetGroup() const
Gets the resource group this Skeleton belongs to.
~Skeleton()
Class destructor.
uint16_t UInt16
An 16-bit unsigned integer.
Bone * _CreateBoneWrapper(Ogre::Bone *InternalBone)
Creates a bone wrapper for a pre-made internal bone.
ConstString & GetName() const
Gets the Name of this Skeleton.
const String ConstString
A Datatype used to a series of imutable characters.
Ogre::SkeletonPtr _GetInternalSkeleton() const
Gets the internal Skeleton pointer.
This class encapsulates the bones contained in a skeleton used for animation.
UInt16 GetNumBones() const
Gets the number of bones contained in this skeleton.
The bulk of the engine components go in this namspace.
BoneIterator BoneBegin()
Gets an iterator to the first Bone.
BoneIterator BoneEnd()
Gets an iterator to one passed the last Bone.
Skeleton(Ogre::SkeletonPtr InternalSkeleton)
Internal constructor.