#include <Leap.h>

Public Types | |
| typedef ConstListIterator < FingerList, Finger > | const_iterator |
Public Member Functions | |
| def | __getitem__ |
| def | __init__ |
| def | __iter__ |
| def | __len__ |
| def | append |
| LEAP_EXPORT FingerList & | append (const FingerList &other) |
| LEAP_EXPORT const_iterator | begin () const |
| LEAP_EXPORT int | count () const |
| LEAP_EXPORT const_iterator | end () const |
| def | extended |
| LEAP_EXPORT FingerList | extended () const |
| def | finger_type |
| FingerList (const ListBaseImplementation< Finger > &) | |
| LEAP_EXPORT | FingerList () |
| LEAP_EXPORT FingerList | fingerType (Finger::Type type) const |
| LEAP_EXPORT Finger | frontmost () const |
| LEAP_EXPORT bool | isEmpty () const |
| LEAP_EXPORT Finger | leftmost () const |
| LEAP_EXPORT Finger | operator[] (int index) const |
| LEAP_EXPORT Finger | rightmost () const |
Public Attributes | |
| this | |
Static Public Attributes | |
| tuple | frontmost = _swig_property(LeapPython.FingerList_frontmost_get) |
| tuple | is_empty = _swig_property(LeapPython.FingerList_is_empty_get) |
| tuple | leftmost = _swig_property(LeapPython.FingerList_leftmost_get) |
| tuple | rightmost = _swig_property(LeapPython.FingerList_rightmost_get) |
Static Private Attributes | |
| tuple | __getattr__ = lambdaself,name:_swig_getattr(self, FingerList, name) |
| __repr__ = _swig_repr | |
| tuple | __setattr__ = lambdaself,name,value:_swig_setattr(self, FingerList, name, value) |
| __swig_destroy__ = LeapPython.delete_FingerList | |
| dictionary | __swig_getmethods__ = {} |
| dictionary | __swig_setmethods__ = {} |
The FingerList class represents a list of Finger objects.
Get a FingerList object by calling Frame::fingers().
| Leap::FingerList::FingerList | ( | const ListBaseImplementation< Finger > & | ) |
Constructs an empty list of fingers.
| 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 | |||
| ) |
| LEAP_EXPORT FingerList& Leap::FingerList::append | ( | const FingerList & | other | ) |
Appends the members of the specified FingerList to this FingerList.
| other | A FingerList object containing Finger objects to append to the end of this FingerList. |
| LEAP_EXPORT const_iterator Leap::FingerList::begin | ( | ) | const |
| LEAP_EXPORT int Leap::FingerList::count | ( | ) | const |
Returns the number of fingers in this list.
| LEAP_EXPORT const_iterator Leap::FingerList::end | ( | ) | const |
| def Leap::FingerList::extended | ( | self | ) |
| LEAP_EXPORT FingerList Leap::FingerList::extended | ( | ) | const |
Returns a new list containing those fingers in the current list that are extended.
| def Leap::FingerList::finger_type | ( | self, | |
| type | |||
| ) |
| LEAP_EXPORT FingerList Leap::FingerList::fingerType | ( | Finger::Type | type | ) | const |
Returns a list containing fingers from the current list of a given finger type by modifying the existing list.
| LEAP_EXPORT Finger Leap::FingerList::frontmost | ( | ) | const |
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).
| LEAP_EXPORT bool Leap::FingerList::isEmpty | ( | ) | const |
Reports whether the list is empty.
| LEAP_EXPORT Finger Leap::FingerList::leftmost | ( | ) | const |
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).
| LEAP_EXPORT Finger Leap::FingerList::operator[] | ( | int | index | ) | const |
Access a list member by its position in the list.
| index | The zero-based list position index. |
| LEAP_EXPORT Finger Leap::FingerList::rightmost | ( | ) | const |
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).
tuple Leap::FingerList::__getattr__ = lambdaself,name:_swig_getattr(self, FingerList, name) [static, private] |
Reimplemented from Leap::Interface.
Leap::FingerList::__repr__ = _swig_repr [static, private] |
tuple Leap::FingerList::__setattr__ = lambdaself,name,value:_swig_setattr(self, FingerList, name, value) [static, private] |
Reimplemented from Leap::Interface.
Leap::FingerList::__swig_destroy__ = LeapPython.delete_FingerList [static, private] |
dictionary Leap::FingerList::__swig_getmethods__ = {} [static, private] |
Reimplemented from Leap::Interface.
dictionary Leap::FingerList::__swig_setmethods__ = {} [static, private] |
Reimplemented from Leap::Interface.
tuple Leap::FingerList::frontmost = _swig_property(LeapPython.FingerList_frontmost_get) [static] |
tuple Leap::FingerList::is_empty = _swig_property(LeapPython.FingerList_is_empty_get) [static] |
tuple Leap::FingerList::leftmost = _swig_property(LeapPython.FingerList_leftmost_get) [static] |
tuple Leap::FingerList::rightmost = _swig_property(LeapPython.FingerList_rightmost_get) [static] |