org.wiigee.filter
Class RotationThresholdFilter

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

public class RotationThresholdFilter
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
RotationThresholdFilter()
           
RotationThresholdFilter(double threshold)
           
 
Method Summary
 double[] filterAlgorithm(double[] vector)
           
 double getSensivity()
           
 void reset()
           
 void setSensivity(double sensivity)
           
 
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

RotationThresholdFilter

public RotationThresholdFilter()

RotationThresholdFilter

public RotationThresholdFilter(double threshold)
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

setSensivity

public void setSensivity(double sensivity)

getSensivity

public double getSensivity()