18 #ifndef INCLUDED_STDSKELETONS
19 #define INCLUDED_STDSKELETONS
68 int GetBoneID(
const std::string& name)
const;
96 std::auto_ptr<Skeleton_impl>
m;
101 #endif // INCLUDED_STDSKELETONS
static const Skeleton * FindSkeleton(const std::string &rootBoneName)
Tries to find a skeleton that matches the given root bone name.
std::auto_ptr< Skeleton_impl > m
int GetBoneCount() const
Returns the number of bones in the standard-skeleton which this current skeleton is mapped onto...
int GetRealBoneID(const std::string &name) const
Similar to GetBoneID, but only returns a value for the most important (first) nonstandard-skeleton bo...
static void LoadSkeletonDataFromXml(const char *xmlData, size_t xmlLength, std::string &xmlErrors)
Initialises the global state with skeleton data loaded from the given XML data.
Skeleton()
Default constructor - don't use; use FindSkeleton instead.
int GetBoneID(const std::string &name) const
Returns the ID number of the standard-skeleton bone, which corresponds to the named nonstandard-skele...