Classes | Typedefs | Enumerations | Functions | Variables
Leap Namespace Reference

Classes

class  _object
 
class  Arm
 
class  Bone
 
class  BugReport
 
class  byte_array
 
class  CircleGesture
 
class  Config
 
class  ConstListIterator
 
class  Controller
 
class  Device
 
class  DeviceList
 
class  Finger
 
class  FingerList
 
class  float_array
 
struct  FloatArray
 
class  Frame
 
class  Gesture
 
class  GestureList
 
class  Hand
 
class  HandList
 
class  Image
 
class  ImageList
 
class  InteractionBox
 
class  Interface
 
class  KeyTapGesture
 
class  ListBaseImplementation
 
class  Listener
 
class  Mask
 
class  MaskList
 
class  Matrix
 
class  Pointable
 
class  PointableList
 
class  Scene
 scene manages scene objects - handles selection and movement More...
 
class  SceneBox
 
struct  SceneContactPoint
 contact point between a pointable (finger or tool) and a scene object. More...
 
class  SceneCylinder
 
class  SceneDisk
 
class  SceneInteraction
 
class  SceneObject
 
class  ScenePlane
 
struct  SceneRay
 ray used for ray hit tests More...
 
struct  SceneRayHit
 stores the result of a ray test that hit something More...
 
class  SceneSphere
 
class  Screen
 
class  ScreenList
 
class  ScreenTapGesture
 
class  SwigPyIterator
 
class  SwipeGesture
 
class  Tool
 
class  ToolList
 
class  TrackedQuad
 
class  Vector
 

Typedefs

typedef LeapUtil::SmartPointer< SceneObjectSceneObjectPtr
 

Enumerations

enum  eInteractionType {
  kIT_Rotation = 1 << 0, kIT_Translation = 1 << 1, kIT_Scale = 1 << 2, kIT_SelectionChange = 1 << 3,
  kIT_IsSelected = 1 << 4
}
 types of interactions that may be performed on a scene object More...
 
enum  eSceneObjectType { kSOT_SceneObject = 0, kSOT_Invalid = 0x7fffffff }
 

Functions

def _swig_getattr (self, class_type, name)
 
def _swig_getattr_nondynamic (self, class_type, name, static=1)
 
def _swig_repr (self)
 
def _swig_setattr (self, class_type, name, value)
 
def _swig_setattr_nondynamic (self, class_type, name, value, static=1)
 
def byte_array_frompointer (t)
 
def CircleGesture_class_type ()
 
void DefaultProcessSceneInteractions (Scene &scene)
 
def float_array_frompointer (t)
 
def KeyTapGesture_class_type ()
 
def Mask_invalid ()
 
def ScreenTapGesture_class_type ()
 
def swig_import_helper ()
 
def SwipeGesture_class_type ()
 

Variables

 _newclass
 
def Arm_swigregister = LeapPython.Arm_swigregister
 
 backward
 
def Bone_swigregister = LeapPython.Bone_swigregister
 
def BugReport_swigregister = LeapPython.BugReport_swigregister
 
def byte_array_frompointer = LeapPython.byte_array_frompointer
 
def byte_array_swigregister = LeapPython.byte_array_swigregister
 
def CircleGesture_class_type = LeapPython.CircleGesture_class_type
 
def CircleGesture_swigregister = LeapPython.CircleGesture_swigregister
 
def Config_swigregister = LeapPython.Config_swigregister
 
def Controller_swigregister = LeapPython.Controller_swigregister
 
def cvar = LeapPython.cvar
 
static const float DEG_TO_RAD = 0.0174532925f
 
def Device_swigregister = LeapPython.Device_swigregister
 
def DeviceList_swigregister = LeapPython.DeviceList_swigregister
 
 down
 
static const float EPSILON = 1.192092896e-07f
 
def Finger_swigregister = LeapPython.Finger_swigregister
 
