public class TUIOFiducialObject extends TUIOObjectRepresentation
Constructor and Description |
---|
TUIOFiducialObject(long id,
int fiducial_id)
Instantiates a new TUIO fiducial object.
|
Modifier and Type | Method and Description |
---|---|
float |
getAngle()
Gets the angle.
|
float |
getAngleAcceleration()
Gets the angle acceleration.
|
float |
getAngleVelocity()
Gets the angle velocity.
|
int |
getFiducialId()
Gets the fiducial id.
|
void |
setAngle(float angle)
Sets the angle.
|
void |
setAngleAcceleration(float r_accel)
Sets the angle acceleration.
|
void |
setAngleVelocity(float r_speed)
Sets the angle velocity.
|
void |
setFiducialId(int fiducialId)
Sets the fiducial id.
|
java.lang.String |
toString() |
getCreationTime, getId, getPosition, getVelocity, setCreationTime, setId, setPosition, setVelocity
public TUIOFiducialObject(long id, int fiducial_id)
id
- the idfiducial_id
- the fiducial_idpublic float getAngle()
public float getAngleAcceleration()
public float getAngleVelocity()
public int getFiducialId()
public void setAngle(float angle)
angle
- the new anglepublic void setAngleAcceleration(float r_accel)
r_accel
- the new angle accelerationpublic void setAngleVelocity(float r_speed)
r_speed
- the new angle velocitypublic void setFiducialId(int fiducialId)
fiducialId
- the new fiducial idpublic java.lang.String toString()
toString
in class java.lang.Object