|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.voidplus.leapmotion.Gesture
de.voidplus.leapmotion.SwipeGesture
public class SwipeGesture
Constructor Summary | |
---|---|
SwipeGesture(PApplet parent,
LeapMotion leap,
com.leapmotion.leap.Gesture gesture)
|
Method Summary | |
---|---|
PVector |
getDirection()
The unit direction vector parallel to the swipe motion. |
Finger |
getFinger()
The finger performing the swipe gesture. |
PVector |
getPosition()
The current position of the swipe. |
PVector |
getRawDirection()
Raw data of the unit direction vector parallel to the swipe motion. |
PVector |
getRawPosition()
Raw data of the current position of the swipe. |
PVector |
getRawStartPosition()
Raw data of the position where the swipe began. |
float |
getSpeed()
The swipe speed in mm/second. |
PVector |
getStartPosition()
The position where the swipe began. |
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 |
---|
public SwipeGesture(PApplet parent, LeapMotion leap, com.leapmotion.leap.Gesture gesture)
Method Detail |
---|
public PVector getPosition()
public PVector getRawPosition()
public PVector getStartPosition()
public PVector getRawStartPosition()
public PVector getDirection()
public PVector getRawDirection()
public float getSpeed()
public Finger getFinger()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |