Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Static Private Attributes | List of all members
Leap::ImageList Class Reference

#include <Leap.h>

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

Public Types

typedef ConstListIterator< ImageList, Imageconst_iterator
 

Public Member Functions

def __getitem__ (self, index)
 
def __init__ (self)
 
def __iter__ (self)
 
def __len__ (self)
 
def append (self, other)
 
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 Member Functions inherited from Leap::Interface
def __init__ (self, args, kwargs)
 

Public Attributes

 this
 

Static Public Attributes

 is_empty = _swig_property(LeapPython.ImageList_is_empty_get)
 

Static Private Attributes

 __getattr__ = lambdaself,name:_swig_getattr(self, ImageList, name)
 
 __repr__ = _swig_repr
 
 __setattr__ = lambdaself,name,value:_swig_setattr(self, ImageList, name, value)
 
 __swig_destroy__ = LeapPython.delete_ImageList
 
dictionary __swig_getmethods__ = {}
 
dictionary __swig_setmethods__ = {}
 

Additional Inherited Members

- Protected Member Functions inherited from Leap::Interface
template<typename T >
T * get () const
 
LEAP_EXPORT Interface (void *owner)
 
LEAP_EXPORT Interface (Implementation *reference, void *owner)
 
LEAP_EXPORT Interface (const Interface &rhs)
 
 Interface (class SharedObject *object)
 
LEAP_EXPORT Interfaceoperator= (const Interface &rhs)
 
virtual LEAP_EXPORT ~Interface ()
 
- Static Protected Member Functions inherited from Leap::Interface
static LEAP_EXPORT void deleteCString (const char *cstr)
 
- Protected Attributes inherited from Leap::Interface
class SharedObject * m_object
 

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 > &  )
LEAP_EXPORT Leap::ImageList::ImageList ( )

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.

LEAP_EXPORT ImageList& Leap::ImageList::append ( const ImageList other)

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
LEAP_EXPORT const_iterator Leap::ImageList::begin ( ) const

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

Since
2.1.0
LEAP_EXPORT int Leap::ImageList::count ( ) const

The number of images in this list.

Returns
The number of images in this list.
Since
2.1.0
LEAP_EXPORT const_iterator Leap::ImageList::end ( ) const

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

Since
2.1.0
LEAP_EXPORT bool Leap::ImageList::isEmpty ( ) const

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

Leap.ImageList.__getattr__ = lambdaself,name:_swig_getattr(self, ImageList, name)
staticprivate

Definition at line 1733 of file Leap.py.

Leap.ImageList.__repr__ = _swig_repr
staticprivate

Definition at line 1734 of file Leap.py.

Leap.ImageList.__setattr__ = lambdaself,name,value:_swig_setattr(self, ImageList, name, value)
staticprivate

Definition at line 1729 of file Leap.py.

Leap.ImageList.__swig_destroy__ = LeapPython.delete_ImageList
staticprivate

Definition at line 1760 of file Leap.py.

dictionary Leap.ImageList.__swig_getmethods__ = {}
staticprivate

Definition at line 1730 of file Leap.py.

dictionary Leap.ImageList.__swig_setmethods__ = {}
staticprivate

Definition at line 1726 of file Leap.py.

Leap.ImageList.is_empty = _swig_property(LeapPython.ImageList_is_empty_get)
static

Definition at line 1753 of file Leap.py.

Leap.ImageList.this

Definition at line 1741 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 Tue Jun 2 2020 03:58:01