de.voidplus.leapmotion
Class KeyTapGesture

java.lang.Object
  extended by de.voidplus.leapmotion.Gesture
      extended by de.voidplus.leapmotion.KeyTapGesture

public class KeyTapGesture
extends Gesture


Constructor Summary
KeyTapGesture(PApplet parent, LeapMotion leap, com.leapmotion.leap.Gesture gesture)
           
 
Method Summary
 PVector getDirection()
          The direction of finger tip motion.
 Finger getFinger()
          The finger performing the key tap gesture.
 PVector getPosition()
          The position where the key tap is registered.
 PVector getRawDirection()
          Raw data of the position where the key tap is registered.
 PVector getRawPosition()
          Raw data of the position where the key tap is registered.
 
Methods inherited from class de.voidplus.leapmotion.Gesture
countHands, getDuration, getDurationInSeconds, getHands, getId, hasHands
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyTapGesture

public KeyTapGesture(PApplet parent,
                     LeapMotion leap,
                     com.leapmotion.leap.Gesture gesture)
Method Detail

getPosition

public PVector getPosition()
The position where the key tap is registered.

Returns:

getRawPosition

public PVector getRawPosition()
Raw data of the position where the key tap is registered.

Returns:

getDirection

public PVector getDirection()
The direction of finger tip motion.

Returns:

getRawDirection

public PVector getRawDirection()
Raw data of the position where the key tap is registered.

Returns:

getFinger

public Finger getFinger()
The finger performing the key tap gesture.

Returns:


Processing library LeapMotionForProcessing by Darius Morawiec. (C) 2013