Package com.leapmotion.leap

Examples of com.leapmotion.leap.Tool


    this.lastDetectedTool = new HashMap<Integer, Tool>();

    this.lastDetectedFinger.put(0, new Finger());
    this.lastDetectedPointable.put(0, new Pointable());
    this.lastDetectedHand.put(0, new Hand());
    this.lastDetectedTool.put(0, new Tool());

    // this is neccessary because the velocity of all objects has an offset.
    this.velocityOffsetTestFinger = new Finger();
  }
View Full Code Here


   *
   * @param toolNr
   * @return
   */
  public Tool getTool(int toolNr) {
    Tool returnTool = null;
    if (!getToolList().isEmpty()) {
      this.lastDetectedTool.put(toolNr, getToolList().get(toolNr));
    }
    // returnTool = lastDetectedTool.get(toolNr);
    int downCounter = 0;
View Full Code Here

TOP

Related Classes of com.leapmotion.leap.Tool

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.