Vuo
2.0.0
|
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 . More... | |
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. More... | |
VuoLeapPointable | VuoLeapPointable_makeFromJson (json_object *js) |
Decodes the JSON object js to create a new value. More... | |
json_object * | VuoLeapPointable_getJson (const VuoLeapPointable value) |
Encodes value as a JSON object. More... | |
char * | VuoLeapPointable_getSummary (const VuoLeapPointable value) |
Returns a compact string representation of value . More... | |
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. More... | |
VuoLeapPointable | VuoLeapPointable_makeFromString (const char *initializer) |
Automatically generated function. More... | |
char * | VuoLeapPointable_getString (const VuoLeapPointable value) |
Automatically generated function. More... | |
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 |
char* VuoLeapHand_getSummary | ( | const VuoLeapHand | value | ) |
Returns a compact string representation of value
.
Definition at line 118 of file VuoLeapHand.c.
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.
Definition at line 127 of file VuoLeapHand.c.
struct json_object * VuoLeapPointable_getJson | ( | const VuoLeapPointable | value | ) |
Encodes value
as a JSON object.
Definition at line 73 of file VuoLeapPointable.c.
char* VuoLeapPointable_getString | ( | const VuoLeapPointable | value | ) |
Automatically generated function.
char * VuoLeapPointable_getSummary | ( | const VuoLeapPointable | value | ) |
Returns a compact string representation of value
.
Definition at line 117 of file VuoLeapPointable.c.
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.
Definition at line 126 of file VuoLeapPointable.c.
VuoLeapPointable VuoLeapPointable_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
to create a new value.
Definition at line 52 of file VuoLeapPointable.c.
VuoLeapPointable VuoLeapPointable_makeFromString | ( | const char * | initializer | ) |
Automatically generated function.