LeapMotion Scol plugin
Public Member Functions | Protected Attributes | List of all members
sLeapMotion Class Reference

#include <sLeapMotion.h>

Inheritance diagram for sLeapMotion:

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< SCbDataGetHandFingers (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
 

Detailed Description

sLeapMotion class

Definition at line 109 of file sLeapMotion.h.

Constructor & Destructor Documentation

◆ sLeapMotion()

sLeapMotion::sLeapMotion ( )

Ctor.

Definition at line 35 of file sLeapMotion.cpp.

◆ ~sLeapMotion()

sLeapMotion::~sLeapMotion ( )

Dtor

Definition at line 49 of file sLeapMotion.cpp.


The documentation for this class was generated from the following files: