Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Static Private Attributes
Leap::ImageList Class Reference

#include <Leap.h>

Inheritance diagram for Leap::ImageList:
Inheritance graph
[legend]

List of all members.

Public Types

typedef ConstListIterator
< ImageList, Image
const_iterator

Public Member Functions

def __getitem__
def __init__
def __iter__
def __len__
def append
LEAP_EXPORT ImageListappend (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__ = {}

Detailed Description

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().

Since:
2.1.0

Definition at line 4187 of file Leap.h.


Member Typedef Documentation

A C++ iterator type for this ImageList objects.

Since:
2.1.0

Definition at line 4236 of file Leap.h.


Constructor & Destructor Documentation

Leap::ImageList::ImageList ( const ListBaseImplementation< Image > &  )

Constructs an empty list of images.

Since:
2.1.0
def Leap::ImageList::__init__ (   self)

Definition at line 1736 of file Leap.py.


Member Function Documentation

def Leap::ImageList::__getitem__ (   self,
  index 
)

Definition at line 1746 of file Leap.py.

def Leap::ImageList::__iter__ (   self)

Definition at line 1754 of file Leap.py.

def Leap::ImageList::__len__ (   self)

Definition at line 1743 of file Leap.py.

def Leap::ImageList::append (   self,
  other 
)

Definition at line 1749 of file Leap.py.

Appends the members of the specified ImageList to this ImageList.

Parameters:
otherA ImageList object containing Image objects to append to the end of this ImageList.
Since:
2.1.0

The C++ iterator set to the beginning of this ImageList.

Since:
2.1.0

The number of images in this list.

Returns:
The number of images in this list.
Since:
2.1.0

The C++ iterator set to the end of this ImageList.

Since:
2.1.0

Reports whether the list is empty.

Returns:
True, if the list has no members.
Since:
2.1.0
LEAP_EXPORT Image Leap::ImageList::operator[] ( int  index) const

Access a list member by its position in the list.

Parameters:
indexThe zero-based list position index.
Returns:
The Image object at the specified index.
Since:
2.1.0

Member Data Documentation

tuple Leap::ImageList::__getattr__ = lambdaself,name:_swig_getattr(self, ImageList, name) [static, private]

Reimplemented from Leap::Interface.

Definition at line 1733 of file Leap.py.

Definition at line 1734 of file Leap.py.

tuple Leap::ImageList::__setattr__ = lambdaself,name,value:_swig_setattr(self, ImageList, name, value) [static, private]

Reimplemented from Leap::Interface.

Definition at line 1729 of file Leap.py.

Leap::ImageList::__swig_destroy__ = LeapPython.delete_ImageList [static, private]

Definition at line 1760 of file Leap.py.

dictionary Leap::ImageList::__swig_getmethods__ = {} [static, private]

Reimplemented from Leap::Interface.

Definition at line 1730 of file Leap.py.

dictionary Leap::ImageList::__swig_setmethods__ = {} [static, private]

Reimplemented from Leap::Interface.

Definition at line 1726 of file Leap.py.

tuple Leap::ImageList::is_empty = _swig_property(LeapPython.ImageList_is_empty_get) [static]

Definition at line 1753 of file Leap.py.

Definition at line 1736 of file Leap.py.


The documentation for this class was generated from the following files:


leap_motion
Author(s): Florian Lier , Mirza Shah , Isaac IY Saito
autogenerated on Sat Jun 8 2019 18:47:25