Vuo 2.4.2
Loading...
Searching...
No Matches
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"
18
19
31typedef 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
49
51
53struct json_object * VuoLeapHand_getJson(const VuoLeapHand value);
54char * VuoLeapHand_getSummary(const VuoLeapHand value);
55
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,
71
73
80