Vuo
2.3.2
node
vuo.leap
VuoLeapHand.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
VuoInteger.h
"
13
#include "
VuoPoint3d.h
"
14
#include "
VuoPoint4d.h
"
15
#include "
VuoReal.h
"
16
#include "
VuoLeapPointable.h
"
17
#include "
VuoList_VuoLeapPointable.h
"
18
19
31
typedef
struct
32
{
33
VuoInteger
id;
34
VuoPoint4d rotation;
// Quaternion.
35
VuoPoint3d palmPosition;
36
VuoPoint3d palmVelocity;
37
VuoReal
sphereRadius;
38
VuoPoint3d sphereCenter;
39
40
VuoReal
palmWidth;
// VuoCoordinates
41
VuoPoint3d wristPosition;
// VuoCoordinates
42
VuoReal
pinchAmount;
// 0,1 range
43
VuoReal
grabAmount;
// 0,1 range
44
VuoReal
timeVisible;
45
VuoBoolean
isLeftHand;
// Is this *not* your right hand?
46
VuoReal
confidence;
// 0,1 range
47
48
VuoList_VuoLeapPointable
fingers;
49
50
}
VuoLeapHand
;
51
52
VuoLeapHand
VuoLeapHand_makeFromJson
(
struct
json_object
* js);
53
struct
json_object
*
VuoLeapHand_getJson
(
const
VuoLeapHand
value);
54
char
*
VuoLeapHand_getSummary
(
const
VuoLeapHand
value);
55
56
VuoLeapHand
VuoLeapHand_make
(
57
VuoInteger
id
,
58
VuoPoint4d rotation,
59
VuoPoint3d palmPosition,
60
VuoPoint3d palmVelocity,
61
VuoReal
sphereRadius,
62
VuoPoint3d sphereCenter,
63
VuoReal
palmWidth,
64
VuoPoint3d wristPosition,
65
VuoReal
pinchAmount,
66
VuoReal
grabAmount,
67
VuoReal
timeVisible,
68
VuoBoolean
isLeftHand,
69
VuoReal
confidence,
70
VuoList_VuoLeapPointable
fingers);
71
73
76
VuoLeapHand
VuoLeapHand_makeFromString
(
const
char
* initializer);
77
char
*
VuoLeapHand_getString
(
const
VuoLeapHand
value);
78
void
VuoLeapHand_retain
(
VuoLeapHand
value);
79
void
VuoLeapHand_release
(
VuoLeapHand
value);
81
Generated on Sat Jun 19 2021 10:17:46 for Vuo by
1.9.1