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< 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 (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 | |
Arm_swigregister = LeapPython.Arm_swigregister | |
backward | |
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 | |
down | |
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 | |
forward | |
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 | |
identity | |
Image_swigregister = LeapPython.Image_swigregister | |
ImageList_swigregister = LeapPython.ImageList_swigregister | |
InteractionBox_swigregister = LeapPython.InteractionBox_swigregister | |
Interface_swigregister = LeapPython.Interface_swigregister | |
invalid | |
KeyTapGesture_class_type = LeapPython.KeyTapGesture_class_type | |
KeyTapGesture_swigregister = LeapPython.KeyTapGesture_swigregister | |
LeapPython = swig_import_helper() | |
left | |
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 |
right | |
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 | |
up | |
Vector_swigregister = LeapPython.Vector_swigregister | |
weakref_proxy = weakref.proxy | |
x_axis | |
y_axis | |
z_axis | |
zero | |
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.
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.
|
private |
|
private |
|
private |
|
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.
Leap.BugReport_swigregister = LeapPython.BugReport_swigregister |
Leap.byte_array_frompointer = LeapPython.byte_array_frompointer |
Leap.byte_array_swigregister = LeapPython.byte_array_swigregister |
Leap.CircleGesture_class_type = LeapPython.CircleGesture_class_type |
Leap.CircleGesture_swigregister = LeapPython.CircleGesture_swigregister |
Leap.Controller_swigregister = LeapPython.Controller_swigregister |
|
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.
Definition at line 30 of file LeapMath.h.
Leap.DeviceList_swigregister = LeapPython.DeviceList_swigregister |
|
static |
The difference between 1 and the least value greater than 1 that is representable as a float.
Definition at line 43 of file LeapMath.h.
Leap.FingerList_swigregister = LeapPython.FingerList_swigregister |
Leap.float_array_frompointer = LeapPython.float_array_frompointer |
Leap.float_array_swigregister = LeapPython.float_array_swigregister |
Leap.GestureList_swigregister = LeapPython.GestureList_swigregister |
Leap.HandList_swigregister = LeapPython.HandList_swigregister |
Leap.ImageList_swigregister = LeapPython.ImageList_swigregister |
Leap.InteractionBox_swigregister = LeapPython.InteractionBox_swigregister |
Leap.Interface_swigregister = LeapPython.Interface_swigregister |
Leap.KeyTapGesture_class_type = LeapPython.KeyTapGesture_class_type |
Leap.KeyTapGesture_swigregister = LeapPython.KeyTapGesture_swigregister |
Leap.LeapPython = swig_import_helper() |
Leap.Listener_swigregister = LeapPython.Listener_swigregister |
Leap.MaskList_swigregister = LeapPython.MaskList_swigregister |
|
static |
The constant pi as a single precision floating point number.
Definition at line 24 of file LeapMath.h.
Leap.Pointable_swigregister = LeapPython.Pointable_swigregister |
Leap.PointableList_swigregister = LeapPython.PointableList_swigregister |
|
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.
Definition at line 36 of file LeapMath.h.
Leap.ScreenList_swigregister = LeapPython.ScreenList_swigregister |
Leap.ScreenTapGesture_class_type = LeapPython.ScreenTapGesture_class_type |
Leap.ScreenTapGesture_swigregister = LeapPython.ScreenTapGesture_swigregister |
Leap.SwigPyIterator_swigregister = LeapPython.SwigPyIterator_swigregister |
Leap.SwipeGesture_class_type = LeapPython.SwipeGesture_class_type |
Leap.SwipeGesture_swigregister = LeapPython.SwipeGesture_swigregister |
Leap.ToolList_swigregister = LeapPython.ToolList_swigregister |
Leap.TrackedQuad_swigregister = LeapPython.TrackedQuad_swigregister |