def FingerList_swigregister = LeapPython.FingerList_swigregister
 
def float_array_frompointer = LeapPython.float_array_frompointer
 
def float_array_swigregister = LeapPython.float_array_swigregister
 
 forward
 
def Frame_swigregister = LeapPython.Frame_swigregister
 
def Gesture_swigregister = LeapPython.Gesture_swigregister
 
def GestureList_swigregister = LeapPython.GestureList_swigregister
 
def Hand_swigregister = LeapPython.Hand_swigregister
 
def HandList_swigregister = LeapPython.HandList_swigregister
 
 identity
 
def Image_swigregister = LeapPython.Image_swigregister
 
def ImageList_swigregister = LeapPython.ImageList_swigregister
 
def InteractionBox_swigregister = LeapPython.InteractionBox_swigregister
 
def Interface_swigregister = LeapPython.Interface_swigregister
 
 invalid
 
def KeyTapGesture_class_type = LeapPython.KeyTapGesture_class_type
 
def KeyTapGesture_swigregister = LeapPython.KeyTapGesture_swigregister
 
def LeapPython = swig_import_helper()
 
 left
 
def Listener_swigregister = LeapPython.Listener_swigregister
 
def Mask_invalid = LeapPython.Mask_invalid
 
def Mask_swigregister = LeapPython.Mask_swigregister
 
def MaskList_swigregister = LeapPython.MaskList_swigregister
 
def Matrix_swigregister = LeapPython.Matrix_swigregister
 
static const float PI = 3.1415926536f
 
def Pointable_swigregister = LeapPython.Pointable_swigregister
 
def PointableList_swigregister = LeapPython.PointableList_swigregister
 
static const float RAD_TO_DEG = 57.295779513f
 
 right
 
def Screen_swigregister = LeapPython.Screen_swigregister
 
def ScreenList_swigregister = LeapPython.ScreenList_swigregister
 
def ScreenTapGesture_class_type = LeapPython.ScreenTapGesture_class_type
 
def ScreenTapGesture_swigregister = LeapPython.ScreenTapGesture_swigregister
 
def SwigPyIterator_swigregister = LeapPython.SwigPyIterator_swigregister
 
def SwipeGesture_class_type = LeapPython.SwipeGesture_class_type
 
def SwipeGesture_swigregister = LeapPython.SwipeGesture_swigregister
 
def Tool_swigregister = LeapPython.Tool_swigregister
 
def ToolList_swigregister = LeapPython.ToolList_swigregister
 
def TrackedQuad_swigregister = LeapPython.TrackedQuad_swigregister
 
 up
 
def Vector_swigregister = LeapPython.Vector_swigregister
 
 weakref_proxy = weakref.proxy
 
 x_axis
 
 y_axis
 
 z_axis
 
 zero
 

Typedef Documentation

◆ SceneObjectPtr

smart pointer for scene objects. when caching pointers to scene objects don't cache raw pointers or the object may be deleted leaving the pointer invalid. the smart pointers have reference counts that will prevent the object from getting deleted until all references are released. references are released when the smart pointer goes out of scope or has SceneObjectPtr::Null() assigned to it. if an object is removed from the scene the pointer will remain valid but the object will be an orphan - GetScene() will return NULL.

Definition at line 41 of file LeapScene.h.

Enumeration Type Documentation

◆ eInteractionType

types of interactions that may be performed on a scene object

Enumerator
kIT_Rotation 
kIT_Translation 
kIT_Scale 
kIT_SelectionChange 
kIT_IsSelected 

Definition at line 94 of file LeapScene.h.

◆ eSceneObjectType

type identifier for scene objects only the base class type is explicitly defined. additional values come from SceneObject::NextObjectType() note: object types are determined lazily. once queried the value will never change, but the run-time order in which they are queried determines the value. there is no guarantee that the type id of an inheriting class will be larger than the type id of the superclass. the only guarantee is that it will be different. see implementations of SceneBox::ObjectType() and SceneBox::GetType()

