--- a/front_processing/extern/TUIO_JAVA/src/TUIO/TuioCursor.java Thu Mar 22 16:00:17 2012 +0100
+++ b/front_processing/extern/TUIO_JAVA/src/TUIO/TuioCursor.java Thu Mar 22 18:15:53 2012 +0100
@@ -1,8 +1,8 @@
-/*
- TUIO Java backend - part of the reacTIVision project
- http://reactivision.sourceforge.net/
+/*
+ TUIO Java backend - part of the reacTIVision project
+ http://reactivision.sourceforge.net/
- Copyright (c) 2005-2009 Martin Kaltenbrunner <mkalten@iua.upf.edu>
+ Copyright (c) 2005-2009 Martin Kaltenbrunner <mkalten@iua.upf.edu>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -28,88 +28,88 @@
*/
public class TuioCursor extends TuioContainer {
- /**
- * The individual cursor ID number that is assigned to each TuioCursor.
- */
- protected int cursor_id;
-
- /**
- * This constructor takes a TuioTime argument and assigns it along with the provided
- * Session ID, Cursor ID, X and Y 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
- */
- public TuioCursor (TuioTime ttime, long si, int ci, float xp, float yp) {
- super(ttime, si,xp,yp);
- this.cursor_id = ci;
- }
-
- /**
- * 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.
- *
- * @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
- */
- public TuioCursor (long si, int ci, float xp, float yp) {
- 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;
- }
+ /**
+ * The individual cursor ID number that is assigned to each TuioCursor.
+ */
+ protected int cursor_id;
+
+ /**
+ * This constructor takes a TuioTime argument and assigns it along with the provided
+ * Session ID, Cursor ID, X and Y 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
+ */
+ public TuioCursor (TuioTime ttime, long si, int ci, float xp, float yp) {
+ super(ttime, si,xp,yp);
+ this.cursor_id = ci;
+ }
+
+ /**
+ * 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.
+ *
+ * @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
+ */
+ public TuioCursor (long si, int ci, float xp, float yp) {
+ 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
- * and assigs these values to the newly created TuioCursor.
- *
- * @param tcur the TuioCursor to assign
- */
- public TuioCursor (TuioCursor tcur) {
- super(tcur);
- this.cursor_id = tcur.getCursorID();
- }
-
- /**
- * Returns the Cursor ID of this TuioCursor.
- * @return the Cursor ID of this TuioCursor
- */
- public int getCursorID() {
- return cursor_id;
- }
-
+ /**
+ * This constructor takes the atttibutes of the provided TuioCursor
+ * and assigs these values to the newly created TuioCursor.
+ *
+ * @param tcur the TuioCursor to assign
+ */
+ public TuioCursor (TuioCursor tcur) {
+ super(tcur);
+ this.cursor_id = tcur.getCursorID();
+ }
+
+ /**
+ * Returns the Cursor ID of this TuioCursor.
+ * @return the Cursor ID of this TuioCursor
+ */
+ public int getCursorID() {
+ return cursor_id;
+ }
+
}