The LeapPointableOrHandList category provides methods for getting objects from an NSArray containing LeapPointable, LeapFinger, or LeapHand objects based on their physical position within the Leap coordinate system. More...
Instance Methods | |
(NSArray *) | - extended |
Returns a new list containing those members of the current list that are extended. More... | |
(NSArray *) | - fingerType: |
Returns a new list containing those Pointable objects in the current list that are of the specified finger type. More... | |
(id) | - frontmost |
The member of the list that is farthest to the front within the standard Leap frame of reference (i.e has the smallest Z coordinate). More... | |
(id) | - leftmost |
The member of the list that is farthest to the left within the standard Leap frame of reference (i.e has the smallest X coordinate). More... | |
(id) | - rightmost |
The member of the list that is farthest to the right within the standard Leap frame of reference (i.e has the largest X coordinate). More... | |
The LeapPointableOrHandList category provides methods for getting objects from an NSArray containing LeapPointable, LeapFinger, or LeapHand objects based on their physical position within the Leap coordinate system.
- (NSArray *) extended |
Returns a new list containing those members of the current list that are extended.
This includes all tools and any fingers whose [LeapPointable isExtended] function is true. Unlike its C++ counterpart, this method does not modify the original NSArray.
- (NSArray *) fingerType: | (LeapFingerType) | type |
Returns a new list containing those Pointable objects in the current list that are of the specified finger type.
- (id) frontmost |
The member of the list that is farthest to the front within the standard Leap frame of reference (i.e has the smallest Z coordinate).
Returns nil if the NSArray is empty.
- (id) leftmost |
The member of the list that is farthest to the left within the standard Leap frame of reference (i.e has the smallest X coordinate).
Returns nil if the NSArray is empty.
- (id) rightmost |
The member of the list that is farthest to the right within the standard Leap frame of reference (i.e has the largest X coordinate).
Returns nil if the NSArray is empty.