Enumerator
kSOT_SceneObject 
kSOT_Invalid 

Definition at line 414 of file LeapScene.h.

Function Documentation

◆ _swig_getattr()

def Leap._swig_getattr (   self,
  class_type,
  name 
)
private

Definition at line 70 of file Leap.py.

◆ _swig_getattr_nondynamic()

def Leap._swig_getattr_nondynamic (   self,
  class_type,
  name,
  static = 1 
)
private

Definition at line 59 of file Leap.py.

◆ _swig_repr()

def Leap._swig_repr (   self)
private

Definition at line 74 of file Leap.py.

◆ _swig_setattr()

def Leap._swig_setattr (   self,
  class_type,
  name,
  value 
)
private

Definition at line 55 of file Leap.py.

◆ _swig_setattr_nondynamic()

def Leap._swig_setattr_nondynamic (   self,
  class_type,
  name,
  value,
  static = 1 
)
private

Definition at line 39 of file Leap.py.

◆ byte_array_frompointer()

def Leap.byte_array_frompointer (   t)

Definition at line 191 of file Leap.py.

◆ CircleGesture_class_type()

def Leap.CircleGesture_class_type ( )

Definition at line 994 of file Leap.py.

◆ DefaultProcessSceneInteractions()

void Leap::DefaultProcessSceneInteractions ( Scene scene)
inline

after calling Scene::Update() either call this function or implement your own version with additional logic for your objects.

Definition at line 720 of file LeapScene.h.

◆ float_array_frompointer()

def Leap.float_array_frompointer (   t)

Definition at line 225 of file Leap.py.

◆ KeyTapGesture_class_type()

def Leap.KeyTapGesture_class_type ( )

Definition at line 1076 of file Leap.py.

◆ Mask_invalid()

def Leap.Mask_invalid ( )

Definition at line 1393 of file Leap.py.

◆ ScreenTapGesture_class_type()

def Leap.ScreenTapGesture_class_type ( )

Definition at line 1035 of file Leap.py.

◆ swig_import_helper()

def Leap.swig_import_helper ( )

Definition at line 13 of file Leap.py.

◆ SwipeGesture_class_type()

def Leap.SwipeGesture_class_type ( )

Definition at line 950 of file Leap.py.

Variable Documentation

◆ _newclass

Leap._newclass
private

Definition at line 87 of file Leap.py.

◆ Arm_swigregister

def Leap.Arm_swigregister = LeapPython.Arm_swigregister

Definition at line 571 of file Leap.py.

◆ backward

Leap.backward

Definition at line 343 of file Leap.py.

◆ Bone_swigregister

def Leap.Bone_swigregister = LeapPython.Bone_swigregister

Definition at line 634 of file Leap.py.

◆ BugReport_swigregister

def Leap.BugReport_swigregister = LeapPython.BugReport_swigregister

Definition at line 2080 of file Leap.py.

◆ byte_array_frompointer

def Leap.byte_array_frompointer = LeapPython.byte_array_frompointer

Definition at line 193 of file Leap.py.

◆ byte_array_swigregister

def Leap.byte_array_swigregister = LeapPython.byte_array_swigregister

Definition at line 188 of file Leap.py.

◆ CircleGesture_class_type

def Leap.CircleGesture_class_type = LeapPython.CircleGesture_class_type

Definition at line 996 of file Leap.py.

◆ CircleGesture_swigregister

def Leap.CircleGesture_swigregister = LeapPython.CircleGesture_swigregister

Definition at line 991 of file Leap.py.

◆ Config_swigregister

def Leap.Config_swigregister = LeapPython.Config_swigregister

Definition at line 2142 of file Leap.py.

◆ Controller_swigregister

def Leap.Controller_swigregister = LeapPython.Controller_swigregister

Definition at line 2228 of file Leap.py.

◆ cvar

