Ejemplo n.º 1
0
 /**
  * Takes the atttibutes of the provided TuioHand
  * and assigns these values to this TuioHand.
  * The TuioTime time stamp of this TuioContainer remains unchanged.
  *
  * @param	tobj	the TuioContainer to assign
  */
 public void update(TuioHand thand)
 {
     base.update(thand);
     hand_id = thand.getHandID();
     finger_id1 = thand.getFingerID1();
     finger_id2 = thand.getFingerID2();
     finger_id3 = thand.getFingerID3();
     finger_id4 = thand.getFingerID4();
     finger_id5 = thand.getFingerID5();
 }
Ejemplo n.º 2
0
 /**
  * This constructor takes the atttibutes of the provided TuioHand
  * and assigs these values to the newly created TuioHand.
  *
  * @param	thand	the TuioHand to assign
  */
 public TuioHand(TuioHand thand)
     : base(thand)
 {
     hand_id = thand.getHandID();
     finger_id1 = thand.getFingerID1();
     finger_id2 = thand.getFingerID2();
     finger_id3 = thand.getFingerID3();
     finger_id4 = thand.getFingerID4();
     finger_id5 = thand.getFingerID5();
 }