public void OnPointCreate(XnVHandPointContext cxt) { // create a new list println("mano" + cxt.getNID()); addPoint( cxt.getNID(), new PVector( cxt.getPtPosition().getX(), cxt.getPtPosition().getY(), cxt.getPtPosition().getZ())); println("OnPointCreate, handId: " + cxt.getNID()); }
public void OnPointUpdate(XnVHandPointContext cxt) { // println("OnPointUpdate " + cxt.getPtPosition()); addPoint( cxt.getNID(), new PVector( cxt.getPtPosition().getX(), cxt.getPtPosition().getY(), cxt.getPtPosition().getZ())); }