src/definitions.py [380:390]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    @classmethod
    def parent_idx_vector(cls):
        def __recursive_add_children(bone, parent_index, result):
            result[cls.Idx.all[bone.end]] = parent_index
            bone_idx = cls.Idx.all[bone.end]

            for child in bone.children:
                __recursive_add_children(child, bone_idx, result)

        hierarchy = cls.Bone_set.build_hierarchy()
        parent_indices = np.zeros(len(cls.Idx.all), dtype=np.int32)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/definitions.py [499:509]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    @classmethod
    def parent_idx_vector(cls):
        def __recursive_add_children(bone, parent_index, result):
            result[cls.Idx.all[bone.end]] = parent_index
            bone_idx = cls.Idx.all[bone.end]

            for child in bone.children:
                __recursive_add_children(child, bone_idx, result)

        hierarchy = cls.Bone_set.build_hierarchy()
        parent_indices = np.zeros(len(cls.Idx.all), dtype=np.int32)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



