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  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
< SceneObject
SceneObjectPtr

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
def _swig_getattr_nondynamic
def _swig_repr
def _swig_setattr
def _swig_setattr_nondynamic
def byte_array_frompointer
def CircleGesture_class_type
void DefaultProcessSceneInteractions (Scene &scene)
def float_array_frompointer
def KeyTapGesture_class_type
def Mask_invalid
def ScreenTapGesture_class_type
def swig_import_helper
def SwipeGesture_class_type

Variables

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

Typedef Documentation

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

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.

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

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

Definition at line 70 of file Leap.py.

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

Definition at line 59 of file Leap.py.

def Leap._swig_repr (   self) [private]

Definition at line 74 of file Leap.py.

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

Definition at line 55 of file Leap.py.

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

Definition at line 39 of file Leap.py.

Definition at line 191 of file Leap.py.

Definition at line 994 of file Leap.py.

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.

Definition at line 225 of file Leap.py.

Definition at line 1076 of file Leap.py.

Definition at line 1393 of file Leap.py.

Definition at line 1035 of file Leap.py.

Definition at line 13 of file Leap.py.

Definition at line 950 of file Leap.py.


Variable Documentation

Leap::Arm_swigregister = LeapPython.Arm_swigregister

Definition at line 571 of file Leap.py.

Leap::Bone_swigregister = LeapPython.Bone_swigregister

Definition at line 634 of file Leap.py.

Leap::BugReport_swigregister = LeapPython.BugReport_swigregister

Definition at line 2080 of file Leap.py.

Leap::byte_array_frompointer = LeapPython.byte_array_frompointer

Definition at line 193 of file Leap.py.

Leap::byte_array_swigregister = LeapPython.byte_array_swigregister

Definition at line 188 of file Leap.py.

Leap::CircleGesture_class_type = LeapPython.CircleGesture_class_type

Definition at line 996 of file Leap.py.

Leap::CircleGesture_swigregister = LeapPython.CircleGesture_swigregister

Definition at line 991 of file Leap.py.

Leap::Config_swigregister = LeapPython.Config_swigregister

Definition at line 2142 of file Leap.py.

Leap::Controller_swigregister = LeapPython.Controller_swigregister

Definition at line 2228 of file Leap.py.

Leap::cvar = LeapPython.cvar

Definition at line 333 of file Leap.py.

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.

Leap::Device_swigregister = LeapPython.Device_swigregister

Definition at line 1215 of file Leap.py.

Leap::DeviceList_swigregister = LeapPython.DeviceList_swigregister

Definition at line 1722 of file Leap.py.

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.

Leap::Finger_swigregister = LeapPython.Finger_swigregister

Definition at line 678 of file Leap.py.

Leap::FingerList_swigregister = LeapPython.FingerList_swigregister

Definition at line 1501 of file Leap.py.

Leap::float_array_frompointer = LeapPython.float_array_frompointer

Definition at line 227 of file Leap.py.

Leap::float_array_swigregister = LeapPython.float_array_swigregister

Definition at line 222 of file Leap.py.

Leap::Frame_swigregister = LeapPython.Frame_swigregister

Definition at line 2042 of file Leap.py.

Leap::Gesture_swigregister = LeapPython.Gesture_swigregister

Definition at line 906 of file Leap.py.

Leap::GestureList_swigregister = LeapPython.GestureList_swigregister

Definition at line 1639 of file Leap.py.

Leap::Hand_swigregister = LeapPython.Hand_swigregister

Definition at line 838 of file Leap.py.

Leap::HandList_swigregister = LeapPython.HandList_swigregister

Definition at line 1599 of file Leap.py.

Leap::Image_swigregister = LeapPython.Image_swigregister

Definition at line 1321 of file Leap.py.

Leap::ImageList_swigregister = LeapPython.ImageList_swigregister

Definition at line 1762 of file Leap.py.

Leap::InteractionBox_swigregister = LeapPython.InteractionBox_swigregister

Definition at line 1916 of file Leap.py.

Leap::Interface_swigregister = LeapPython.Interface_swigregister

Definition at line 436 of file Leap.py.

Leap::KeyTapGesture_class_type = LeapPython.KeyTapGesture_class_type

Definition at line 1078 of file Leap.py.

Leap::KeyTapGesture_swigregister = LeapPython.KeyTapGesture_swigregister

Definition at line 1073 of file Leap.py.

Definition at line 28 of file Leap.py.

Leap::Listener_swigregister = LeapPython.Listener_swigregister

Definition at line 2287 of file Leap.py.

Leap::Mask_invalid = LeapPython.Mask_invalid

Definition at line 1395 of file Leap.py.

Leap::Mask_swigregister = LeapPython.Mask_swigregister

Definition at line 1390 of file Leap.py.

Leap::MaskList_swigregister = LeapPython.MaskList_swigregister

Definition at line 1864 of file Leap.py.

Leap::Matrix_swigregister = LeapPython.Matrix_swigregister

Definition at line 423 of file Leap.py.

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.

Leap::Pointable_swigregister = LeapPython.Pointable_swigregister

Definition at line 518 of file Leap.py.

Leap::PointableList_swigregister = LeapPython.PointableList_swigregister

Definition at line 1446 of file Leap.py.

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.

Leap::Screen_swigregister = LeapPython.Screen_swigregister

Definition at line 1141 of file Leap.py.

Leap::ScreenList_swigregister = LeapPython.ScreenList_swigregister

Definition at line 1682 of file Leap.py.

Leap::ScreenTapGesture_class_type = LeapPython.ScreenTapGesture_class_type

Definition at line 1037 of file Leap.py.

Leap::ScreenTapGesture_swigregister = LeapPython.ScreenTapGesture_swigregister

Definition at line 1032 of file Leap.py.

Leap::SwigPyIterator_swigregister = LeapPython.SwigPyIterator_swigregister

Definition at line 158 of file Leap.py.

Leap::SwipeGesture_class_type = LeapPython.SwipeGesture_class_type

Definition at line 952 of file Leap.py.

Leap::SwipeGesture_swigregister = LeapPython.SwipeGesture_swigregister

Definition at line 947 of file Leap.py.

Leap::Tool_swigregister = LeapPython.Tool_swigregister

Definition at line 704 of file Leap.py.

Leap::ToolList_swigregister = LeapPython.ToolList_swigregister

Definition at line 1550 of file Leap.py.

Leap::TrackedQuad_swigregister = LeapPython.TrackedQuad_swigregister

Definition at line 1823 of file Leap.py.

Leap::Vector_swigregister = LeapPython.Vector_swigregister

Definition at line 331 of file Leap.py.

Leap::weakref_proxy = weakref.proxy

Definition at line 92 of file Leap.py.



leap_motion
Author(s): Florian Lier , Mirza Shah , Isaac IY Saito
autogenerated on Sat Jun 8 2019 18:47:25