hhreco.toolbox
Class StrokeFilter

java.lang.Object
  extended byhhreco.toolbox.StrokeFilter
Direct Known Subclasses:
ApproximateStrokeFilter, InterpolateStrokeFilter

public abstract class StrokeFilter
extends java.lang.Object

An object which filters a pen stroke in order to reduce the complexity in the raw data points. Examples of filtering are point reduction, dehooking, smoothing, etc.


Constructor Summary
StrokeFilter()
           
 
Method Summary
abstract  TimedStroke apply(TimedStroke s)
          Apply a filtering algorithm on the specified pen stroke and return the filtered stroke.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StrokeFilter

public StrokeFilter()
Method Detail

apply

public abstract TimedStroke apply(TimedStroke s)
Apply a filtering algorithm on the specified pen stroke and return the filtered stroke.