Tanoda
Leap.Unity.Tests.TransformCopyIdentity Class Reference
Inheritance diagram for Leap.Unity.Tests.TransformCopyIdentity:
Leap.Unity.Tests.FrameValidator

Public Member Functions

void IdsAreSame ()
 
void AreBinaryEqual ()
 
- Public Member Functions inherited from Leap.Unity.Tests.FrameValidator
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 ()
 

Protected Member Functions

override Frame createFrame ()
 
- Protected Member Functions inherited from Leap.Unity.Tests.FrameValidator
abstract Frame createFrame ()
 
Bone getBone (Hand hand, Finger.FingerType fingerType, Bone.BoneType boneType)
 
void assertVectorsEqual (Vector a, Vector b, string vectorName="Vector")
 

Protected Attributes

Frame _originalFrame
 
- Protected Attributes inherited from Leap.Unity.Tests.FrameValidator
Frame _frame
 

Additional Inherited Members

- Static Protected Attributes inherited from Leap.Unity.Tests.FrameValidator
const float TOLERANCE = 0.0001f
 
static Finger.FingerType[] _fingers
 
static Bone.BoneType[] _bones
 

Detailed Description

Definition at line 17 of file TransformCopyTest.cs.

Member Function Documentation

◆ AreBinaryEqual()

void Leap.Unity.Tests.TransformCopyIdentity.AreBinaryEqual ( )

Definition at line 43 of file TransformCopyTest.cs.

◆ createFrame()

override Frame Leap.Unity.Tests.TransformCopyIdentity.createFrame ( )
protectedvirtual

Implements Leap.Unity.Tests.FrameValidator.

Definition at line 20 of file TransformCopyTest.cs.

◆ IdsAreSame()

void Leap.Unity.Tests.TransformCopyIdentity.IdsAreSame ( )

Definition at line 26 of file TransformCopyTest.cs.

Member Data Documentation

◆ _originalFrame

Frame Leap.Unity.Tests.TransformCopyIdentity._originalFrame
protected

Definition at line 18 of file TransformCopyTest.cs.


The documentation for this class was generated from the following file: