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

#include <Leap.h>

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

List of all members.

Public Types

typedef ConstListIterator
< PointableList, Pointable
const_iterator

Public Member Functions

def __getitem__
def __init__
def __iter__
def __len__
def append
LEAP_EXPORT PointableListappend (const PointableList &other)
LEAP_EXPORT PointableListappend (const FingerList &other)
LEAP_EXPORT PointableListappend (const ToolList &other)
LEAP_EXPORT const_iterator begin () const
LEAP_EXPORT int count () const
LEAP_EXPORT const_iterator end () const
def extended
LEAP_EXPORT PointableList extended () const
LEAP_EXPORT Pointable frontmost () const
LEAP_EXPORT bool isEmpty () const
LEAP_EXPORT Pointable leftmost () const
LEAP_EXPORT Pointable operator[] (int index) const
 PointableList (const ListBaseImplementation< Pointable > &)
LEAP_EXPORT PointableList ()
LEAP_EXPORT Pointable rightmost () const

Public Attributes

 this

Static Public Attributes

tuple frontmost = _swig_property(LeapPython.PointableList_frontmost_get)
tuple is_empty = _swig_property(LeapPython.PointableList_is_empty_get)
tuple leftmost = _swig_property(LeapPython.PointableList_leftmost_get)
tuple rightmost = _swig_property(LeapPython.PointableList_rightmost_get)

Static Private Attributes

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

Detailed Description

The PointableList class represents a list of Pointable objects.

Pointable objects include entities that can be pointed, such as fingers and tools.

Get a PointableList object by calling Frame::pointables() or Hand::pointables().

Since:
1.0

Definition at line 3476 of file Leap.h.


Member Typedef Documentation

A C++ iterator type for PointableList objects.

Since:
1.0

Definition at line 3592 of file Leap.h.


Constructor & Destructor Documentation

Leap::PointableList::PointableList ( const ListBaseImplementation< Pointable > &  )

Constructs an empty list of pointable entities.

Since:
1.0

Definition at line 1408 of file Leap.py.


Member Function Documentation

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

Definition at line 1418 of file Leap.py.

Definition at line 1438 of file Leap.py.

Definition at line 1415 of file Leap.py.

def Leap::PointableList::append (   self,
  args 
)

Definition at line 1421 of file Leap.py.

Appends the members of the specified PointableList to this PointableList.

Parameters:
otherA PointableList object containing Pointable objects to append to the end of this PointableList.
Since:
1.0

Appends the members of the specified FingerList to this PointableList.

Parameters:
otherA FingerList object containing Finger objects to append to the end of this PointableList.
Since:
1.0

Appends the members of the specified ToolList to this PointableList.

Parameters:
otherA ToolList object containing Tool objects to append to the end of this PointableList.
Since:
1.0

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

Since:
1.0

Returns the number of pointable entities in this list.

Returns:
The number of pointable entities in this list.
Since:
1.0

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

Since:
1.0

Definition at line 1424 of file Leap.py.

Returns a new list containing those members of the current list that are extended. This includes all tools and any fingers whose isExtended() function is true.

Returns:
The list of tools and extended fingers from the current list.
Since:
2.0

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

Returns:
The frontmost pointable, or invalid if list is empty.
Since:
1.0

Reports whether the list is empty.

Returns:
True, if the list has no members.
Since:
1.0

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

Returns:
The leftmost pointable, or invalid if list is empty.
Since:
1.0
LEAP_EXPORT Pointable Leap::PointableList::operator[] ( int  index) const

Access a list member by its position in the list.

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

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

Returns:
The rightmost pointable, or invalid if list is empty.
Since:
1.0

Member Data Documentation

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

Reimplemented from Leap::Interface.

Definition at line 1405 of file Leap.py.

Definition at line 1406 of file Leap.py.

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

Reimplemented from Leap::Interface.

Definition at line 1401 of file Leap.py.

Leap::PointableList::__swig_destroy__ = LeapPython.delete_PointableList [static, private]

Definition at line 1444 of file Leap.py.

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

Reimplemented from Leap::Interface.

Definition at line 1402 of file Leap.py.

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

Reimplemented from Leap::Interface.

Definition at line 1398 of file Leap.py.

tuple Leap::PointableList::frontmost = _swig_property(LeapPython.PointableList_frontmost_get) [static]

Definition at line 1437 of file Leap.py.

tuple Leap::PointableList::is_empty = _swig_property(LeapPython.PointableList_is_empty_get) [static]

Definition at line 1428 of file Leap.py.

tuple Leap::PointableList::leftmost = _swig_property(LeapPython.PointableList_leftmost_get) [static]

Definition at line 1431 of file Leap.py.

tuple Leap::PointableList::rightmost = _swig_property(LeapPython.PointableList_rightmost_get) [static]

Definition at line 1434 of file Leap.py.

Definition at line 1408 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