public class AndroidReader3D extends AbstractGestureDevice<Note3D,Point3D> implements AndroidListener
| Constructor and Description |
|---|
AndroidReader3D(Socket clientSocket,
BufferedReader in) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCoordinates(double x,
double y,
double z,
long time) |
void |
clear()
Deletes the current gesture.
|
void |
connect()
Connect the device.
|
void |
disconnect()
Disconnect the device.
|
void |
dispose()
Disposes the device.
|
BufferedReader |
getBufferedReader() |
List<Point3D> |
getChunks()
Returns chunks of a gesture while drawing it.
|
Gesture<Note3D> |
getGesture()
Returns a copy of the recorded gesture in a GestureSample3D
|
AndroidReader3DPanel |
getPanel()
Returns the panel with standard dimension
|
AndroidReader3DPanel |
getPanel(Dimension dimension)
Returns the panel
|
void |
init()
Initializes the device.
|
void |
startGesture() |
void |
stopGesture() |
addGestureHandler, fireGestureEvent, getConnectionType, getDeviceClass, getDeviceID, getDeviceType, getName, isConnectable, isConnected, isDefaultDevice, isDisconnectable, removeAllGestureHandler, removeAllListener, removeGestureHandler, setConnectionType, setDefaultDevice, setDeviceID, setDeviceType, setIsConnected, setName, toStringpublic AndroidReader3D(Socket clientSocket, BufferedReader in)
public BufferedReader getBufferedReader()
public void init()
GestureDeviceinit in interface GestureDevice<Note3D,Point3D>public Gesture<Note3D> getGesture()
getGesture in interface GestureDevice<Note3D,Point3D>public void disconnect()
Devicedisconnect in interface Devicedisconnect in class AbstractGestureDevice<Note3D,Point3D>public void connect()
Devicepublic AndroidReader3DPanel getPanel()
public AndroidReader3DPanel getPanel(Dimension dimension)
dimension - The dimension of the panelpublic void clear()
GestureDeviceclear in interface GestureDevice<Note3D,Point3D>public void dispose()
GestureDevicedispose in interface GestureDevice<Note3D,Point3D>public List<Point3D> getChunks()
GestureDevicegetChunks in interface GestureDevice<Note3D,Point3D>public void startGesture()
startGesture in interface AndroidListenerpublic void stopGesture()
stopGesture in interface AndroidListenerpublic void addCoordinates(double x,
double y,
double z,
long time)
addCoordinates in interface AndroidListenerCopyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.