#include <Leap.h>
Public Member Functions | |
def | __eq__ |
def | __init__ |
def | __ne__ |
def | __str__ |
LEAP_EXPORT Vector | bottomLeftCorner () const |
def | distance_to_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 |
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 |
LEAP_EXPORT Vector | normal () const |
LEAP_EXPORT bool | operator!= (const Screen &) const |
LEAP_EXPORT bool | operator== (const Screen &) const |
def | project |
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 |
Static Public Member Functions | |
static LEAP_EXPORT const Screen & | invalid () |
Public Attributes | |
this | |
Static Public Attributes | |
tuple | bottom_left_corner = _swig_property(LeapPython.Screen_bottom_left_corner_get) |
tuple | height_pixels = _swig_property(LeapPython.Screen_height_pixels_get) |
tuple | horizontal_axis = _swig_property(LeapPython.Screen_horizontal_axis_get) |
tuple | id = _swig_property(LeapPython.Screen_id_get) |
tuple | is_valid = _swig_property(LeapPython.Screen_is_valid_get) |
tuple | vertical_axis = _swig_property(LeapPython.Screen_vertical_axis_get) |
tuple | width_pixels = _swig_property(LeapPython.Screen_width_pixels_get) |
Private Member Functions | |
LEAP_EXPORT const char * | toCString () const |
Static Private Attributes | |
tuple | __getattr__ = lambdaself,name:_swig_getattr(self, Screen, name) |
__repr__ = _swig_repr | |
tuple | __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 &) |
Leap::Screen::Screen | ( | ScreenImplementation * | ) |
def Leap::Screen::__init__ | ( | self | ) |
def Leap::Screen::__eq__ | ( | self, | |
arg2 | |||
) |
def Leap::Screen::__ne__ | ( | self, | |
arg2 | |||
) |
def Leap::Screen::__str__ | ( | self | ) |
LEAP_EXPORT Vector Leap::Screen::bottomLeftCorner | ( | ) | const |
def Leap::Screen::distance_to_point | ( | self, | |
point | |||
) |
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 | |||
) |
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 | ) |
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 |
|||
) |
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] |
LEAP_EXPORT Vector Leap::Screen::verticalAxis | ( | ) | const |
LEAP_EXPORT int Leap::Screen::widthPixels | ( | ) | const |
LEAP_EXPORT friend std::ostream& operator<< | ( | std::ostream & | , |
const Screen & | |||
) | [friend] |
tuple Leap::Screen::__getattr__ = lambdaself,name:_swig_getattr(self, Screen, name) [static, private] |
Reimplemented from Leap::Interface.
Leap::Screen::__repr__ = _swig_repr [static, private] |
tuple Leap::Screen::__setattr__ = lambdaself,name,value:_swig_setattr(self, Screen, name, value) [static, private] |
Reimplemented from Leap::Interface.
Leap::Screen::__swig_destroy__ = LeapPython.delete_Screen [static, private] |
dictionary Leap::Screen::__swig_getmethods__ = {} [static, private] |
Reimplemented from Leap::Interface.
dictionary Leap::Screen::__swig_setmethods__ = {} [static, private] |
Reimplemented from Leap::Interface.
tuple Leap::Screen::bottom_left_corner = _swig_property(LeapPython.Screen_bottom_left_corner_get) [static] |
tuple Leap::Screen::height_pixels = _swig_property(LeapPython.Screen_height_pixels_get) [static] |
tuple Leap::Screen::horizontal_axis = _swig_property(LeapPython.Screen_horizontal_axis_get) [static] |
tuple Leap::Screen::id = _swig_property(LeapPython.Screen_id_get) [static] |
tuple Leap::Screen::is_valid = _swig_property(LeapPython.Screen_is_valid_get) [static] |
tuple Leap::Screen::vertical_axis = _swig_property(LeapPython.Screen_vertical_axis_get) [static] |
tuple Leap::Screen::width_pixels = _swig_property(LeapPython.Screen_width_pixels_get) [static] |