Vuo  1.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
VuoLeapPointable

Description

Coordinates of a single Leap "pointable" (a finger or tool).

Classes

struct  VuoLeapPointable
 Coordinates of a single Leap "pointable" (a finger or tool). More...
 

Functions

char * VuoLeapHand_getSummary (const VuoLeapHand value)
 Returns a compact string representation of value.
 
VuoLeapHand VuoLeapHand_make (VuoInteger id, VuoPoint4d rotation, VuoPoint3d palmPosition, VuoPoint3d palmVelocity, VuoReal sphereRadius, VuoPoint3d sphereCenter, VuoReal palmWidth, VuoPoint3d wristPosition, VuoReal pinchAmount, VuoReal grabAmount, VuoReal timeVisible, VuoBoolean isLeftHand, VuoReal confidence, VuoList_VuoLeapPointable fingers)
 Creates a new pointable from the specified values.
 
VuoLeapPointable VuoLeapPointable_makeFromJson (json_object *js)
 Decodes the JSON object js to create a new value.
 
json_objectVuoLeapPointable_getJson (const VuoLeapPointable value)
 Encodes value as a JSON object.
 
char * VuoLeapPointable_getSummary (const VuoLeapPointable value)
 Returns a compact string representation of value.
 
VuoLeapPointable VuoLeapPointable_make (VuoInteger id, VuoLeapPointableType type, VuoReal length, VuoReal width, VuoPoint3d direction, VuoPoint3d tipPosition, VuoPoint3d tipVelocity, VuoReal timeVisible, VuoReal touchDistance, VuoLeapTouchZone touchZone, VuoBoolean isExtended)
 Creates a new pointable from the specified values.
 
VuoLeapPointable VuoLeapPointable_makeFromString (const char *initializer)
 Automatically generated function.
 
char * VuoLeapPointable_getString (const VuoLeapPointable value)
 Automatically generated function.
 

Class Documentation

struct VuoLeapPointable
Class Members
VuoPoint3d direction
VuoInteger id
VuoBoolean isExtended
VuoReal length
VuoReal timeVisible
VuoPoint3d tipPosition
VuoPoint3d tipVelocity
VuoReal touchDistance
VuoLeapTouchZone touchZone
VuoLeapPointableType type
VuoReal width

Function Documentation

char* VuoLeapHand_getSummary ( const VuoLeapHand  value)

Returns a compact string representation of value.

VuoLeapHand VuoLeapHand_make ( VuoInteger  id,
VuoPoint4d  rotation,
VuoPoint3d  palmPosition,
VuoPoint3d  palmVelocity,
VuoReal  sphereRadius,
VuoPoint3d  sphereCenter,
VuoReal  palmWidth,
VuoPoint3d  wristPosition,
VuoReal  pinchAmount,
VuoReal  grabAmount,
VuoReal  timeVisible,
VuoBoolean  isLeftHand,
VuoReal  confidence,
VuoList_VuoLeapPointable  fingers 
)

Creates a new pointable from the specified values.

struct json_object * VuoLeapPointable_getJson ( const VuoLeapPointable  value)
read

Encodes value as a JSON object.

char* VuoLeapPointable_getString ( const VuoLeapPointable  value)

Automatically generated function.

char * VuoLeapPointable_getSummary ( const VuoLeapPointable  value)

Returns a compact string representation of value.

VuoLeapPointable VuoLeapPointable_make ( VuoInteger  id,
VuoLeapPointableType  type,
VuoReal  length,
VuoReal  width,
VuoPoint3d  direction,
VuoPoint3d  tipPosition,
VuoPoint3d  tipVelocity,
VuoReal  timeVisible,
VuoReal  touchDistance,
VuoLeapTouchZone  touchZone,
VuoBoolean  isExtended 
)

Creates a new pointable from the specified values.

VuoLeapPointable VuoLeapPointable_makeFromJson ( json_object js)

Decodes the JSON object js to create a new value.

Example:
{
"id" : 42,
"type" : "finger",
"length" : 4.2,
"width" : 4.2,
"direction" : {"x":1,"y":1,"z":1},
"tipPosition" : {"x":1,"y":1,"z":1},
"tipVelocity" : {"x":1,"y":1,"z":1},
"timeVisible" : 2.3
"touchDistance" : 0.3
"touchZone" : "hovering",
"isExtended" : true
}
VuoLeapPointable VuoLeapPointable_makeFromString ( const char *  initializer)

Automatically generated function.