Coordinates of a single Leap "pointable" (a finger or tool).
|
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.
|
|
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.
Creates a new pointable from the specified values.
Automatically generated function.
Returns a compact string representation of value
.
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}
}
Automatically generated function.