synergynetframework.mtinput.events
Class MultiTouchObjectEvent

java.lang.Object
  extended by synergynetframework.mtinput.events.MultiTouchEvent
      extended by synergynetframework.mtinput.events.MultiTouchObjectEvent

public class MultiTouchObjectEvent
extends MultiTouchEvent

A multi touch object/fiducial event whose coordinate system is based on the input service that created it, and its mode. Supports position, rotation, velocity and pressure, although this values will only be present for tables that provide that information.

Author:
dcs0ah1

Constructor Summary
MultiTouchObjectEvent(long id, java.awt.geom.Point2D.Float position, java.awt.geom.Point2D.Float velocity)
          Instantiates a new multi touch object event.
MultiTouchObjectEvent(long id, java.awt.geom.Point2D.Float position, java.awt.geom.Point2D.Float velocity, float pressure, double angle)
          Instantiates a new multi touch object event.
 
Method Summary
 
Methods inherited from class synergynetframework.mtinput.events.MultiTouchEvent
getAngle, getCursorID, getPosition, getPressure, getTimeOfCreationNanos, getVelocity, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MultiTouchObjectEvent

public MultiTouchObjectEvent(long id,
                             java.awt.geom.Point2D.Float position,
                             java.awt.geom.Point2D.Float velocity)
Instantiates a new multi touch object event.

Parameters:
id - the id
position - the position
velocity - the velocity

MultiTouchObjectEvent

public MultiTouchObjectEvent(long id,
                             java.awt.geom.Point2D.Float position,
                             java.awt.geom.Point2D.Float velocity,
                             float pressure,
                             double angle)
Instantiates a new multi touch object event.

Parameters:
id - the id
position - the position
velocity - the velocity
pressure - the pressure
angle - the angle