Struct LEAP_DIGIT

struct LEAP_DIGIT

Describes the digit of a hand.

Digits are members of the LEAP_HAND struct.

Since

3.0.0

Public Members

int32_t finger_id

The Leap identifier of this finger.

Since

3.0.0

LEAP_BONE bones[4]

All the bones of a digit as an iterable collection.

Since

3.0.0

LEAP_BONE metacarpal

The finger bone wholly inside the hand.

For thumbs, this bone is set to have zero length and width, an identity basis matrix, and its joint positions are equal. Note that this is anatomically incorrect; in anatomical terms, the intermediate phalange is absent in a real thumb, rather than the metacarpal bone. In the Ultraleap Tracking model, however, we use a “zero” metacarpal bone instead for ease of programming.

Since

3.0.0

LEAP_BONE proximal

The phalange extending from the knuckle.

Since

3.0.0

LEAP_BONE intermediate

The bone between the proximal phalange and the distal phalange.

Since

3.0.0

LEAP_BONE distal

The distal phalange terminating at the finger tip.

Since

3.0.0

uint32_t is_extended

Reports whether the finger is more or less straight.

Since

3.0.0