/** server loop */
 public void run() {
   log.info("Started Kinect Server Thread.");
   while (true) {
     try {
       ctx.update();
       Thread.sleep(10);
     } catch (InterruptedException e) {
       // TODO Auto-generated catch block
       e.printStackTrace();
     }
   }
 }
 /**
  * get a joint position for first skeleton
  *
  * @param j
  * @return
  */
 public Point3f getJointPosition(Integer j) {
   return ctx.getSkeletonJointPosition(1, j);
 }
 /**
  * get a skeleton joint position
  *
  * @param id
  * @param j
  * @return
  */
 public Point3f getJointPosition(long id, Integer j) {
   return ctx.getSkeletonJointPosition(id, j);
 }