diva.sketch.toolbox
Class StrokeFilter
java.lang.Object
diva.sketch.toolbox.StrokeFilter
- Direct Known Subclasses:
- ApproximateStrokeFilter, AveragingStrokeFilter, DehookingStrokeFilter, InterpolateStrokeFilter, NormalizeLengthStrokeFilter, NormalizeTimeStrokeFilter, RemoveDupPtsStrokeFilter
public abstract class StrokeFilter
- extends 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, etc.
- Version:
- $Revision: 1.5 $
- Author:
- Michael Shilman (michaels@eecs.berkeley.edu), Heloise Hse (hwawen@eecs.berkeley.edu)
Field Summary |
static String |
PROPERTY_KEY
The key into the property table to store or to access the
cached filtered stroke. |
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 |
PROPERTY_KEY
public static String PROPERTY_KEY
- The key into the property table to store or to access the
cached filtered stroke.
StrokeFilter
public StrokeFilter()
apply
public abstract TimedStroke apply(TimedStroke s)
- Apply a filtering algorithm on the specified pen stroke and
return the filtered stroke.
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.