Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Static Private Attributes | Friends
Leap::TrackedQuad Class Reference

#include <Leap.h>

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

List of all members.

Public Member Functions

def __eq__
def __init__
def __ne__
def __str__
LEAP_EXPORT float height () const
LEAP_EXPORT ImageList images () const
LEAP_EXPORT bool isValid () const
LEAP_EXPORT MaskList masks () const
LEAP_EXPORT bool operator!= (const TrackedQuad &) const
LEAP_EXPORT bool operator== (const TrackedQuad &) const
LEAP_EXPORT Matrix orientation () const
LEAP_EXPORT Vector position () const
LEAP_EXPORT int resolutionX () const
LEAP_EXPORT int resolutionY () const
std::string toString () const
 TrackedQuad (TrackedQuadImplementation *)
LEAP_EXPORT TrackedQuad ()
LEAP_EXPORT bool visible () const
LEAP_EXPORT float width () const

Static Public Member Functions

static LEAP_EXPORT const
TrackedQuad
invalid ()

Public Attributes

 this

Static Public Attributes

tuple height = _swig_property(LeapPython.TrackedQuad_height_get)
tuple images = _swig_property(LeapPython.TrackedQuad_images_get)
tuple is_valid = _swig_property(LeapPython.TrackedQuad_is_valid_get)
tuple masks = _swig_property(LeapPython.TrackedQuad_masks_get)
tuple orientation = _swig_property(LeapPython.TrackedQuad_orientation_get)
tuple position = _swig_property(LeapPython.TrackedQuad_position_get)
tuple resolution_x = _swig_property(LeapPython.TrackedQuad_resolution_x_get)
tuple resolution_y = _swig_property(LeapPython.TrackedQuad_resolution_y_get)
tuple visible = _swig_property(LeapPython.TrackedQuad_visible_get)
tuple width = _swig_property(LeapPython.TrackedQuad_width_get)

Private Member Functions

LEAP_EXPORT const char * toCString () const

Static Private Attributes

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

Friends

LEAP_EXPORT friend std::ostream & operator<< (std::ostream &, const TrackedQuad &)

Detailed Description

Note: This class is an experimental API for internal use only. It may be removed without warning.

Represents a quad-like object tracked by the Leap Motion sensors.

Only one quad can be tracked. Once a supported quad is tracked, the state of that quad will be updated for each frame of Leap Motion tracking data.

A TrackedQuad object represents the state of the quad at one moment in time. Get a new object from subsequent frames to get the latest state information.

Since:
2.2.6

Definition at line 4264 of file Leap.h.


Constructor & Destructor Documentation

Leap::TrackedQuad::TrackedQuad ( TrackedQuadImplementation *  )

Constructs a new TrackedQuad object. Do not use. Get valid TrackedQuads from a Controller or Frame object.

Since:
2.2.6

Definition at line 1776 of file Leap.py.


Member Function Documentation

def Leap::TrackedQuad::__eq__ (   self,
  arg2 
)

Definition at line 1783 of file Leap.py.

def Leap::TrackedQuad::__ne__ (   self,
  arg2 
)

Definition at line 1786 of file Leap.py.

Definition at line 1789 of file Leap.py.

The physical height of the quad display area in millimeters.

Since:
2.2.6

The images from which the state of this TrackedQuad was derived. These are the same image objects that you can get from the Controller or Frame object from which you got this TrackedQuad.

Since:
2.2.6

An invalid object.

Since:
2.2.6

Reports whether this is a valid object.

Since:
2.2.6

The list of masks for the current set of images. A mask is a bitmap indicating which pixels in the image contain fingers or part of the hand in front of the quad.

The mask at index 0 corresponds to the left image; that with index 1, to the right image.

Since:
2.2.6
LEAP_EXPORT bool Leap::TrackedQuad::operator!= ( const TrackedQuad ) const

Compares quad objects for inequality.

Since:
2.2.6
LEAP_EXPORT bool Leap::TrackedQuad::operator== ( const TrackedQuad ) const

Compares quad objects for equality.

Since:
2.2.6

The orientation of the quad within the Leap Motion frame of reference.

Since:
2.2.6

The position of the center of the quad display area within the Leap Motion frame of reference. In millimeters.

Since:
2.2.6

The horizontal resolution of the quad display area in pixels. This value is set in a configuration file. It is not determined dynamically.

Since:
2.2.6

The vertical resolution of the quad display area in pixels. This value is set in a configuration file. It is not determined dynamically.

Since:
2.2.6
LEAP_EXPORT const char* Leap::TrackedQuad::toCString ( ) const [private]
std::string Leap::TrackedQuad::toString ( ) const [inline]

Definition at line 4384 of file Leap.h.

Reports whether the quad is currently detected within the Leap Motion field of view.

Since:
2.2.6

The physical width of the quad display area in millimeters.

Since:
2.2.6

Friends And Related Function Documentation

LEAP_EXPORT friend std::ostream& operator<< ( std::ostream &  ,
const TrackedQuad  
) [friend]

Provides a brief, human-readable description of this quad.

Since:
2.2.6

Member Data Documentation

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

Reimplemented from Leap::Interface.

Definition at line 1773 of file Leap.py.

Definition at line 1774 of file Leap.py.

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

Reimplemented from Leap::Interface.

Definition at line 1769 of file Leap.py.

Leap::TrackedQuad::__swig_destroy__ = LeapPython.delete_TrackedQuad [static, private]

Definition at line 1821 of file Leap.py.

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

Reimplemented from Leap::Interface.

Definition at line 1770 of file Leap.py.

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

Reimplemented from Leap::Interface.

Definition at line 1766 of file Leap.py.

tuple Leap::TrackedQuad::height = _swig_property(LeapPython.TrackedQuad_height_get) [static]

Definition at line 1796 of file Leap.py.

tuple Leap::TrackedQuad::images = _swig_property(LeapPython.TrackedQuad_images_get) [static]

Definition at line 1817 of file Leap.py.

tuple Leap::TrackedQuad::is_valid = _swig_property(LeapPython.TrackedQuad_is_valid_get) [static]

Definition at line 1820 of file Leap.py.

tuple Leap::TrackedQuad::masks = _swig_property(LeapPython.TrackedQuad_masks_get) [static]

Definition at line 1814 of file Leap.py.

tuple Leap::TrackedQuad::orientation = _swig_property(LeapPython.TrackedQuad_orientation_get) [static]

Definition at line 1808 of file Leap.py.

tuple Leap::TrackedQuad::position = _swig_property(LeapPython.TrackedQuad_position_get) [static]

Definition at line 1811 of file Leap.py.

tuple Leap::TrackedQuad::resolution_x = _swig_property(LeapPython.TrackedQuad_resolution_x_get) [static]

Definition at line 1799 of file Leap.py.

tuple Leap::TrackedQuad::resolution_y = _swig_property(LeapPython.TrackedQuad_resolution_y_get) [static]

Definition at line 1802 of file Leap.py.

Definition at line 1776 of file Leap.py.

tuple Leap::TrackedQuad::visible = _swig_property(LeapPython.TrackedQuad_visible_get) [static]

Definition at line 1805 of file Leap.py.

tuple Leap::TrackedQuad::width = _swig_property(LeapPython.TrackedQuad_width_get) [static]

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