motejx.adapters
Class StatefulIrCameraAdapter

java.lang.Object
  extended by motejx.adapters.StatefulIrCameraAdapter
All Implemented Interfaces:
EventListener, IrCameraListener

public abstract class StatefulIrCameraAdapter
extends Object
implements IrCameraListener

StatefullIrCameraAdapter implements IrCameraListener to give additional information about infrared points in the WiiMotes camera sight.

Author:
djuxen

Constructor Summary
StatefulIrCameraAdapter()
           
 
Method Summary
 void irImageChanged(IrCameraEvent evt)
           
abstract  void pointAppeared(int slot, IrPoint p)
          Implement this method to get notified when an infrared point appears in the camera's view.
abstract  void pointChanged(int slot, IrPoint p)
          Implement this method to get notified when an infrared point moves in the camera's view.
abstract  void pointDisappeared(int slot, IrPoint p)
          Implement this method to get notified when an infrared point disappears from the camera's view.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatefulIrCameraAdapter

public StatefulIrCameraAdapter()
Method Detail

irImageChanged

public void irImageChanged(IrCameraEvent evt)
Specified by:
irImageChanged in interface IrCameraListener

pointAppeared

public abstract void pointAppeared(int slot,
                                   IrPoint p)
Implement this method to get notified when an infrared point appears in the camera's view.

Parameters:
slot - The slot on which the point appeared
p - The point which appeared

pointChanged

public abstract void pointChanged(int slot,
                                  IrPoint p)
Implement this method to get notified when an infrared point moves in the camera's view.

Parameters:
slot - The slot on which the point moved
p - The point which changed

pointDisappeared

public abstract void pointDisappeared(int slot,
                                      IrPoint p)
Implement this method to get notified when an infrared point disappears from the camera's view.

Parameters:
slot - The slot on which the point disappeared
p - The point which disappeared


Copyright © 2007-2009 Volker Fritzsch. All Rights Reserved.