de.voidplus.leapmotion
Class CircleGesture

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

public class CircleGesture
extends Gesture


Constructor Summary
CircleGesture(PApplet parent, LeapMotion leap, com.leapmotion.leap.Gesture gesture)
           
 
Method Summary
 PVector getCenter()
          The center point of the circle within the Leap frame of reference.
 Finger getFinger()
          The finger performing the circle gesture.
 PVector getNormal()
          Returns the normal vector for the circle being traced.
 float getProgress()
          The number of times the finger tip has traversed the circle.
 float getRadius()
          The radius of the circle.
 PVector getRawCenter()
          Raw data of the center point of the circle within the Leap frame of reference.
 PVector getRawNormal()
          Raw data the normal vector for the circle being traced.
 
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

CircleGesture

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

getCenter

public PVector getCenter()
The center point of the circle within the Leap frame of reference.

Returns:

getRawCenter

public PVector getRawCenter()
Raw data of the center point of the circle within the Leap frame of reference.

Returns:

getNormal

public PVector getNormal()
Returns the normal vector for the circle being traced.

Returns:

getRawNormal

public PVector getRawNormal()
Raw data the normal vector for the circle being traced.

Returns:

getProgress

public float getProgress()
The number of times the finger tip has traversed the circle.

Returns:

getRadius

public float getRadius()
The radius of the circle.

Returns:

getFinger

public Finger getFinger()
The finger performing the circle gesture.

Returns:


Processing library LeapMotionForProcessing by Darius Morawiec. (C) 2013