diff -r 000000000000 -r 6fefd4afe506 front_processing/extern/TUIO_JAVA/doc/TUIO/TuioObject.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/front_processing/extern/TUIO_JAVA/doc/TUIO/TuioObject.html Fri Mar 09 14:52:11 2012 +0100 @@ -0,0 +1,1285 @@ + + + +
+ +
+
+
|
++ + | +|||||||
| + PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES + + + + + | +|||||||
| + SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +|||||||
+java.lang.Object ++TUIO.TuioPoint +
TUIO.TuioObject +
public class TuioObject
+The TuioObject class encapsulates /tuio/2Dobj TUIO objects. +
+ +
+
| +Field Summary | +|
|---|---|
+protected float |
+angle
+
++ The rotation angle value. |
+
+protected float |
+motion_accel
+
++ The motion acceleration value. |
+
+protected float |
+motion_speed
+
++ The motion speed value. |
+
+protected java.util.Vector<TuioPoint> |
+path
+
++ A Vector of TuioPoints containing all the previous positions of the TUIO component. |
+
+protected float |
+rotation_accel
+
++ The rotation acceleration value. |
+
+protected float |
+rotation_speed
+
++ The rotation speed value. |
+
+protected long |
+session_id
+
++ The unique session ID number that is assigned to each TUIO object or cursor. |
+
+protected int |
+state
+
++ Reflects the current state of the TuioComponent |
+
+protected int |
+symbol_id
+
++ The individual symbol ID number that is assigned to each TuioObject. |
+
+static int |
+TUIO_ACCELERATING
+
++ Defines the ACCELERATING state. |
+
+static int |
+TUIO_ADDED
+
++ Defines the ADDED state. |
+
+static int |
+TUIO_DECELERATING
+
++ Defines the DECELERATING state. |
+
+static int |
+TUIO_REMOVED
+
++ Defines the REMOVED state. |
+
+static int |
+TUIO_ROTATING
+
++ Defines the ROTATING state. |
+
+static int |
+TUIO_STOPPED
+
++ Defines the STOPPED state. |
+
+protected float |
+x_speed
+
++ The X-axis velocity value. |
+
+protected float |
+y_speed
+
++ The Y-axis velocity value. |
+
| Fields inherited from class TUIO.TuioPoint | +
|---|
currentTime, startTime, xpos, ypos |
+
| +Constructor Summary | +|
|---|---|
TuioObject(long si,
+ int sym,
+ float xp,
+ float yp,
+ float a)
+
++ This constructor takes the provided Session ID, Symbol ID, X and Y coordinate + and angle, and assigs these values to the newly created TuioObject. |
+|
TuioObject(TuioObject tobj)
+
++ This constructor takes the atttibutes of the provided TuioObject + and assigs these values to the newly created TuioObject. |
+|
TuioObject(TuioTime ttime,
+ long si,
+ int sym,
+ float xp,
+ float yp,
+ float a)
+
++ This constructor takes a TuioTime argument and assigns it along with the provided + Session ID, Symbol ID, X and Y coordinate and angle to the newly created TuioObject. |
+|
| +Method Summary | +|
|---|---|
+ float |
+getAngle()
+
++ Returns the rotation angle of this TuioObject. |
+
+ float |
+getAngleDegrees()
+
++ Returns the rotation angle in degrees of this TuioObject. |
+
+ float |
+getMotionAccel()
+
++ Returns the motion acceleration of this TuioContainer. |
+
+ float |
+getMotionSpeed()
+
++ Returns the motion speed of this TuioContainer. |
+
+ java.util.Vector<TuioPoint> |
+getPath()
+
++ Returns the path of this TuioContainer. |
+
+ TuioPoint |
+getPosition()
+
++ Returns the position of this TuioContainer. |
+
+ float |
+getRotationAccel()
+
++ Returns the rotation acceleration of this TuioObject. |
+
+ float |
+getRotationSpeed()
+
++ Returns the rotation speed of this TuioObject. |
+
+ long |
+getSessionID()
+
++ Returns the Session ID of this TuioContainer. |
+
+ int |
+getSymbolID()
+
++ Returns the symbol ID of this TuioObject. |
+
+ int |
+getTuioState()
+
++ Returns the TUIO state of this TuioContainer. |
+
+ float |
+getXSpeed()
+
++ Returns the X velocity of this TuioContainer. |
+
+ float |
+getYSpeed()
+
++ Returns the Y velocity of this TuioContainer. |
+
+ boolean |
+isMoving()
+
++ Returns true of this TuioObject is moving. |
+
+ void |
+remove(TuioTime ttime)
+
++ Assigns the REMOVE state to this TuioContainer and sets + its TuioTime time stamp to the provided TuioTime argument. |
+
+ void |
+stop(TuioTime ttime)
+
++ This method is used to calculate the speed and acceleration values of a + TuioObject with unchanged position and angle. |
+
+ void |
+update(float xp,
+ float yp,
+ float xs,
+ float ys,
+ float ma)
+
++ Assigns the provided X and Y coordinate, X and Y velocity and acceleration + to the private TuioContainer attributes. |
+
+ void |
+update(float xp,
+ float yp,
+ float a,
+ float xs,
+ float ys,
+ float rs,
+ float ma,
+ float ra)
+
++ Assigns the provided X and Y coordinate, angle, X and Y velocity, motion acceleration + rotation velocity and rotation acceleration to the private TuioContainer attributes. |
+
+ void |
+update(TUIO.TuioContainer tcon)
+
++ Takes the atttibutes of the provided TuioContainer + and assigs these values to this TuioContainer. |
+
+ void |
+update(TuioObject tobj)
+
++ Takes the atttibutes of the provided TuioObject + and assigs these values to this TuioObject. |
+
+ void |
+update(TuioTime ttime,
+ float xp,
+ float yp)
+
++ Takes a TuioTime argument and assigns it along with the provided + X and Y coordinate to the private TuioContainer attributes. |
+
+ void |
+update(TuioTime ttime,
+ float xp,
+ float yp,
+ float a)
+
++ Takes a TuioTime argument and assigns it along with the provided + X and Y coordinate and angle to the private TuioObject attributes. |
+
+ void |
+update(TuioTime ttime,
+ float xp,
+ float yp,
+ float xs,
+ float ys,
+ float ma)
+
++ Takes a TuioTime argument and assigns it along with the provided + X and Y coordinate, X and Y velocity and acceleration + to the private TuioContainer attributes. |
+
+ void |
+update(TuioTime ttime,
+ float xp,
+ float yp,
+ float a,
+ float xs,
+ float ys,
+ float rs,
+ float ma,
+ float ra)
+
++ Takes a TuioTime argument and assigns it along with the provided + X and Y coordinate, angle, X and Y velocity, motion acceleration, + rotation speed and rotation acceleration to the private TuioObject attributes. |
+
| Methods inherited from class TUIO.TuioPoint | +
|---|
getAngle, getAngle, getAngleDegrees, getAngleDegrees, getDistance, getDistance, getScreenX, getScreenY, getStartTime, getTuioTime, getX, getY, update, update |
+
| Methods inherited from class java.lang.Object | +
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
+
| +Field Detail | +
|---|
+protected int symbol_id+
+
+protected float angle+
+
+protected float rotation_speed+
+
+protected float rotation_accel+
+
+public static final int TUIO_ROTATING+
+
+protected long session_id+
+
+protected float x_speed+
+
+protected float y_speed+
+
+protected float motion_speed+
+
+protected float motion_accel+
+
+protected java.util.Vector<TuioPoint> path+
+
+public static final int TUIO_ADDED+
+
+public static final int TUIO_ACCELERATING+
+
+public static final int TUIO_DECELERATING+
+
+public static final int TUIO_STOPPED+
+
+public static final int TUIO_REMOVED+
+
+protected int state+
+
| +Constructor Detail | +
|---|
+public TuioObject(TuioTime ttime, + long si, + int sym, + float xp, + float yp, + float a)+
+
ttime - the TuioTime to assignsi - the Session ID to assignsym - the Symbol ID to assignxp - the X coordinate to assignyp - the Y coordinate to assigna - the angle to assign+public TuioObject(long si, + int sym, + float xp, + float yp, + float a)+
+
si - the Session ID to assignsym - the Symbol ID to assignxp - the X coordinate to assignyp - the Y coordinate to assigna - the angle to assign+public TuioObject(TuioObject tobj)+
+
tobj - the TuioObject to assign| +Method Detail | +
|---|
+public void update(TuioTime ttime, + float xp, + float yp, + float a, + float xs, + float ys, + float rs, + float ma, + float ra)+
+
ttime - the TuioTime to assignxp - the X coordinate to assignyp - the Y coordinate to assigna - the angle coordinate to assignxs - the X velocity to assignys - the Y velocity to assignrs - the rotation velocity to assignma - the motion acceleration to assignra - the rotation acceleration to assign+public void update(float xp, + float yp, + float a, + float xs, + float ys, + float rs, + float ma, + float ra)+
+
xp - the X coordinate to assignyp - the Y coordinate to assigna - the angle coordinate to assignxs - the X velocity to assignys - the Y velocity to assignrs - the rotation velocity to assignma - the motion acceleration to assignra - the rotation acceleration to assign+public void update(TuioTime ttime, + float xp, + float yp, + float a)+
+
ttime - the TuioTime to assignxp - the X coordinate to assignyp - the Y coordinate to assigna - the angle coordinate to assign+public void update(TuioObject tobj)+
+
tobj - the TuioContainer to assign+public void stop(TuioTime ttime)+
+
ttime - the TuioTime to assign+public int getSymbolID()+
+
+public float getAngle()+
+
+public float getAngleDegrees()+
+
+public float getRotationSpeed()+
+
+public float getRotationAccel()+
+
+public boolean isMoving()+
+
+public void update(TuioTime ttime, + float xp, + float yp)+
+
update in class TuioPointttime - the TuioTime to assignxp - the X coordinate to assignyp - the Y coordinate to assign+public void update(TuioTime ttime, + float xp, + float yp, + float xs, + float ys, + float ma)+
+
ttime - the TuioTime to assignxp - the X coordinate to assignyp - the Y coordinate to assignxs - the X velocity to assignys - the Y velocity to assignma - the acceleration to assign+public void update(float xp, + float yp, + float xs, + float ys, + float ma)+
+
xp - the X coordinate to assignyp - the Y coordinate to assignxs - the X velocity to assignys - the Y velocity to assignma - the acceleration to assign+public void update(TUIO.TuioContainer tcon)+
+
tcon - the TuioContainer to assign+public void remove(TuioTime ttime)+
+
ttime - the TuioTime to assign+public long getSessionID()+
+
+public float getXSpeed()+
+
+public float getYSpeed()+
+
+public TuioPoint getPosition()+
+
+public java.util.Vector<TuioPoint> getPath()+
+
+public float getMotionSpeed()+
+
+public float getMotionAccel()+
+
+public int getTuioState()+
+
+
+
|
++ + | +|||||||
| + PREV CLASS + NEXT CLASS | ++ FRAMES + NO FRAMES + + + + + | +|||||||
| + SUMMARY: NESTED | FIELD | CONSTR | METHOD | ++DETAIL: FIELD | CONSTR | METHOD | +|||||||