LeapMotion Scol plugin
|
#include <sLeapMotion.h>
Public Member Functions | |
sLeapMotion () | |
~sLeapMotion () | |
void | Init () |
virtual void | onInit (const Controller &) |
virtual void | onConnect (const Controller &) |
virtual void | onDisconnect (const Controller &) |
virtual void | onExit (const Controller &) |
virtual void | onFrame (const Controller &) |
virtual void | onFocusGained (const Controller &) |
virtual void | onFocusLost (const Controller &) |
bool | GetHand (int id, Hand &hand) |
bool | GetLeftHand (Hand &hand) |
bool | GetRightHand (Hand &hand) |
bool | GetHandPosition (const Hand hand, bool optim, Vector &vec) |
bool | GetHandOrientation (const Hand hand, Vector &vec) |
bool | GetHandDirection (const Hand hand, Vector &vec) |
bool | GetHandPalmNormal (const Hand hand, Vector &vec) |
bool | GetHandVelocity (const Hand hand, Vector &vec) |
std::vector< SCbData > | GetHandFingers (const Hand hand, bool optim=false) |
bool | GetTool (int id, Tool &tool) |
bool | GetToolPosition (const Tool tool, bool optim, Vector &vec) |
bool | GetToolOrientation (const Tool tool, Vector &vec) |
bool | GetToolVelocity (const Tool tool, Vector &vec) |
void | DetectHands (const HandList hands) |
void | DetectFingers (const Hand hand) |
void | DetectTools (const ToolList tools) |
void | DetectGestures (const GestureList gestures) |
void | SetTopTrackingEnable (bool state) |
bool | GetTopTrackingEnable () |
Protected Attributes | |
bool | mConnected |
sLeapMotion class
Definition at line 109 of file sLeapMotion.h.
sLeapMotion::sLeapMotion | ( | ) |
Ctor.
Definition at line 35 of file sLeapMotion.cpp.
sLeapMotion::~sLeapMotion | ( | ) |
Dtor
Definition at line 49 of file sLeapMotion.cpp.