API reference
API reference
Select your platform
No SDKs available
No versions available

FingersMetadata Class

This class contains a series of useful fingers-related data structures to be used for optimal calculations without relying in dictionaries.
Since we always assume the hand pose information to be sorted in the HAND_JOINT_IDS order, we can align multiple data structures that follow that convention.

Public Statics

Valid identifiers for the i-bone of a hand.
This collection contains the joints of each finger minus the tip in ascending order
This collection is used to convert from Finger id to the list indices of its joint in the HAND_JOINT_IDS list.
Array order following HAND_JOINT_IDS that indicates if the i joint can spread (rotate around Y).
Should be true for the root of the fingers but Pink and Thumb are special cases
Map any HandJointId to joint index of each finger, where the joint index starts at 0 (toward wrist) and increments for each joint toward the fingertip.
Map HandJointId to HandFinger

Static Member Functions

static JointFreedom [] DefaultFingersFreedom ( )
The index within HAND_JOINT_IDS for the given joint
Parameters
id
The HandJoint to check the id for
Returns
An index in HAND_JOINT_IDS or -1 if invalud
Did you find this page helpful?
Thumbs up icon
Thumbs down icon