org.wiigee.filter
Class RotationResetFilter

java.lang.Object
  extended by org.wiigee.filter.Filter
      extended by org.wiigee.filter.RotationResetFilter

public class RotationResetFilter
extends org.wiigee.filter.Filter

Removes rotation events which are for all axis under a defined threshold value (which default is 2.0 degrees per second TBD).


Constructor Summary
RotationResetFilter(Wiimote source)
           
 
Method Summary
 double[] filterAlgorithm(double[] vector)
           
 void reset()
           
 
Methods inherited from class org.wiigee.filter.Filter
filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RotationResetFilter

public RotationResetFilter(Wiimote source)
Method Detail

reset

public void reset()
Specified by:
reset in class org.wiigee.filter.Filter

filterAlgorithm

public double[] filterAlgorithm(double[] vector)
Specified by:
filterAlgorithm in class org.wiigee.filter.Filter