|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.voidplus.leapmotion.Pointable
public class Pointable
Constructor Summary | |
---|---|
Pointable(PApplet parent,
LeapMotion leap,
com.leapmotion.leap.Pointable pointable)
|
Method Summary | |
---|---|
void |
draw()
|
void |
draw(float radius)
Draw the finger with all details. |
PVector |
getDirection()
The direction in which this finger is pointing. |
int |
getId()
Get the unique ID. |
float |
getLength()
The estimated length of the finger or tool in millimeters. |
PVector |
getPosition()
The tip position in millimeters. |
PVector |
getRawPosition()
Raw data of the tip position. |
PVector |
getRawStabilizedPosition()
Raw data of the stabilized tip position. |
PVector |
getRawVelocity()
Raw data of the rate of change of the tip position. |
PVector |
getStabilizedPosition()
The stabilized tip position in millimeters. |
float |
getTimeVisible()
The duration of time this Pointable has been visible to the Leap Motion Controller. |
float |
getTouchDistance()
A value proportional to the distance between this Pointable object and the adaptive touch plane. |
int |
getTouchZone()
The current touch zone of this Pointable object. |
PVector |
getVelocity()
The rate of change of the tip position in millimeters/second. |
boolean |
isValid()
Reports whether this is a valid Pointable object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Pointable(PApplet parent, LeapMotion leap, com.leapmotion.leap.Pointable pointable)
Method Detail |
---|
public int getId()
public PVector getPosition()
public PVector getRawPosition()
public PVector getStabilizedPosition()
public PVector getRawStabilizedPosition()
public PVector getVelocity()
public PVector getRawVelocity()
public PVector getDirection()
public float getTouchDistance()
public int getTouchZone()
public float getLength()
public float getTimeVisible()
public boolean isValid()
public void draw(float radius)
radius
- The radius of the ellipse (2D) or sphere (3D).public void draw()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |