|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsynergynetframework.jme.cursorsystem.MultiTouchCursorSystem
public class MultiTouchCursorSystem
Relies on MultiTouch table input events being supplied with the coordinate mode as CoordinateMode.ZERO_TO_ONE_YFLIP
| Constructor Summary | |
|---|---|
MultiTouchCursorSystem()
|
|
| Method Summary | |
|---|---|
void |
cursorChanged(MultiTouchCursorEvent event)
Cursor is on the table, and moves, or rotates, or changes in some way. |
void |
cursorClicked(MultiTouchCursorEvent event)
Cursor clicked. |
void |
cursorPressed(MultiTouchCursorEvent event)
Cursor press arriving on the table. |
void |
cursorReleased(MultiTouchCursorEvent event)
Cursor left the table. |
void |
objectAdded(MultiTouchObjectEvent event)
Object/fiducial is added to the table. |
void |
objectChanged(MultiTouchObjectEvent event)
Object/fiducial is changed - position or rotation. |
void |
objectRemoved(MultiTouchObjectEvent event)
Object/fiducial is removed from the table. |
static java.awt.geom.Point2D.Float |
screenToTable(com.jme.math.Vector2f v)
Screen to table. |
void |
setPickSystem(IJMEMultiTouchPicker pickSystem)
Sets the pick system. |
static com.jme.math.Vector2f |
tableToScreen(java.awt.geom.Point2D.Float f)
Table to screen. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiTouchCursorSystem()
| Method Detail |
|---|
public static java.awt.geom.Point2D.Float screenToTable(com.jme.math.Vector2f v)
v - the v
public static com.jme.math.Vector2f tableToScreen(java.awt.geom.Point2D.Float f)
f - the f
public void cursorChanged(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorChanged in interface IMultiTouchEventListenerevent - the eventpublic void cursorClicked(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorClicked in interface IMultiTouchEventListenerevent - the eventpublic void cursorPressed(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorPressed in interface IMultiTouchEventListenerevent - the eventpublic void cursorReleased(MultiTouchCursorEvent event)
IMultiTouchEventListener
cursorReleased in interface IMultiTouchEventListenerevent - the eventpublic void objectAdded(MultiTouchObjectEvent event)
IMultiTouchEventListener
objectAdded in interface IMultiTouchEventListenerevent - the eventpublic void objectChanged(MultiTouchObjectEvent event)
IMultiTouchEventListener
objectChanged in interface IMultiTouchEventListenerevent - the eventpublic void objectRemoved(MultiTouchObjectEvent event)
IMultiTouchEventListener
objectRemoved in interface IMultiTouchEventListenerevent - the eventpublic void setPickSystem(IJMEMultiTouchPicker pickSystem)
pickSystem - the new pick system
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||