de.voidplus.leapmotion
Class ScreenTapGesture

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

public class ScreenTapGesture
extends Gesture


Constructor Summary
ScreenTapGesture(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 screen tap gesture.
 PVector getPosition()
          The position where the screen tap is registered.
 PVector getRawDirection()
          Raw data of the direction of finger tip motion.
 PVector getRawPosition()
          Raw data of the position where the screen 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

ScreenTapGesture

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

getPosition

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

Returns:

getRawPosition

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

Returns:

getDirection

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

Returns:

getRawDirection

public PVector getRawDirection()
Raw data of the direction of finger tip motion.

Returns:

getFinger

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

Returns:


Processing library LeapMotionForProcessing by Darius Morawiec. (C) 2013