public class TangibleEvent extends Object
Modifier and Type | Field and Description |
---|---|
protected float |
angle
The rotation angle value.
|
protected int |
eventType
The eventType, either TANGIBLE_ADDED, TANGIBLE_UPDATED, or
TANGIBLE_REMOVED
|
protected float |
rotationAccel
The rotation acceleration value.
|
protected float |
rotationSpeed
The rotation speed value.
|
protected int |
sourceID
The individual symbol ID number that is assigned to each TuioObject.
|
static int |
TANGIBLE_ADDED
The "tangible added" event.
|
static int |
TANGIBLE_REMOVED
The "tangible removed" event.
|
static int |
TANGIBLE_UPDATED
The "tangible updated" event.
|
protected double |
x
The x position.
|
protected double |
y
The y position.
|
Constructor and Description |
---|
TangibleEvent(int eventType,
int sourceID,
double x,
double y,
float angle,
float rotationSpeed,
float rotationAccel) |
Modifier and Type | Method and Description |
---|---|
float |
getAngle() |
int |
getEventType() |
float |
getRotationAccel() |
float |
getRotationSpeed() |
int |
getSourceId() |
double |
getX() |
double |
getY() |
public static final int TANGIBLE_ADDED
public static final int TANGIBLE_UPDATED
public static final int TANGIBLE_REMOVED
protected int eventType
protected int sourceID
protected float angle
protected float rotationSpeed
protected float rotationAccel
protected double x
protected double y