|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.vigia.test.MovementPrinter
public class MovementPrinter
Printer of the remote camera's calculated movement.
Field Summary | |
---|---|
protected MovementProcessor |
mp
The movement processor. |
Constructor Summary | |
---|---|
MovementPrinter()
The constructor. |
Method Summary | |
---|---|
void |
onIREvent(Coordinates c,
int xVRes,
int yVRes)
Actions to do when the Wiimote detects a change in the position of the infrared leds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected MovementProcessor mp
Constructor Detail |
---|
public MovementPrinter()
Method Detail |
---|
public void onIREvent(Coordinates c, int xVRes, int yVRes) throws VigiaClientException, java.io.IOException
IRListener
onIREvent
in interface IRListener
c
- the new coordinates of the Wiimote.xVRes
- IR virtual screen x resolution.yVRes
- IR virtual screen y resolution.
VigiaClientException
- error from the listener.
java.io.IOException
- error with the communications.IRListener.onIREvent(org.vigia.client.driver.Coordinates, int, int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |