|
virtual void | Setup () |
|
virtual void | Teardown () |
|
void | HandsAreUnique () |
|
void | HandsHaveFiveFingers () |
|
void | FingersHaveFourBones ([ValueSource(typeof(FrameValidator), "_fingers")] Finger.FingerType fingerType, [ValueSource(typeof(FrameValidator), "_bones")] Bone.BoneType boneType) |
|
void | BoneLength ([ValueSource(typeof(FrameValidator), "_fingers")] Finger.FingerType fingerType, [ValueSource(typeof(FrameValidator), "_bones")] Bone.BoneType boneType) |
|
void | JointsMatch ([ValueSource(typeof(FrameValidator), "_fingers")] Finger.FingerType fingerType, [ValueSource(typeof(FrameValidator), "_bones")] Bone.BoneType boneType) |
|
void | CenterIsBetweenJoints ([ValueSource(typeof(FrameValidator), "_fingers")] Finger.FingerType fingerType, [ValueSource(typeof(FrameValidator), "_bones")] Bone.BoneType boneType) |
|
void | DirectionMatchesJoints ([ValueSource(typeof(FrameValidator), "_fingers")] Finger.FingerType fingerType, [ValueSource(typeof(FrameValidator), "_bones")] Bone.BoneType boneType) |
|
void | RotationIsValid () |
|
Definition at line 14 of file FrameValidator.cs.
◆ assertVectorsEqual()
void Leap.Unity.Tests.FrameValidator.assertVectorsEqual |
( |
Vector |
a, |
|
|
Vector |
b, |
|
|
string |
vectorName = "Vector" |
|
) |
| |
|
protected |
◆ BoneLength()
void Leap.Unity.Tests.FrameValidator.BoneLength |
( |
[ValueSource(typeof(FrameValidator), "_fingers")] Finger.FingerType |
fingerType, |
|
|
[ValueSource(typeof(FrameValidator), "_bones")] Bone.BoneType |
boneType |
|
) |
| |
◆ CenterIsBetweenJoints()
void Leap.Unity.Tests.FrameValidator.CenterIsBetweenJoints |
( |
[ValueSource(typeof(FrameValidator), "_fingers")] Finger.FingerType |
fingerType, |
|
|
[ValueSource(typeof(FrameValidator), "_bones")] Bone.BoneType |
boneType |
|
) |
| |
◆ createFrame()
abstract Frame Leap.Unity.Tests.FrameValidator.createFrame |
( |
| ) |
|
|
protectedpure virtual |
◆ DirectionMatchesJoints()
void Leap.Unity.Tests.FrameValidator.DirectionMatchesJoints |
( |
[ValueSource(typeof(FrameValidator), "_fingers")] Finger.FingerType |
fingerType, |
|
|
[ValueSource(typeof(FrameValidator), "_bones")] Bone.BoneType |
boneType |
|
) |
| |
◆ FingersHaveFourBones()
void Leap.Unity.Tests.FrameValidator.FingersHaveFourBones |
( |
[ValueSource(typeof(FrameValidator), "_fingers")] Finger.FingerType |
fingerType, |
|
|
[ValueSource(typeof(FrameValidator), "_bones")] Bone.BoneType |
boneType |
|
) |
| |
◆ getBone()
◆ HandsAreUnique()
void Leap.Unity.Tests.FrameValidator.HandsAreUnique |
( |
| ) |
|
◆ HandsHaveFiveFingers()
void Leap.Unity.Tests.FrameValidator.HandsHaveFiveFingers |
( |
| ) |
|
◆ JointsMatch()
void Leap.Unity.Tests.FrameValidator.JointsMatch |
( |
[ValueSource(typeof(FrameValidator), "_fingers")] Finger.FingerType |
fingerType, |
|
|
[ValueSource(typeof(FrameValidator), "_bones")] Bone.BoneType |
boneType |
|
) |
| |
◆ RotationIsValid()
void Leap.Unity.Tests.FrameValidator.RotationIsValid |
( |
| ) |
|
◆ Setup()
virtual void Leap.Unity.Tests.FrameValidator.Setup |
( |
| ) |
|
|
virtual |
◆ Teardown()
virtual void Leap.Unity.Tests.FrameValidator.Teardown |
( |
| ) |
|
|
virtual |
◆ _bones
Initial value:= {
Bone.BoneType.TYPE_DISTAL,
Bone.BoneType.TYPE_INTERMEDIATE,
Bone.BoneType.TYPE_METACARPAL,
Bone.BoneType.TYPE_PROXIMAL
}
Definition at line 24 of file FrameValidator.cs.
◆ _fingers
Initial value:= {
Finger.FingerType.TYPE_INDEX,
Finger.FingerType.TYPE_MIDDLE,
Finger.FingerType.TYPE_PINKY,
Finger.FingerType.TYPE_RING,
Finger.FingerType.TYPE_THUMB
}
Definition at line 16 of file FrameValidator.cs.
◆ _frame
Frame Leap.Unity.Tests.FrameValidator._frame |
|
protected |
◆ TOLERANCE
const float Leap.Unity.Tests.FrameValidator.TOLERANCE = 0.0001f |
|
staticprotected |
The documentation for this class was generated from the following file: