public class TuioReader2D extends AbstractGestureDevice<org.sigtec.ink.Note,org.sigtec.ink.Point> implements ITuioReader
TuioConnection| Constructor and Description |
|---|
TuioReader2D()
Default Constructor
|
TuioReader2D(Integer port)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTuioCursor(AbstractTuioCursor atcur)
This callback method is invoked by the TuioClient when a new TuioCursor is added to the session.
|
void |
addTuioObject(AbstractTuioObject atobj)
This callback method is invoked by the TuioClient when a new TuioObject is added to the session.
|
void |
clear()
Deletes the current gesture.
|
void |
connect()
Connect the device.
|
void |
disconnect()
Disconnect the device.
|
void |
dispose()
Disposes the device.
|
List<org.sigtec.ink.Point> |
getChunks()
Returns chunks of a gesture while drawing it.
|
Gesture<org.sigtec.ink.Note> |
getGesture()
Returns the gestures.
|
TuioReaderPanel |
getPanel() |
TuioReaderPanel |
getPanel(Dimension dimension) |
void |
init()
Initializes the device.
|
void |
refresh(TuioTime ftime)
This callback method is invoked by the TuioClient to mark the end of a received TUIO message bundle.
|
void |
removeTuioCursor(AbstractTuioCursor atcur)
This callback method is invoked by the TuioClient when an existing TuioCursor is removed from the session.
|
void |
removeTuioObject(AbstractTuioObject atobj)
This callback method is invoked by the TuioClient when an existing TuioObject is removed from the session.
|
void |
setRecogniser(Recogniser recogniser)
Set the recogniser to use.
|
void |
updateTuioCursor(AbstractTuioCursor atcur)
This callback method is invoked by the TuioClient when an existing TuioCursor is updated during the session.
|
void |
updateTuioObject(AbstractTuioObject atobj)
This callback method is invoked by the TuioClient when an existing TuioObject is updated during the session.
|
addGestureHandler, fireGestureEvent, getConnectionType, getDeviceClass, getDeviceID, getDeviceType, getName, isConnectable, isConnected, isDefaultDevice, isDisconnectable, removeAllGestureHandler, removeAllListener, removeGestureHandler, setConnectionType, setDefaultDevice, setDeviceID, setDeviceType, setIsConnected, setName, toStringpublic TuioReader2D()
public TuioReader2D(Integer port)
port - Port to listen to.public void setRecogniser(Recogniser recogniser)
recogniser - Recogniser to use.public void connect()
Deviceconnect in interface Deviceconnect in class AbstractGestureDevice<org.sigtec.ink.Note,org.sigtec.ink.Point>public void disconnect()
Devicedisconnect in interface Devicedisconnect in class AbstractGestureDevice<org.sigtec.ink.Note,org.sigtec.ink.Point>public void clear()
GestureDeviceclear in interface GestureDevice<org.sigtec.ink.Note,org.sigtec.ink.Point>public void dispose()
GestureDevicedispose in interface GestureDevice<org.sigtec.ink.Note,org.sigtec.ink.Point>public List<org.sigtec.ink.Point> getChunks()
GestureDevicegetChunks in interface GestureDevice<org.sigtec.ink.Note,org.sigtec.ink.Point>public Gesture<org.sigtec.ink.Note> getGesture()
GestureDevicegetGesture in interface GestureDevice<org.sigtec.ink.Note,org.sigtec.ink.Point>public void init()
GestureDeviceinit in interface GestureDevice<org.sigtec.ink.Note,org.sigtec.ink.Point>public void addTuioCursor(AbstractTuioCursor atcur)
TuioListeneraddTuioCursor in interface TuioListeneratcur - the TuioCursor reference associated to the addTuioCursor eventpublic void addTuioObject(AbstractTuioObject atobj)
TuioListeneraddTuioObject in interface TuioListeneratobj - the TuioObject reference associated to the addTuioObject eventpublic void refresh(TuioTime ftime)
TuioListenerrefresh in interface TuioListenerftime - the TuioTime associated to the current TUIO message bundlepublic void removeTuioCursor(AbstractTuioCursor atcur)
TuioListenerremoveTuioCursor in interface TuioListeneratcur - the TuioCursor reference associated to the removeTuioCursor eventpublic void removeTuioObject(AbstractTuioObject atobj)
TuioListenerremoveTuioObject in interface TuioListeneratobj - the TuioObject reference associated to the removeTuioObject eventpublic void updateTuioCursor(AbstractTuioCursor atcur)
TuioListenerupdateTuioCursor in interface TuioListeneratcur - the TuioCursor reference associated to the updateTuioCursor eventpublic void updateTuioObject(AbstractTuioObject atobj)
TuioListenerupdateTuioObject in interface TuioListeneratobj - the TuioObject reference associated to the updateTuioObject eventpublic TuioReaderPanel getPanel()
getPanel in interface ITuioReaderpublic TuioReaderPanel getPanel(Dimension dimension)
getPanel in interface ITuioReaderCopyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.