|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.ximtec.igesture.io.AbstractGestureDevice<RecordedGesture3D,Point3D>
org.ximtec.igesture.algorithm.rubine3d.tools.WiiReader
public class WiiReader
| Constructor Summary | |
|---|---|
WiiReader()
Constructor |
|
| Method Summary | |
|---|---|
void |
accelerationReceived(org.wiigee.event.AccelerationEvent event)
This method is executed when an acceleration event is received from the wiimote. |
void |
buttonPressReceived(org.wiigee.event.ButtonPressedEvent event)
When the recording button is pressed this method starts recording |
void |
buttonReleaseReceived(org.wiigee.event.ButtonReleasedEvent event)
When the button is released the recoding stops and the recorded gesture is displayed on the panel |
void |
clear()
Clears the WiiReader |
void |
connect()
Connect the device. |
void |
disconnect()
Disconnects the WiiMote |
void |
dispose()
Disposes the device. |
List<Point3D> |
getChunks()
Returns chunks of a gesture while drawing it. |
Gesture<RecordedGesture3D> |
getGesture()
Returns a copy of the recorded gesture in a GestureSample3D |
WiiReaderPanel |
getPanel()
Returns the panel with standard dimension |
WiiReaderPanel |
getPanel(Dimension dimension)
Returns the panel |
void |
init()
Initializes the WiiReader, starts device detection etc. |
void |
motionStartReceived(org.wiigee.event.MotionStartEvent event)
|
void |
motionStopReceived(org.wiigee.event.MotionStopEvent event)
|
void |
setRecogniser(Recogniser recogniser)
|
| Methods inherited from class org.ximtec.igesture.io.AbstractGestureDevice |
|---|
addGestureHandler, fireGestureEvent, getConnectionType, getDeviceClass, getDeviceID, getDeviceType, getName, isConnectable, isConnected, isDefaultDevice, isDisconnectable, removeAllGestureHandler, removeAllListener, removeGestureHandler, setConnectionType, setDefaultDevice, setDeviceID, setDeviceType, setIsConnected, setName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WiiReader()
| Method Detail |
|---|
public WiiReaderPanel getPanel()
public WiiReaderPanel getPanel(Dimension dimension)
dimension - The dimension of the panel
public void clear()
clear in interface GestureDevice<RecordedGesture3D,Point3D>public void dispose()
GestureDevice
dispose in interface GestureDevice<RecordedGesture3D,Point3D>public List<Point3D> getChunks()
GestureDevice
getChunks in interface GestureDevice<RecordedGesture3D,Point3D>public Gesture<RecordedGesture3D> getGesture()
getGesture in interface GestureDevice<RecordedGesture3D,Point3D>public void init()
init in interface GestureDevice<RecordedGesture3D,Point3D>public void disconnect()
disconnect in interface Devicedisconnect in class AbstractGestureDevice<RecordedGesture3D,Point3D>public void buttonPressReceived(org.wiigee.event.ButtonPressedEvent event)
buttonPressReceived in interface org.wiigee.event.ButtonListenerpublic void buttonReleaseReceived(org.wiigee.event.ButtonReleasedEvent event)
buttonReleaseReceived in interface org.wiigee.event.ButtonListenerpublic void accelerationReceived(org.wiigee.event.AccelerationEvent event)
accelerationReceived in interface org.wiigee.event.AccelerationListenerpublic void motionStartReceived(org.wiigee.event.MotionStartEvent event)
motionStartReceived in interface org.wiigee.event.AccelerationListenerpublic void motionStopReceived(org.wiigee.event.MotionStopEvent event)
motionStopReceived in interface org.wiigee.event.AccelerationListenerpublic void setRecogniser(Recogniser recogniser)
public void connect()
Device
connect in interface Deviceconnect in class AbstractGestureDevice<RecordedGesture3D,Point3D>
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||