def Leap.cvar = LeapPython.cvar

Definition at line 333 of file Leap.py.

◆ DEG_TO_RAD

def Leap::DEG_TO_RAD = 0.0174532925f
static

The constant ratio to convert an angle measure from degrees to radians. Multiply a value in degrees by this constant to convert to radians.

Since
1.0

Definition at line 30 of file LeapMath.h.

◆ Device_swigregister

def Leap.Device_swigregister = LeapPython.Device_swigregister

Definition at line 1215 of file Leap.py.

◆ DeviceList_swigregister

def Leap.DeviceList_swigregister = LeapPython.DeviceList_swigregister

Definition at line 1722 of file Leap.py.

◆ down

Leap.down

Definition at line 347 of file Leap.py.

◆ EPSILON

def Leap::EPSILON = 1.192092896e-07f
static

The difference between 1 and the least value greater than 1 that is representable as a float.

Since
2.0

Definition at line 43 of file LeapMath.h.

◆ Finger_swigregister

def Leap.Finger_swigregister = LeapPython.Finger_swigregister

Definition at line 678 of file Leap.py.

◆ FingerList_swigregister

def Leap.FingerList_swigregister = LeapPython.FingerList_swigregister

Definition at line 1501 of file Leap.py.

◆ float_array_frompointer

def Leap.float_array_frompointer = LeapPython.float_array_frompointer

Definition at line 227 of file Leap.py.

◆ float_array_swigregister

def Leap.float_array_swigregister = LeapPython.float_array_swigregister

Definition at line 222 of file Leap.py.

◆ forward

Leap.forward

Definition at line 342 of file Leap.py.

◆ Frame_swigregister

def Leap.Frame_swigregister = LeapPython.Frame_swigregister

Definition at line 2042 of file Leap.py.

◆ Gesture_swigregister

def Leap.Gesture_swigregister = LeapPython.Gesture_swigregister

Definition at line 906 of file Leap.py.

◆ GestureList_swigregister

def Leap.GestureList_swigregister = LeapPython.GestureList_swigregister

Definition at line 1639 of file Leap.py.

◆ Hand_swigregister

def Leap.Hand_swigregister = LeapPython.Hand_swigregister

Definition at line 838 of file Leap.py.

◆ HandList_swigregister

def Leap.HandList_swigregister = LeapPython.HandList_swigregister

Definition at line 1599 of file Leap.py.

◆ identity

Leap.identity

Definition at line 425 of file Leap.py.

◆ Image_swigregister

def Leap.Image_swigregister = LeapPython.Image_swigregister

Definition at line 1321 of file Leap.py.

◆ ImageList_swigregister

def Leap.ImageList_swigregister = LeapPython.ImageList_swigregister

Definition at line 1762 of file Leap.py.

◆ InteractionBox_swigregister

def Leap.InteractionBox_swigregister = LeapPython.InteractionBox_swigregister

Definition at line 1916 of file Leap.py.

◆ Interface_swigregister

def Leap.Interface_swigregister = LeapPython.Interface_swigregister

Definition at line 436 of file Leap.py.

◆ invalid

Leap.invalid

Definition at line 520 of file Leap.py.

◆ KeyTapGesture_class_type

def Leap.KeyTapGesture_class_type = LeapPython.KeyTapGesture_class_type

Definition at line 1078 of file Leap.py.

◆ KeyTapGesture_swigregister

def Leap.KeyTapGesture_swigregister = LeapPython.KeyTapGesture_swigregister

Definition at line 1073 of file Leap.py.

◆ LeapPython

def Leap.LeapPython = swig_import_helper()

Definition at line 28 of file Leap.py.

◆ left

Leap.left

Definition at line 344 of file Leap.py.

◆ Listener_swigregister

def Leap.Listener_swigregister = LeapPython.Listener_swigregister

Definition at line 2287 of file Leap.py.

◆ Mask_invalid

