#include <Leap.h>
Public Types | |
typedef ConstListIterator < GestureList, Gesture > | const_iterator |
Public Member Functions | |
def | __getitem__ |
def | __init__ |
def | __iter__ |
def | __len__ |
def | append |
LEAP_EXPORT GestureList & | append (const GestureList &other) |
LEAP_EXPORT const_iterator | begin () const |
LEAP_EXPORT int | count () const |
LEAP_EXPORT const_iterator | end () const |
GestureList (const ListBaseImplementation< Gesture > &) | |
LEAP_EXPORT | GestureList () |
LEAP_EXPORT bool | isEmpty () const |
LEAP_EXPORT Gesture | operator[] (int index) const |
Public Attributes | |
this | |
Static Public Attributes | |
tuple | is_empty = _swig_property(LeapPython.GestureList_is_empty_get) |
Static Private Attributes | |
tuple | __getattr__ = lambdaself,name:_swig_getattr(self, GestureList, name) |
__repr__ = _swig_repr | |
tuple | __setattr__ = lambdaself,name,value:_swig_setattr(self, GestureList, name, value) |
__swig_destroy__ = LeapPython.delete_GestureList | |
dictionary | __swig_getmethods__ = {} |
dictionary | __swig_setmethods__ = {} |
The GestureList class represents a list of Gesture objects.
Get a GestureList object from a Frame object.
Leap::GestureList::GestureList | ( | const ListBaseImplementation< Gesture > & | ) |
Constructs an empty gesture list.
def Leap::GestureList::__init__ | ( | self | ) |
def Leap::GestureList::__getitem__ | ( | self, | |
index | |||
) |
def Leap::GestureList::__iter__ | ( | self | ) |
def Leap::GestureList::__len__ | ( | self | ) |
def Leap::GestureList::append | ( | self, | |
other | |||
) |
LEAP_EXPORT GestureList& Leap::GestureList::append | ( | const GestureList & | other | ) |
Appends the members of the specified GestureList to this GestureList.
other | A GestureList object containing Gesture objects to append to the end of this GestureList. |
LEAP_EXPORT int Leap::GestureList::count | ( | ) | const |
The length of this list.
LEAP_EXPORT const_iterator Leap::GestureList::end | ( | ) | const |
LEAP_EXPORT bool Leap::GestureList::isEmpty | ( | ) | const |
Reports whether the list is empty.
LEAP_EXPORT Gesture Leap::GestureList::operator[] | ( | int | index | ) | const |
Access a list member by its position in the list.
index | The zero-based list position index. |
tuple Leap::GestureList::__getattr__ = lambdaself,name:_swig_getattr(self, GestureList, name) [static, private] |
Reimplemented from Leap::Interface.
Leap::GestureList::__repr__ = _swig_repr [static, private] |
tuple Leap::GestureList::__setattr__ = lambdaself,name,value:_swig_setattr(self, GestureList, name, value) [static, private] |
Reimplemented from Leap::Interface.
Leap::GestureList::__swig_destroy__ = LeapPython.delete_GestureList [static, private] |
dictionary Leap::GestureList::__swig_getmethods__ = {} [static, private] |
Reimplemented from Leap::Interface.
dictionary Leap::GestureList::__swig_setmethods__ = {} [static, private] |
Reimplemented from Leap::Interface.
tuple Leap::GestureList::is_empty = _swig_property(LeapPython.GestureList_is_empty_get) [static] |