#include <Leap.h>
The FingerList class represents a list of Finger objects.
Get a FingerList object by calling Frame::fingers().
- Since
- 1.0
Definition at line 3622 of file Leap.h.
Constructs an empty list of fingers.
- Since
- 1.0
def Leap.FingerList.__init__ |
( |
|
self | ) |
|
def Leap.FingerList.__getitem__ |
( |
|
self, |
|
|
|
index |
|
) |
| |
def Leap.FingerList.__iter__ |
( |
|
self | ) |
|
def Leap.FingerList.__len__ |
( |
|
self | ) |
|
def Leap.FingerList.append |
( |
|
self, |
|
|
|
other |
|
) |
| |
The C++ iterator set to the beginning of this FingerList.
- Since
- 1.0
Returns the number of fingers in this list.
- Returns
- The number of fingers in this list.
- Since
- 1.0
The C++ iterator set to the end of this FingerList.
- Since
- 1.0
def Leap.FingerList.extended |
( |
|
self | ) |
|
Returns a new list containing those fingers in the current list that are extended.
- Returns
- The list of extended fingers from the current list.
- Since
- 2.0
def Leap.FingerList.finger_type |
( |
|
self, |
|
|
|
type |
|
) |
| |
Returns a list containing fingers from the current list of a given finger type by modifying the existing list.
- Returns
- The list of matching fingers from the current list.
- Since
- 2.0
The member of the list that is farthest to the front within the standard Leap Motion frame of reference (i.e has the smallest Z coordinate).
- Returns
- The frontmost finger, or invalid if list is empty.
- Since
- 1.0
Reports whether the list is empty.
- Returns
- True, if the list has no members.
- Since
- 1.0
The member of the list that is farthest to the left within the standard Leap Motion frame of reference (i.e has the smallest X coordinate).
- Returns
- The leftmost finger, or invalid if list is empty.
- Since
- 1.0
Access a list member by its position in the list.
- Parameters
-
index | The zero-based list position index. |
- Returns
- The Finger object at the specified index.
- Since
- 1.0
The member of the list that is farthest to the right within the standard Leap Motion frame of reference (i.e has the largest X coordinate).
- Returns
- The rightmost finger, or invalid if list is empty.
- Since
- 1.0
Leap.FingerList.__getattr__ = lambdaself,name:_swig_getattr(self, FingerList, name) |
|
staticprivate |
Leap.FingerList.__setattr__ = lambdaself,name,value:_swig_setattr(self, FingerList, name, value) |
|
staticprivate |
Leap.FingerList.__swig_destroy__ = LeapPython.delete_FingerList |
|
staticprivate |
dictionary Leap.FingerList.__swig_getmethods__ = {} |
|
staticprivate |
dictionary Leap.FingerList.__swig_setmethods__ = {} |
|
staticprivate |
Leap.FingerList.frontmost = _swig_property(LeapPython.FingerList_frontmost_get) |
|
static |
Leap.FingerList.is_empty = _swig_property(LeapPython.FingerList_is_empty_get) |
|
static |
Leap.FingerList.leftmost = _swig_property(LeapPython.FingerList_leftmost_get) |
|
static |
Leap.FingerList.rightmost = _swig_property(LeapPython.FingerList_rightmost_get) |
|
static |
The documentation for this class was generated from the following files: