Uses of Class
edu.mit.sketch.toolkit.StrokeData

Packages that use StrokeData
edu.mit.sketch.geom   
edu.mit.sketch.grammar   
edu.mit.sketch.toolkit   
edu.mit.sketch.ui   
edu.mit.sketch.util   
 

Uses of StrokeData in edu.mit.sketch.geom
 

Methods in edu.mit.sketch.geom with parameters of type StrokeData
 double Line.getLSQError(StrokeData data, Range range)
          Returns the lsq error.
 double GeneralPath.getLSQEror(StrokeData data, Range[] ranges)
          Get the LSQE for the general path by measuring the distance to the vertices in the StrokeData.
 Range[] GeneralPath.getGeneralPathRanges(StrokeData data)
          getGeneralPathRanges.
 

Uses of StrokeData in edu.mit.sketch.grammar
 

Methods in edu.mit.sketch.grammar with parameters of type StrokeData
 void CheckMarkRecognizer.handleStroke(StrokeData data)
           
 

Uses of StrokeData in edu.mit.sketch.toolkit
 

Fields in edu.mit.sketch.toolkit declared as StrokeData
protected  StrokeData Classifier.stroke_data
          The stroke data
 

Methods in edu.mit.sketch.toolkit that return StrokeData
 StrokeData StrokeDataReader.getStrokeData()
          Return the StrokeData collected by this reader
 StrokeData SimpleClassifier.getStrokeData()
           
 StrokeData StrokeDataFactory.getStrokeData()
          Throws an array index out of bound exception if more points than the max_data_points are added.
 StrokeData Test.getData()
           
 

Methods in edu.mit.sketch.toolkit with parameters of type StrokeData
 void DataCollector.handleStroke(StrokeData stroke)
           
 double ErrorCalculator.getPolygonError(StrokeData stroke_data, Polygon poly)
          Get the error between the stroke_data and the shape.
 double ErrorCalculator.getLineError(StrokeData stroke_data, Line line)
          Get the error between the stroke_data and the shape.
 double ErrorCalculator.getEllipseError(StrokeData stroke_data, Ellipse ellipse)
          Get the error between the stroke_data and the shape.
 double ErrorCalculator.getGeneralPathError(StrokeData stroke_data, GeneralPath general_path)
          Get the error between the stroke_data and the shape.
 void StrokeDataListener.handleStroke(StrokeData data)
          This method is called by classes that collect StrokeData objects.
static Vertex[] Blackboard.decide(Vertex[] speed_fit, Vertex[] direction_fit, Point[] points, StrokeData data)
          a and b are two possible polygon matches for points.
static GeneralPath Blackboard.adjustGeneralPath(GeneralPath general_path, StrokeData data)
          Improve the fit by reducing the least square error.
static GeneralPath Blackboard.computeGeneralPath(Vertex[] intersection, Vertex[] superset, Fit[] fits, StrokeData data)
          Compute a GeneralPath given the information in the arguments.
static Point[] Blackboard.getControlPoints(Vertex v1, Vertex v2, StrokeData data)
          Return the control points to be used for drawing a curve from v1 to v2.
static Point[] Blackboard.getControlPoints(Vertex v1, Vertex v2, StrokeData data, int left_offset, int right_offset)
          Return the control points to be used for drawing a curve from v1 to v2.
 void DirectionChangeScaleSpaceViewer.setScaleSpaceData(double[][] scale_space_data, Gaussian[] gaussian_array, StrokeData data)
          setScaleSpaceData
 void SpeedScaleSpaceViewer.setScaleSpaceData(double[][] scale_space_data, Gaussian[] gaussian_array, StrokeData data)
          setScaleSpaceData
 

Constructors in edu.mit.sketch.toolkit with parameters of type StrokeData
SimpleClassifier(StrokeData stroke_data)
          Constructs a Classifier object.
 

Uses of StrokeData in edu.mit.sketch.ui
 

Fields in edu.mit.sketch.ui declared as StrokeData
static StrokeData TabletDataProcessor.data
          Stroke data
 

Methods in edu.mit.sketch.ui with parameters of type StrokeData
 void TicTacToe.handleStroke(StrokeData stroke)
           
 void TabletDataProcessor.classifyData(StrokeData data)
          Handle mouse events
 void TabletGUIBehavior.paintVelocity(StrokeData data, Color color)
          Update the velocity graph.
 void TabletGUIBehavior.paintAcceleration(StrokeData data, Color color)
          Update the acceleration graph.
 void TabletGUIBehavior.paint_d(StrokeData data, Color color)
          Update the direction graph.
 void TabletGUIBehavior.paint_dd_dt(StrokeData data, Color color)
          Update change in direction
 

Uses of StrokeData in edu.mit.sketch.util
 

Methods in edu.mit.sketch.util with parameters of type StrokeData
static double AWTUtil.getCurveLSQEror(Shape shape, StrokeData data, Range range)
          Get the LSQE for the curve by measuring the distance to the vertices in range.