C# Class QualisysRealTime.Unity.Skeleton.IKApplier

Class for predicting missing joints position from a skeleton
Afficher le fichier Open project: qualisys/Qualisys-Unity-SDK Class Usage Examples

Méthodes publiques

Свойство Type Description
Interpolation bool

Méthodes publiques

Méthode Description
ApplyIK ( BipedSkeleton &skeleton ) : void

Checks for empty position in the skeleton, fills the from the last skeleton. Root and all of roots children MUST have set possition!

IKApplier ( BipedSkeleton firstSkel ) : System.Collections

Private Methods

Méthode Description
ConstraintsBeforeReturn ( TreeNode bone, bool rotational = true ) : bool

Checks wheter all bones is in a legal rotation and position and fixing there rotaion is that is the case

CopyFromLast ( Bone curr, Bone last ) : void

Copy the position and orientation from one bone to another

FK ( TreeNode bvn, Quaternion rotation ) : void

Rotate the first joint, and move the rest according to a Quaternion

JerkingTest ( TreeNode bones, bool pos = true, bool rot = true ) : bool

Test wheter a bone has moved unatural much since last frame

MissingJoint ( TreeNode missingJoint ) : void

If a joints is missing from the skeletontree, fill the joints with the previus frames joints and solve with ik if a joint is found, or return the previus frames joint pos offseted the new position

TraversFunc ( TreeNode bone ) : void

The function applied to each bone in the skeleton

Method Details

ApplyIK() public méthode

Checks for empty position in the skeleton, fills the from the last skeleton. Root and all of roots children MUST have set possition!
public ApplyIK ( BipedSkeleton &skeleton ) : void
skeleton BipedSkeleton The skeleton to be checked
Résultat void

IKApplier() public méthode

public IKApplier ( BipedSkeleton firstSkel ) : System.Collections
firstSkel BipedSkeleton
Résultat System.Collections

Property Details

Interpolation public_oe property

public bool Interpolation
Résultat bool