VuoLeap interface.
Definition in file VuoLeap.h.
Go to the source code of this file.
Typedefs | |
typedef void * | VuoLeap |
An object for listening to a Leap Motion controller. More... | |
Functions | |
VuoLeap | VuoLeap_startListening (VuoOutputTrigger(receivedFrame, VuoLeapFrame)) |
Starts listening for Leap frames. More... | |
void | VuoLeap_stopListening (VuoLeap leap) |
Stops listening for Leap frames. More... | |
typedef void* VuoLeap |
VuoLeap VuoLeap_startListening | ( | VuoOutputTrigger(receivedFrame, VuoLeapFrame) | ) |
Starts listening for Leap frames.
When a frame is received, the specified trigger function is called.
Returns an object that can be used to stop listening.
May be called multiple times per process, since the Leap SDK kindly allows multiple instances of Leap::Controller
.
Definition at line 257 of file VuoLeap.cc.
void VuoLeap_stopListening | ( | VuoLeap | leap | ) |
Stops listening for Leap frames.
Definition at line 274 of file VuoLeap.cc.