#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.
◆ const_iterator
◆ FingerList() [1/2]
◆ FingerList() [2/2]
Constructs an empty list of fingers.
- Since
- 1.0
◆ __init__()
def Leap.FingerList.__init__ |
( |
|
self | ) |
|
◆ __getitem__()
def Leap.FingerList.__getitem__ |
( |
|
self, |
|
|
|
index |
|
) |
| |
◆ __iter__()
def Leap.FingerList.__iter__ |
( |
|
self | ) |
|
◆ __len__()
def Leap.FingerList.__len__ |
( |
|
self | ) |
|
◆ append() [1/2]
def Leap.FingerList.append |
( |
|
self, |
|
|
|
other |
|
) |
| |
◆ append() [2/2]
◆ begin()
The C++ iterator set to the beginning of this FingerList.
- Since
- 1.0
◆ count()
Returns the number of fingers in this list.
- Returns
- The number of fingers in this list.
- Since
- 1.0
◆ end()
The C++ iterator set to the end of this FingerList.
- Since
- 1.0
◆ extended() [1/2]
def Leap.FingerList.extended |
( |
|
self | ) |
|
◆ extended() [2/2]
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
◆ finger_type()
def Leap.FingerList.finger_type |
( |
|
self, |
|
|
|
type |
|
) |
| |
◆ fingerType()
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
◆ frontmost()
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
◆ isEmpty()
Reports whether the list is empty.
- Returns
- True, if the list has no members.
- Since
- 1.0
◆ leftmost()
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
◆ operator[]()
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
◆ rightmost()
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
◆ __getattr__
◆ __repr__
◆ __setattr__
◆ __swig_destroy__
Leap.FingerList.__swig_destroy__ = LeapPython.delete_FingerList |
|
staticprivate |
◆ __swig_getmethods__
dictionary Leap.FingerList.__swig_getmethods__ = {} |
|
staticprivate |
◆ __swig_setmethods__
dictionary Leap.FingerList.__swig_setmethods__ = {} |
|
staticprivate |
◆ frontmost
Leap.FingerList.frontmost = _swig_property(LeapPython.FingerList_frontmost_get) |
|
static |
◆ is_empty
Leap.FingerList.is_empty = _swig_property(LeapPython.FingerList_is_empty_get) |
|
static |
◆ leftmost
Leap.FingerList.leftmost = _swig_property(LeapPython.FingerList_leftmost_get) |
|
static |
◆ rightmost
Leap.FingerList.rightmost = _swig_property(LeapPython.FingerList_rightmost_get) |
|
static |
◆ this
The documentation for this class was generated from the following files: