#include <Leap.h>
Public Types | |
typedef ConstListIterator < ImageList, Image > | const_iterator |
Public Member Functions | |
def | __getitem__ |
def | __init__ |
def | __iter__ |
def | __len__ |
def | append |
LEAP_EXPORT ImageList & | append (const ImageList &other) |
LEAP_EXPORT const_iterator | begin () const |
LEAP_EXPORT int | count () const |
LEAP_EXPORT const_iterator | end () const |
ImageList (const ListBaseImplementation< Image > &) | |
LEAP_EXPORT | ImageList () |
LEAP_EXPORT bool | isEmpty () const |
LEAP_EXPORT Image | operator[] (int index) const |
Public Attributes | |
this | |
Static Public Attributes | |
tuple | is_empty = _swig_property(LeapPython.ImageList_is_empty_get) |
Static Private Attributes | |
tuple | __getattr__ = lambdaself,name:_swig_getattr(self, ImageList, name) |
__repr__ = _swig_repr | |
tuple | __setattr__ = lambdaself,name,value:_swig_setattr(self, ImageList, name, value) |
__swig_destroy__ = LeapPython.delete_ImageList | |
dictionary | __swig_getmethods__ = {} |
dictionary | __swig_setmethods__ = {} |
The ImageList class represents a list of Image objects.
Get the ImageList object associated with the a Frame of tracking data by calling Frame::images(). Get the most recent set of images, which can be newer than the images used to create the current frame, by calling Controller::images().
Leap::ImageList::ImageList | ( | const ListBaseImplementation< Image > & | ) |
Constructs an empty list of images.
def Leap::ImageList::__init__ | ( | self | ) |
def Leap::ImageList::__getitem__ | ( | self, | |
index | |||
) |
def Leap::ImageList::__iter__ | ( | self | ) |
def Leap::ImageList::__len__ | ( | self | ) |
def Leap::ImageList::append | ( | self, | |
other | |||
) |
LEAP_EXPORT ImageList& Leap::ImageList::append | ( | const ImageList & | other | ) |
LEAP_EXPORT const_iterator Leap::ImageList::begin | ( | ) | const |
The C++ iterator set to the beginning of this ImageList.
LEAP_EXPORT int Leap::ImageList::count | ( | ) | const |
The number of images in this list.
LEAP_EXPORT const_iterator Leap::ImageList::end | ( | ) | const |
The C++ iterator set to the end of this ImageList.
LEAP_EXPORT bool Leap::ImageList::isEmpty | ( | ) | const |
Reports whether the list is empty.
LEAP_EXPORT Image Leap::ImageList::operator[] | ( | int | index | ) | const |
Access a list member by its position in the list.
index | The zero-based list position index. |
tuple Leap::ImageList::__getattr__ = lambdaself,name:_swig_getattr(self, ImageList, name) [static, private] |
Reimplemented from Leap::Interface.
Leap::ImageList::__repr__ = _swig_repr [static, private] |
tuple Leap::ImageList::__setattr__ = lambdaself,name,value:_swig_setattr(self, ImageList, name, value) [static, private] |
Reimplemented from Leap::Interface.
Leap::ImageList::__swig_destroy__ = LeapPython.delete_ImageList [static, private] |
dictionary Leap::ImageList::__swig_getmethods__ = {} [static, private] |
Reimplemented from Leap::Interface.
dictionary Leap::ImageList::__swig_setmethods__ = {} [static, private] |
Reimplemented from Leap::Interface.
tuple Leap::ImageList::is_empty = _swig_property(LeapPython.ImageList_is_empty_get) [static] |