def Leap.Mask_invalid = LeapPython.Mask_invalid

Definition at line 1395 of file Leap.py.

◆ Mask_swigregister

def Leap.Mask_swigregister = LeapPython.Mask_swigregister

Definition at line 1390 of file Leap.py.

◆ MaskList_swigregister

def Leap.MaskList_swigregister = LeapPython.MaskList_swigregister

Definition at line 1864 of file Leap.py.

◆ Matrix_swigregister

def Leap.Matrix_swigregister = LeapPython.Matrix_swigregister

Definition at line 423 of file Leap.py.

◆ PI

def Leap::PI = 3.1415926536f
static

The constant pi as a single precision floating point number.

Since
1.0

Definition at line 24 of file LeapMath.h.

◆ Pointable_swigregister

def Leap.Pointable_swigregister = LeapPython.Pointable_swigregister

Definition at line 518 of file Leap.py.

◆ PointableList_swigregister

def Leap.PointableList_swigregister = LeapPython.PointableList_swigregister

Definition at line 1446 of file Leap.py.

◆ RAD_TO_DEG

def Leap::RAD_TO_DEG = 57.295779513f
static

The constant ratio to convert an angle measure from radians to degrees. Multiply a value in radians by this constant to convert to degrees.

Since
1.0

Definition at line 36 of file LeapMath.h.

◆ right

Leap.right

Definition at line 345 of file Leap.py.

◆ Screen_swigregister

def Leap.Screen_swigregister = LeapPython.Screen_swigregister

Definition at line 1141 of file Leap.py.

◆ ScreenList_swigregister

def Leap.ScreenList_swigregister = LeapPython.ScreenList_swigregister

Definition at line 1682 of file Leap.py.

◆ ScreenTapGesture_class_type

def Leap.ScreenTapGesture_class_type = LeapPython.ScreenTapGesture_class_type

Definition at line 1037 of file Leap.py.

◆ ScreenTapGesture_swigregister

def Leap.ScreenTapGesture_swigregister = LeapPython.ScreenTapGesture_swigregister

Definition at line 1032 of file Leap.py.

◆ SwigPyIterator_swigregister

def Leap.SwigPyIterator_swigregister = LeapPython.SwigPyIterator_swigregister

Definition at line 158 of file Leap.py.

◆ SwipeGesture_class_type

def Leap.SwipeGesture_class_type = LeapPython.SwipeGesture_class_type

Definition at line 952 of file Leap.py.

◆ SwipeGesture_swigregister

def Leap.SwipeGesture_swigregister = LeapPython.SwipeGesture_swigregister

Definition at line 947 of file Leap.py.

◆ Tool_swigregister

def Leap.Tool_swigregister = LeapPython.Tool_swigregister

Definition at line 704 of file Leap.py.

◆ ToolList_swigregister

def Leap.ToolList_swigregister = LeapPython.ToolList_swigregister

Definition at line 1550 of file Leap.py.

◆ TrackedQuad_swigregister

def Leap.TrackedQuad_swigregister = LeapPython.TrackedQuad_swigregister

Definition at line 1823 of file Leap.py.

◆ up

Leap.up

Definition at line 346 of file Leap.py.

◆ Vector_swigregister

def Leap.Vector_swigregister = LeapPython.Vector_swigregister

Definition at line 331 of file Leap.py.

◆ weakref_proxy

Leap.weakref_proxy = weakref.proxy

Definition at line 92 of file Leap.py.

◆ x_axis

Leap.x_axis

Definition at line 339 of file Leap.py.

◆ y_axis

Leap.y_axis

Definition at line 340 of file Leap.py.

◆ z_axis

Leap.z_axis

Definition at line 341 of file Leap.py.

◆ zero

Leap.zero

Definition at line 338 of file Leap.py.



leap_motion
Author(s): Florian Lier , Mirza Shah , Isaac IY Saito
autogenerated on Mon Feb 28 2022 22:41:07