front_processing/extern/TUIO_JAVA/src/TUIO/TuioCursor.java
changeset 3 92f19af39024
parent 0 6fefd4afe506
child 9 0f44b7360c8d
--- a/front_processing/extern/TUIO_JAVA/src/TUIO/TuioCursor.java	Fri Mar 09 18:15:12 2012 +0100
+++ b/front_processing/extern/TUIO_JAVA/src/TUIO/TuioCursor.java	Thu Mar 15 13:33:21 2012 +0100
@@ -49,6 +49,22 @@
 	}
 	
 	/**
+	 * This constructor takes a TuioTime argument and assigns it along  with the provided 
+	 * Session ID, Cursor ID, X, Y and Z coordinate to the newly created TuioCursor.
+	 *
+	 * @param	ttime	the TuioTime to assign
+	 * @param	si	the Session ID  to assign
+	 * @param	ci	the Cursor ID  to assign
+	 * @param	xp	the X coordinate to assign
+	 * @param	yp	the Y coordinate to assign
+	 * @param	zp	the Z coordinate to assign
+	 */
+	public TuioCursor (TuioTime ttime, long si, int ci, float xp, float yp, float zp) {
+		super(ttime, si,xp,yp,zp);
+		this.cursor_id = ci;
+	}
+	
+	/**
 	 * This constructor takes the provided Session ID, Cursor ID, X and Y coordinate 
 	 * and assigs these values to the newly created TuioCursor.
 	 *
@@ -61,6 +77,21 @@
 		super(si,xp,yp);
 		this.cursor_id = ci;
 	}
+	
+	/**
+	 * This constructor takes the provided Session ID, Cursor ID, X, Y and Z coordinate 
+	 * and assigs these values to the newly created TuioCursor.
+	 *
+	 * @param	si	the Session ID  to assign
+	 * @param	ci	the Cursor ID  to assign
+	 * @param	xp	the X coordinate to assign
+	 * @param	yp	the Y coordinate to assign
+	 * @param	zp	the Z coordinate to assign
+	 */
+	public TuioCursor (long si, int ci, float xp, float yp, float zp) {
+		super(si,xp,yp,zp);
+		this.cursor_id = ci;
+	}
 
 	/**
 	 * This constructor takes the atttibutes of the provided TuioCursor