Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Static Private Attributes | Friends | List of all members
Leap::Screen Class Reference

#include <Leap.h>

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

Public Member Functions

def __eq__ (self, arg2)
 
def __init__ (self)
 
def __ne__ (self, arg2)
 
def __str__ (self)
 
LEAP_EXPORT Vector bottomLeftCorner () const
 
def distance_to_point (self, point)
 
LEAP_EXPORT float distanceToPoint (const Vector &point) const
 
LEAP_EXPORT int heightPixels () const
 
LEAP_EXPORT Vector horizontalAxis () const
 
LEAP_EXPORT int32_t id () const
 
def intersect (self, args)
 
LEAP_EXPORT Vector intersect (const Pointable &pointable, bool normalize, float clampRatio=1.0f) const
 
LEAP_EXPORT Vector intersect (const Vector &position, const Vector &direction, bool normalize, float clampRatio=1.0f) const
 
LEAP_EXPORT bool isValid () const
 
def normal (self)
 
LEAP_EXPORT Vector normal () const
 
LEAP_EXPORT bool operator!= (const Screen &) const
 
LEAP_EXPORT bool operator== (const Screen &) const
 
def project (self, position, normalize, clampRatio=1.0)
 
LEAP_EXPORT Vector project (const Vector &position, bool normalize, float clampRatio=1.0f) const
 
 Screen (ScreenImplementation *)
 
LEAP_EXPORT Screen ()
 
std::string toString () const
 
LEAP_EXPORT Vector verticalAxis () const
 
LEAP_EXPORT int widthPixels () const
 
- Public Member Functions inherited from Leap::Interface
def __init__ (self, args, kwargs)
 

Static Public Member Functions

static LEAP_EXPORT const Screeninvalid ()
 

Public Attributes

 this
 

Static Public Attributes

 bottom_left_corner = _swig_property(LeapPython.Screen_bottom_left_corner_get)
 
 height_pixels = _swig_property(LeapPython.Screen_height_pixels_get)
 
 horizontal_axis = _swig_property(LeapPython.Screen_horizontal_axis_get)
 
 id = _swig_property(LeapPython.Screen_id_get)
 
 is_valid = _swig_property(LeapPython.Screen_is_valid_get)
 
 vertical_axis = _swig_property(LeapPython.Screen_vertical_axis_get)
 
 width_pixels = _swig_property(LeapPython.Screen_width_pixels_get)
 

Private Member Functions

LEAP_EXPORT const char * toCString () const
 

Static Private Attributes

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

Friends

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

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

Definition at line 2585 of file Leap.h.

Constructor & Destructor Documentation

Leap::Screen::Screen ( ScreenImplementation *  )
LEAP_EXPORT Leap::Screen::Screen ( )
def Leap.Screen.__init__ (   self)

Definition at line 1091 of file Leap.py.

Member Function Documentation

def Leap.Screen.__eq__ (   self,
  arg2 
)

Definition at line 1110 of file Leap.py.

def Leap.Screen.__ne__ (   self,
  arg2 
)

Definition at line 1113 of file Leap.py.

def Leap.Screen.__str__ (   self)

Definition at line 1116 of file Leap.py.

LEAP_EXPORT Vector Leap::Screen::bottomLeftCorner ( ) const
def Leap.Screen.distance_to_point (   self,
  point 
)

Definition at line 1107 of file Leap.py.

LEAP_EXPORT float Leap::Screen::distanceToPoint ( const Vector point) const
LEAP_EXPORT int Leap::Screen::heightPixels ( ) const
LEAP_EXPORT Vector Leap::Screen::horizontalAxis ( ) const
LEAP_EXPORT int32_t Leap::Screen::id ( ) const
def Leap.Screen.intersect (   self,
  args 
)

Definition at line 1098 of file Leap.py.

LEAP_EXPORT Vector Leap::Screen::intersect ( const Pointable pointable,
bool  normalize,
float  clampRatio = 1.0f 
) const
LEAP_EXPORT Vector Leap::Screen::intersect ( const Vector position,
const Vector direction,
bool  normalize,
float  clampRatio = 1.0f 
) const
static LEAP_EXPORT const Screen& Leap::Screen::invalid ( )
static
LEAP_EXPORT bool Leap::Screen::isValid ( ) const
def Leap.Screen.normal (   self)

Definition at line 1104 of file Leap.py.

LEAP_EXPORT Vector Leap::Screen::normal ( ) const
LEAP_EXPORT bool Leap::Screen::operator!= ( const Screen ) const
LEAP_EXPORT bool Leap::Screen::operator== ( const Screen ) const
def Leap.Screen.project (   self,
  position,
  normalize,
  clampRatio = 1.0 
)

Definition at line 1101 of file Leap.py.

LEAP_EXPORT Vector Leap::Screen::project ( const Vector position,
bool  normalize,
float  clampRatio = 1.0f 
) const
LEAP_EXPORT const char* Leap::Screen::toCString ( ) const
private
std::string Leap::Screen::toString ( ) const
inline

Definition at line 2624 of file Leap.h.

LEAP_EXPORT Vector Leap::Screen::verticalAxis ( ) const
LEAP_EXPORT int Leap::Screen::widthPixels ( ) const

Friends And Related Function Documentation

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

Member Data Documentation

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

Definition at line 1088 of file Leap.py.

Leap.Screen.__repr__ = _swig_repr
staticprivate

Definition at line 1089 of file Leap.py.

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

Definition at line 1084 of file Leap.py.

Leap.Screen.__swig_destroy__ = LeapPython.delete_Screen
staticprivate

Definition at line 1139 of file Leap.py.

dictionary Leap.Screen.__swig_getmethods__ = {}
staticprivate

Definition at line 1085 of file Leap.py.

dictionary Leap.Screen.__swig_setmethods__ = {}
staticprivate

Definition at line 1081 of file Leap.py.

Leap.Screen.bottom_left_corner = _swig_property(LeapPython.Screen_bottom_left_corner_get)
static

Definition at line 1129 of file Leap.py.

Leap.Screen.height_pixels = _swig_property(LeapPython.Screen_height_pixels_get)
static

Definition at line 1135 of file Leap.py.

Leap.Screen.horizontal_axis = _swig_property(LeapPython.Screen_horizontal_axis_get)
static

Definition at line 1123 of file Leap.py.

Leap.Screen.id = _swig_property(LeapPython.Screen_id_get)
static

Definition at line 1120 of file Leap.py.

Leap.Screen.is_valid = _swig_property(LeapPython.Screen_is_valid_get)
static

Definition at line 1138 of file Leap.py.

Leap.Screen.this

Definition at line 1096 of file Leap.py.

Leap.Screen.vertical_axis = _swig_property(LeapPython.Screen_vertical_axis_get)
static

Definition at line 1126 of file Leap.py.

Leap.Screen.width_pixels = _swig_property(LeapPython.Screen_width_pixels_get)
static

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