Vuo  0.5.4
 All Classes 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_summaryFromValue (const VuoLeapHand value)
 Returns a compact string representation of value.
 
VuoLeapHand VuoLeapHand_make (VuoInteger id, VuoPoint3d direction, VuoPoint3d palmNormal, VuoPoint3d palmPosition, VuoPoint3d palmVelocity, VuoReal sphereRadius, VuoPoint3d sphereCenter, VuoList_VuoLeapPointable pointables)
 Creates a new pointable from the specified values.
 
VuoLeapPointable VuoLeapPointable_valueFromJson (json_object *js)
 Decodes the JSON object js to create a new value.
 
json_object * VuoLeapPointable_jsonFromValue (const VuoLeapPointable value)
 Encodes value as a JSON object.
 
char * VuoLeapPointable_summaryFromValue (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)
 Creates a new pointable from the specified values.
 
VuoLeapPointable VuoLeapPointable_valueFromString (const char *initializer)
 Automatically generated function.
 
char * VuoLeapPointable_stringFromValue (const VuoLeapPointable value)
 Automatically generated function.
 

Class Documentation

struct VuoLeapPointable
Class Members
VuoPoint3d direction
VuoInteger id
VuoReal length
VuoPoint3d tipPosition
VuoPoint3d tipVelocity
VuoLeapPointableType type
VuoReal width

Function Documentation

VuoLeapHand VuoLeapHand_make ( VuoInteger  id,
VuoPoint3d  direction,
VuoPoint3d  palmNormal,
VuoPoint3d  palmPosition,
VuoPoint3d  palmVelocity,
VuoReal  sphereRadius,
VuoPoint3d  sphereCenter,
VuoList_VuoLeapPointable  pointables 
)

Creates a new pointable from the specified values.

char* VuoLeapHand_summaryFromValue ( const VuoLeapHand  value)

Returns a compact string representation of value.

struct json_object * VuoLeapPointable_jsonFromValue ( const VuoLeapPointable  value)
read

Encodes value as a JSON object.

VuoLeapPointable VuoLeapPointable_make ( VuoInteger  id,
VuoLeapPointableType  type,
VuoReal  length,
VuoReal  width,
VuoPoint3d  direction,
VuoPoint3d  tipPosition,
VuoPoint3d  tipVelocity 
)

Creates a new pointable from the specified values.

char* VuoLeapPointable_stringFromValue ( const VuoLeapPointable  value)

Automatically generated function.

char * VuoLeapPointable_summaryFromValue ( const VuoLeapPointable  value)

Returns a compact string representation of value.

VuoLeapPointable VuoLeapPointable_valueFromJson ( 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}
}
VuoLeapPointable VuoLeapPointable_valueFromString ( const char *  initializer)

Automatically generated function.