35 int mParentJointIndex = -1;
52 int GetJointIndex(
const string_view &
inName)
const;
55 void CalculateParentJointIndices();
59 bool AreJointsCorrectlyOrdered()
const;
#define JPH_EXPORT
Definition Core.h:227
unsigned int uint
Definition Core.h:439
#define JPH_NAMESPACE_END
Definition Core.h:367
#define JPH_NAMESPACE_BEGIN
Definition Core.h:361
AllocateFunction Allocate
Definition Memory.cpp:59
std::vector< T, STLAllocator< T > > Array
Definition STLAllocator.h:81
std::basic_string< char, std::char_traits< char >, STLAllocator< char > > String
Definition STLAllocator.h:82
#define JPH_DECLARE_SERIALIZABLE_NON_VIRTUAL(linkage, class_name)
Definition SerializableObject.h:71
Definition Reference.h:101
Definition Reference.h:35
Helper class that either contains a valid result or an error.
Definition Result.h:15
Declare internal structure for a joint.
Definition Skeleton.h:26
String mName
Name of the joint.
Definition Skeleton.h:33
String mParentName
Name of parent joint.
Definition Skeleton.h:34
Resource that contains the joint hierarchy for a skeleton.
Definition Skeleton.h:18
int GetJointCount() const
Definition Skeleton.h:44
const JointVector & GetJoints() const
Definition Skeleton.h:42
Joint & GetJoint(int inJoint)
Definition Skeleton.h:46
JointVector & GetJoints()
Definition Skeleton.h:43
uint AddJoint(const string_view &inName, const string_view &inParentName=string_view())
Definition Skeleton.h:47
Array< Joint > JointVector
Definition Skeleton.h:38
uint AddJoint(const string_view &inName, int inParentIndex)
Definition Skeleton.h:48
const Joint & GetJoint(int inJoint) const
Definition Skeleton.h:45
Simple binary input stream.
Definition StreamIn.h:13
Simple binary output stream.
Definition StreamOut.h:13