18 #ifndef INCLUDED_STDSKELETONS 19 #define INCLUDED_STDSKELETONS 68 int GetBoneID(
const std::string& name)
const;
96 std::unique_ptr<Skeleton_impl>
m;
101 #endif // INCLUDED_STDSKELETONS int GetBoneID(const std::string &name) const
Returns the ID number of the standard-skeleton bone, which corresponds to the named nonstandard-skele...
Definition: StdSkeletons.cpp:69
static const Skeleton * FindSkeleton(const std::string &rootBoneName)
Tries to find a skeleton that matches the given root bone name.
Definition: StdSkeletons.cpp:64
~Skeleton()
Definition: StdSkeletons.cpp:62
std::unique_ptr< Skeleton_impl > m
Definition: StdSkeletons.h:96
int GetBoneCount() const
Returns the number of bones in the standard-skeleton which this current skeleton is mapped onto...
Definition: StdSkeletons.cpp:85
int GetRealBoneID(const std::string &name) const
Similar to GetBoneID, but only returns a value for the most important (first) nonstandard-skeleton bo...
Definition: StdSkeletons.cpp:77
Definition: StdSkeletons.cpp:54
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.
Definition: StdSkeletons.cpp:197
Skeleton()
Default constructor - don't use; use FindSkeleton instead.
Definition: StdSkeletons.cpp:61
Definition: StdSkeletons.h:50