A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

A

a_is_valid - Variable in class edu.mit.sketch.toolkit.StrokeData
 
a_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
a_scale - Static variable in class edu.mit.sketch.ui.TabletGUIBehavior
 
a_window - Variable in class edu.mit.sketch.ui.TabletGUI
 
a_window_graphics - Variable in class edu.mit.sketch.ui.TabletGUI
 
a_window_graphics - Variable in class edu.mit.sketch.ui.TabletGUIBehavior
 
ABOVE - Static variable in class edu.mit.sketch.geom.SpatialRelation
| | | X | ___|___|___ | | | | ___|___|___ | | | | | |
acceleration - Variable in class edu.mit.sketch.toolkit.StrokeData
Time derivative of speed
accept(File, String) - Method in class edu.mit.sketch.grammar.me.MechanicalDesignFilenameFilter
File signature for designs.
accumulated_length - Variable in class edu.mit.sketch.toolkit.StrokeData
The accumulated length of the curve upto ith vertex.
accumulated_length_is_valid - Variable in class edu.mit.sketch.toolkit.StrokeData
 
accumulated_length_scale - Static variable in class edu.mit.sketch.ui.TabletGUIBehavior
 
accumulated_segments - Variable in class edu.mit.sketch.geom.Segment
SegmentCollection
accumulateSegments() - Method in class edu.mit.sketch.geom.Segment
accumulate segments
actionPerformed(ActionEvent) - Method in class edu.mit.sketch.toolkit.StatisticsModule
Handle action events
actionPerformed(ActionEvent) - Method in class edu.mit.sketch.toolkit.ControlModule
Handle action events
actionPerformed(ActionEvent) - Method in class edu.mit.sketch.ui.TabletDebugger
Handle action events
actionPerformed(ActionEvent) - Method in class edu.mit.sketch.ui.GestureGUI
Handle action events
actionPerformed(ActionEvent) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Handle action events
activateOptions() - Method in class edu.mit.util.DebugWindowAppender
Does nothing.
activateOptions() - Method in class edu.mit.util.DocumentAppender
Does nothing.
addAllComponentsAsKeyListeners() - Method in class edu.mit.sketch.ui.Tablet
Add Components As Key Listeners
addButton(String, JButton) - Static method in class edu.mit.util.Debug
Add a button to the bottom of the debug pane of the specified title.
addButton(String, String, ActionListener) - Static method in class edu.mit.util.Debug
Provide a listener and a button name and the Debug window will create a button (at the bottom of the specified panel) and attach the listener to it.
addEventListeners() - Method in class edu.mit.sketch.ui.TabletDataProcessor
add event listeners
addExample(GeneralPath) - Method in class edu.mit.sketch.ui.GestureGUI
addExample
addObject(Object) - Method in class edu.mit.sketch.toolkit.ObjectManager
Adds an object to the objects vector after filtering.
addObject(Object, Polygon) - Method in class edu.mit.sketch.toolkit.ObjectManager
Adds an object to the objects vector after checking if the polygonal fit is a spring or not.
addObjects(Vector) - Method in class edu.mit.sketch.toolkit.ObjectManager
Adds given objects to the objects vector after filtering.
addPath(GeneralPath) - Method in class edu.mit.sketch.toolkit.ObjectManager
Adds given objects to the paths vector
addPoint(Point) - Method in class edu.mit.sketch.geom.XPositionTree
Add a point
addPoint(Point) - Method in class edu.mit.sketch.geom.SpatialDatabase
Add a point
addPoint(Point) - Method in class edu.mit.sketch.toolkit.StrokeDataReader
Add a point.
addPoint(Point) - Method in interface edu.mit.sketch.toolkit.StrokeDataFactory
Add a point
addPoint(Point, long) - Method in class edu.mit.sketch.ui.TabletDataProcessor
Add a new point to sdr with t as the time stamp.
addPointDouble(double, double) - Method in class edu.mit.sketch.geom.Polygon
add point for doubles
addStrokeDataListener(StrokeDataListener) - Method in class edu.mit.sketch.ui.SketchPanel
 
addVertices(Vertex[]) - Method in class edu.mit.sketch.toolkit.ObjectManager
Adds an object to the objects vector after filtering.
adjustGeneralPath(GeneralPath, StrokeData) - Static method in class edu.mit.sketch.toolkit.Blackboard
Improve the fit by reducing the least square error.
adjustmentValueChanged(AdjustmentEvent) - Method in class edu.mit.sketch.ui.TabletGUI
adjustmentValueChanged
adjustSignificance() - Method in class edu.mit.sketch.geom.Segment
override to preserve maximum significance of the segments in this collection
ALPHABET_SIZE - Static variable in class edu.mit.sketch.geom.GeneralPathProcessor
Converts a general path object to a symbolic representation
append(LoggingEvent) - Method in class edu.mit.util.DebugWindowAppender
This method is called by the AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent) method.
append(LoggingEvent) - Method in class edu.mit.util.DocumentAppender
This method is called by the AppenderSkeleton.doAppend(org.apache.log4j.spi.LoggingEvent) method.
append(PathIterator, boolean) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
append(Shape, boolean) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
appendRanges(Range[], Range) - Static method in class edu.mit.sketch.geom.Range
Append the ranges with the input range
appendStringToFile(String, String) - Static method in class edu.mit.sketch.util.LoadStoreModule
Append the string the the file
appendVertices(Vertex[], Vertex) - Static method in class edu.mit.sketch.geom.Vertex
Appends the input vertices with the argument vertex
Approximation - class edu.mit.sketch.geom.Approximation.
This class represents a geometric object along with *SOME* error metric relating to the LSQ error.
Approximation(GeometricObject, double) - Constructor for class edu.mit.sketch.geom.Approximation
The constructor.
area() - Method in class edu.mit.sketch.geom.Rectangle
Return area.
arrayListToArray(ArrayList) - Static method in class edu.mit.sketch.geom.Vertex
Returns an array containing the elements of the Vector.
Assert - class edu.mit.util.Assert.
Assert is a library of assertion routines.
Assert() - Constructor for class edu.mit.util.Assert
 
averageAbsoluteFinG(double[], double[]) - Method in class edu.mit.sketch.toolkit.StrokeData
Average
averageAbsoluteFinG(double[], long[]) - Method in class edu.mit.sketch.toolkit.StrokeData
Average
averageFinG(double[], double[]) - Method in class edu.mit.sketch.toolkit.StrokeData
Average
averageFinG(double[], long[]) - Method in class edu.mit.sketch.toolkit.StrokeData
Average
averageSpeed() - Method in class edu.mit.sketch.toolkit.StrokeData
Average speed
AWTUtil - class edu.mit.sketch.util.AWTUtil.
Implements some methods not found in jdk 1.1
AWTUtil() - Constructor for class edu.mit.sketch.util.AWTUtil
 

B

bar_statistics_module - Static variable in class edu.mit.sketch.ui.TabletGUI
 
BELOW - Static variable in class edu.mit.sketch.geom.SpatialRelation
| | | | ___|___|___ | | | | ___|___|___ | | | X | | |
best_index - Static variable in class edu.mit.sketch.toolkit.Blackboard
Best index (index of the best fit).
Blackboard - class edu.mit.sketch.toolkit.Blackboard.
Polygons recognized by the tablet are sent here.
Blackboard() - Constructor for class edu.mit.sketch.toolkit.Blackboard
 
bounding_box - Variable in class edu.mit.sketch.toolkit.StrokeData
 
brush_thickness - Static variable in class edu.mit.sketch.ui.TabletGUIBehavior
 
buffer - Variable in class edu.mit.sketch.ui.TabletGUIBehavior
 
buffer_graphics - Variable in class edu.mit.sketch.ui.TabletGUIBehavior
 
buffer_ready - Variable in class edu.mit.sketch.ui.TabletGUIBehavior
 
buildModels() - Method in class edu.mit.sketch.ui.GestureGUI
addExample
buildTree() - Method in class edu.mit.sketch.geom.Segment
build tree

C

cartesian2screen(int) - Static method in class edu.mit.sketch.geom.SpatialRelation
To String
center - Variable in class edu.mit.sketch.toolkit.StrokeData
 
certainty - Variable in class edu.mit.sketch.geom.Vertex
The certainty
changeModeTo(int) - Method in class edu.mit.sketch.toolkit.ObjectManager
Mouse events
checkCertaintyBounds(Vertex[]) - Static method in class edu.mit.sketch.toolkit.Blackboard
See if all the certainty values are between 0 and 1.
checkEntryConditions() - Method in class edu.mit.util.DebugWindowAppender
This method determines if there is a sense in attempting to append.
checkEntryConditions() - Method in class edu.mit.util.DocumentAppender
This method determines if there is a sense in attempting to append.
CheckMarkRecognizer - class edu.mit.sketch.grammar.CheckMarkRecognizer.
Recognize check marks.
CheckMarkRecognizer() - Constructor for class edu.mit.sketch.grammar.CheckMarkRecognizer
 
chooseApproximateAngle(double[]) - Method in class edu.mit.sketch.geom.Line
Returns the angle that is closest to the angle that this line makes with the x axis from the input argument.
CIRCLE - Static variable in interface edu.mit.sketch.geom.GeometricObject
 
circle_vs_general_path_bias - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 
circle_vs_speed_bias - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 
classifier - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 
Classifier - class edu.mit.sketch.toolkit.Classifier.
This is the interface for a basic recognition toolkit.
Classifier() - Constructor for class edu.mit.sketch.toolkit.Classifier
 
classify() - Method in class edu.mit.sketch.toolkit.Classifier
Returns the best fit type for the strokeData
classify() - Method in class edu.mit.sketch.toolkit.SimpleClassifier
Returns the best fit type for the strokeData
classify(double) - Method in class edu.mit.sketch.toolkit.Classifier
Returns the set of types that fit the stroke with error value less than the bound specified.
classify(double) - Method in class edu.mit.sketch.toolkit.SimpleClassifier
Returns the set of types that fit the stroke with error value less than the bound specified, (not necessarily sorted by goodness).
classifyAndRank() - Method in class edu.mit.sketch.toolkit.SimpleClassifier
Returns an array of approximations to the input stroke sorted by their goodness.
classifyData(StrokeData) - Method in class edu.mit.sketch.ui.TabletDataProcessor
Handle mouse events
classifyGesture(GeneralPath) - Method in class edu.mit.sketch.ui.GestureGUI
classifyGesture
clear() - Method in class edu.mit.sketch.toolkit.ObjectManager
Clear the screen
clear(String) - Static method in class edu.mit.util.Debug
 
clearComponent(Component) - Method in class edu.mit.sketch.ui.TabletGUI
Clear the component
clearComponent(Component) - Static method in class edu.mit.sketch.util.GraphicsUtil
Clear the component
clearScreen() - Method in class edu.mit.sketch.toolkit.StatisticsModule
Clear screen
clearScreen() - Method in class edu.mit.sketch.ui.TabletGUI
Clear screen
clone() - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
cloneRanges(Range[]) - Static method in class edu.mit.sketch.geom.Range
For obtaining a complete copy of an array of Ranges objects.
cloneVertices(Vertex[]) - Static method in class edu.mit.sketch.geom.Vertex
For obtaining a complete copy of an array of Vertex objects.
close() - Method in class edu.mit.util.DebugWindowAppender
Close this appender instance.
close() - Method in class edu.mit.util.DocumentAppender
Close this appender instance.
closePath() - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
closestNeighborIndex(Point) - Method in class edu.mit.sketch.geom.Polygon
Returns the index of the vertices that is closest to point p.
COCENTRIC - Static variable in class edu.mit.sketch.geom.SpatialRelation
| | | | ___|___|___ | | | X | ___|___|___ | | | | | |
colors - Static variable in class edu.mit.sketch.util.AWTUtil
Array of 8 colors for in-loop alternated coloring.
colors2 - Static variable in class edu.mit.sketch.util.AWTUtil
Array of 2 colors.
combine_treshold - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 
combineEndPoints(double) - Method in class edu.mit.sketch.geom.GeneralPath
Combines the ends of the polygon if they are sufficiently close.
combineEndPoints(double) - Method in class edu.mit.sketch.geom.Polygon
Combines the ends of the polygon if they are sufficiently close.
combineEndPoints(Vertex[]) - Method in class edu.mit.sketch.ui.TabletDataProcessor
Combines the ends of the polygon if they are sufficiently close.
compare(Object, Object) - Method in class edu.mit.sketch.geom.Approximation
Implement Comparator
compare(Object, Object) - Method in class edu.mit.sketch.geom.PointYComparator
Implement comparator
compare(Object, Object) - Method in class edu.mit.sketch.geom.Vertex
Implement Comparator
compare(Object, Object) - Method in class edu.mit.sketch.geom.Range
Implement comparator Warning: The ranges should be non-overlapping for proper sorting.
compare(Object, Object) - Method in class edu.mit.sketch.geom.PointXComparator
Implement comparator
compare(Object, Object) - Method in class edu.mit.sketch.toolkit.Fit
Implement Comparator
COMPLEX - Static variable in class edu.mit.sketch.toolkit.Classifier
Constant for COMPLEX
computeFeatureVector(int[]) - Static method in class edu.mit.sketch.geom.GeneralPathProcessor
Compute the feature vector
computeGeneralPath(Vertex[], Vertex[], Fit[], StrokeData) - Static method in class edu.mit.sketch.toolkit.Blackboard
Compute a GeneralPath given the information in the arguments.
constructGUI() - Method in class edu.mit.sketch.ui.TabletGUI
construct the GUI part of the Tablet.
constructToolbar() - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Construct the toolbar
contains(double, double) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
contains(double, double, double, double) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
contains(Point2D) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
contains(Rectangle2D) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
containsGeometricObject(GeometricObject) - Method in class edu.mit.sketch.geom.Rectangle
Returns false if the argument is not completely inside this object.
containsGeometricObject(GeometricObject) - Method in class edu.mit.sketch.geom.Line
Returns false if the argument is not completely inside this object.
containsGeometricObject(GeometricObject) - Method in class edu.mit.sketch.geom.GeneralPath
Returns false if the argument is not completely inside this object.
containsGeometricObject(GeometricObject) - Method in interface edu.mit.sketch.geom.GeometricObject
Returns false if the argument is not completely inside this object.
containsGeometricObject(GeometricObject) - Method in class edu.mit.sketch.geom.Point
Returns false if the argument is not completely inside this object.
containsGeometricObject(GeometricObject) - Method in class edu.mit.sketch.geom.Polygon
Returns false if the argument is not completely inside this object.
containsGeometricObject(GeometricObject) - Method in class edu.mit.sketch.geom.Ellipse
Returns false if the argument is not completely inside this object.
containsGeometricObjects(GeometricObject[]) - Method in class edu.mit.sketch.geom.Rectangle
Returns false if the objects in the input array are completely inside this object.
containsGeometricObjects(GeometricObject[]) - Method in class edu.mit.sketch.geom.Line
Returns false if the objects in the input array are completely inside this object.
containsGeometricObjects(GeometricObject[]) - Method in class edu.mit.sketch.geom.GeneralPath
Returns false if the objects in the input array are completely inside this object.
containsGeometricObjects(GeometricObject[]) - Method in interface edu.mit.sketch.geom.GeometricObject
Returns false if the objects in the input array are completely inside this object.
containsGeometricObjects(GeometricObject[]) - Method in class edu.mit.sketch.geom.Point
Returns false if the objects in the input array are completely inside this object.
containsGeometricObjects(GeometricObject[]) - Method in class edu.mit.sketch.geom.Polygon
Returns false if the objects in the input array are completely inside this object.
containsGeometricObjects(GeometricObject[]) - Method in class edu.mit.sketch.geom.Ellipse
Returns false if the objects in the input array are completely inside this object.
containsWithTolerance(Vertex[], Vertex, int, double) - Static method in class edu.mit.sketch.toolkit.Blackboard
Return true if the array contains a Vertex that is sufficiently close to the argument vertex given the tolerances.
continualizeDirection(double[]) - Static method in class edu.mit.sketch.geom.GeometryUtil
This is for making the Math.pi/2, -Math.pi/2 transitions continuous.
control_module - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 
ControlModule - class edu.mit.sketch.toolkit.ControlModule.
This class is used for controlling and changing the parameters in the main application.
ControlModule(TabletDataProcessor) - Constructor for class edu.mit.sketch.toolkit.ControlModule
The constructor.
controls_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
convertCubic(float, float, float[], int) - Static method in class edu.mit.sketch.geom.GeneralPathProcessor
Converts a cubic spline to a symbolic representation
convertLine(float, float, float[], int) - Static method in class edu.mit.sketch.geom.GeneralPathProcessor
Converts a line to a symbolic representation
convolve(double[]) - Method in class edu.mit.sketch.util.Gaussian
Returns the convolved version of the input signal This is non-destructive on the input.
convolve(double[], double[]) - Static method in class edu.mit.sketch.util.Util
Convolve input using the filter.
convolveChangeInDirection() - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Do convolution.
convolveChangeInDirection(double[]) - Method in class edu.mit.sketch.toolkit.StrokeData
Do convolution.
convolveDirection() - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Do convolution.
convolveDirection(double[]) - Method in class edu.mit.sketch.toolkit.StrokeData
Do convolution.
copyVerticesFrom(Polygon) - Method in class edu.mit.sketch.geom.Polygon
Copy the vertices.
cosTheoremAngle(Point, Point, Point) - Static method in class edu.mit.sketch.geom.GeometryUtil
Return angle between |AB| and |BC|
createTransformedShape(AffineTransform) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
Cross - class edu.mit.sketch.grammar.me.Cross.
A basic Cross with a two perpendicular lines.
Cross(Line, Line) - Constructor for class edu.mit.sketch.grammar.me.Cross
The constructor.
current_gesture - Variable in class edu.mit.sketch.ui.GestureGUI
 
curveTo(float, float, float, float, float, float) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath

D

d - Variable in class edu.mit.sketch.toolkit.StrokeData
Direction array.
d_is_valid - Variable in class edu.mit.sketch.toolkit.StrokeData
 
d_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
d_theta_scale - Static variable in class edu.mit.sketch.ui.TabletGUIBehavior
 
d_window - Variable in class edu.mit.sketch.ui.TabletGUI
 
d_window_graphics - Variable in class edu.mit.sketch.ui.TabletGUI
 
d_window_graphics - Variable in class edu.mit.sketch.ui.TabletGUIBehavior
 
data - Static variable in class edu.mit.sketch.ui.TabletDataProcessor
Stroke data
data_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
data_window - Variable in class edu.mit.sketch.ui.TabletGUI
 
DataCollector - class edu.mit.sketch.toolkit.DataCollector.
Collect strokes as they are produced and store them.
DataCollector() - Constructor for class edu.mit.sketch.toolkit.DataCollector
After creation be sure to add this object as a StrokeDataListener.
DataSimulator - class edu.mit.sketch.toolkit.DataSimulator.
This class can simulate a set of stroke data by sending it to one or more StrokeDataListeners.
DataSimulator(String) - Constructor for class edu.mit.sketch.toolkit.DataSimulator
 
dd_dt - Variable in class edu.mit.sketch.toolkit.StrokeData
Derivative of the direction array (d).
dd_dt_average_scale - Variable in class edu.mit.sketch.toolkit.SimpleClassifier
This is how much we scale the average curvature to get the threshold for curvature fit.
dd_dt_average_scale - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 
dd_dt_gaussians - Variable in class edu.mit.sketch.toolkit.StrokeData
 
dd_dt_is_valid - Variable in class edu.mit.sketch.toolkit.StrokeData
 
dd_dt_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
dd_dt_scale_space - Variable in class edu.mit.sketch.toolkit.StrokeData
Direction change scale space information.
dd_dt_scale_space_is_valid - Variable in class edu.mit.sketch.toolkit.StrokeData
 
dd_dt_scale_space_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
dd_dt_scale_space_viewer - Variable in class edu.mit.sketch.ui.TabletGUI
 
dd_dt_window - Variable in class edu.mit.sketch.ui.TabletGUI
 
dd_dt_window_graphics - Variable in class edu.mit.sketch.ui.TabletGUI
 
dd_dt_window_graphics - Variable in class edu.mit.sketch.ui.TabletGUIBehavior
 
ddsw_statistics_module - Static variable in class edu.mit.sketch.ui.TabletGUI
 
debug - Static variable in class edu.mit.sketch.ui.TabletDataProcessor
 
Debug - class edu.mit.util.Debug.
This class provides a mechanism for displaying debug output in separate panels of a tabbed window.
debug_graphics - Static variable in class edu.mit.sketch.ui.TabletGUI
 
Debug() - Constructor for class edu.mit.util.Debug
 
Debug(String) - Constructor for class edu.mit.util.Debug
 
debug2 - Static variable in class edu.mit.sketch.ui.TabletDataProcessor
 
DebugWindowAppender - class edu.mit.util.DebugWindowAppender.
 
DebugWindowAppender() - Constructor for class edu.mit.util.DebugWindowAppender
This default constructor does nothing.
DebugWindowAppender(Layout) - Constructor for class edu.mit.util.DebugWindowAppender
Instantiate a DebugWindowAppender and set the output destination to DebugWindow.
decide(Vertex[], Vertex[], Point[], StrokeData) - Static method in class edu.mit.sketch.toolkit.Blackboard
a and b are two possible polygon matches for points.
degree2radian(double) - Static method in class edu.mit.sketch.geom.GeometryUtil
degree2radian
derive_accumulated_length() - Method in class edu.mit.sketch.toolkit.StrokeData
Compute the derive accumulated length.
derive_d(int) - Method in class edu.mit.sketch.toolkit.StrokeData
Derive direction, and fill in the d array.
derive_dd_dt_scale_space() - Method in class edu.mit.sketch.toolkit.StrokeData
Compute the scale space data.
derive_dd_dt() - Method in class edu.mit.sketch.toolkit.StrokeData
Find time derivative of direction, and fill in the dd_dt array.
derive_properties_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
derive_snapshots_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
derive_speed_scale_space() - Method in class edu.mit.sketch.toolkit.StrokeData
Compute the scale space data.
deriveAcceleration() - Method in class edu.mit.sketch.toolkit.StrokeData
Derive acceleration, and fill in the acceleration array.
deriveBoundingBox() - Method in class edu.mit.sketch.toolkit.StrokeData
Derive the bounding box for the vertices.
deriveDirectionUsingRotationalSWODR(Point[], int) - Method in class edu.mit.sketch.toolkit.StrokeData
Derive direction, and return it.
deriveDirectionUsingRotationalSWODR(Point[], int) - Static method in class edu.mit.sketch.util.OrthogonalDistanceRegression
Derive direction, and fill in the d array.
deriveDirectionUsingRotationalSWODRFast(Point[], int) - Static method in class edu.mit.sketch.util.OrthogonalDistanceRegression
Derive direction, and fill in the d array.
deriveDirectionViaSWODR(Point[], int) - Method in class edu.mit.sketch.toolkit.StrokeData
Derive direction, and fill in the d array.
deriveFeatureIndices() - Method in class edu.mit.sketch.toolkit.DirectionChangeScaleSpaceViewer
Derive feature indices
deriveFeatureIndices() - Method in class edu.mit.sketch.toolkit.SpeedScaleSpaceViewer
Derive feature indices
derivePolarCoordinates() - Method in class edu.mit.sketch.toolkit.StrokeData
Derive the polar coordinates of the vertices with respect to the center.
deriveProperties() - Method in class edu.mit.sketch.toolkit.StrokeData
Derive speed, and fill in the speed array.
deriveProperties() - Method in class edu.mit.sketch.toolkit.ObjectManager
Write the images that show scale space data in a single gif file.
deriveScaleSpaces() - Method in class edu.mit.sketch.toolkit.StrokeData
Derive speed, and fill in the speed array.
deriveSnapshots() - Method in class edu.mit.sketch.toolkit.ObjectManager
Write the images that show scale space data in a single gif file.
deriveSpeed() - Method in class edu.mit.sketch.toolkit.StrokeData
Derive speed, and fill in the speed array.
deriving_scale_space - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 
deselectObjects() - Method in class edu.mit.sketch.toolkit.ObjectManager
Deselect the objects
differantiateDirection(double[]) - Method in class edu.mit.sketch.toolkit.StrokeData
Differantiate the direction array using the current timing data.
direction_fit - Variable in class edu.mit.sketch.toolkit.SimpleClassifier
Fit based on curvature
direction_fit - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 
direction_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
direction_window_width - Variable in class edu.mit.sketch.toolkit.StrokeData
Parameters and constants.
direction_window_width - Variable in class edu.mit.sketch.toolkit.SimpleClassifier
This is the number of points to be included for deriving direction.
direction_window_width - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 
DirectionChangeScaleSpaceViewer - class edu.mit.sketch.toolkit.DirectionChangeScaleSpaceViewer.
This class is used for viewing scale space data.
DirectionChangeScaleSpaceViewer() - Constructor for class edu.mit.sketch.toolkit.DirectionChangeScaleSpaceViewer
The constructor.
display_lsq_vectors - Variable in class edu.mit.sketch.ui.TabletGUIBehavior
 
display_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
displayBlackboardFit(Image, Point) - Method in class edu.mit.sketch.toolkit.DirectionChangeScaleSpaceViewer
displayFitByIndices
displayBlackboardFit(Image, Point) - Method in class edu.mit.sketch.toolkit.SpeedScaleSpaceViewer
displayFitByIndices
displayData(int, int, Tablet) - Method in class edu.mit.sketch.toolkit.DirectionChangeScaleSpaceViewer
update the panel
displayData(int, int, Tablet) - Method in class edu.mit.sketch.toolkit.SpeedScaleSpaceViewer
updata the panel
displayFitByIndices(int[]) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
displayFitByIndices
displayFitByIndices(int[], Color, Color) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
displayFitByIndices
displayFitByIndices(int[], Image, Point) - Method in class edu.mit.sketch.toolkit.DirectionChangeScaleSpaceViewer
displayFitByIndices
displayFitByIndices(int[], Image, Point) - Method in class edu.mit.sketch.toolkit.SpeedScaleSpaceViewer
displayFitByIndices
displayFitByPositions(double[], double[], int[]) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
displayFitByPositions
displayFitByReversedIndices(int[]) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
displayFitByIndices
displayVertices(Vertex[]) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Paint the vertices along with the path combining them
displayVerticesAsDots(Vertex[]) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Paint the vertices along without the path combining them
distance_difference - Static variable in class edu.mit.sketch.toolkit.Blackboard
Pixel distance tolerance index_difference and distance_difference are used during computation of intersection etc.
distance(Point) - Method in class edu.mit.sketch.geom.Point
Return distance from this point to input.
distance(Point, Point) - Static method in class edu.mit.sketch.geom.GeometryUtil
Return distnace |p1-p2|
DocumentAppender - class edu.mit.util.DocumentAppender.
 
DocumentAppender() - Constructor for class edu.mit.util.DocumentAppender
This default constructor does nothing.
DocumentAppender(Layout) - Constructor for class edu.mit.util.DocumentAppender
Instantiate a DocumentAppender and send output to the given Document object.
DocumentAppender(Layout, Document) - Constructor for class edu.mit.util.DocumentAppender
Instantiate a DocumentAppender and set the output destination to Document.
doODR(String, String, double[], double[]) - Static method in class edu.mit.sketch.util.OrthogonalDistanceRegression
Do an ODR using the inputs x and y, and return a double array of length 2 containing a and b, st.
doOpen() - Method in class edu.mit.sketch.toolkit.ObjectManager
Launch a FileDialog and do a load
doSave() - Method in class edu.mit.sketch.toolkit.ObjectManager
Launch a FileDialog and do a save
doSaveAs() - Method in class edu.mit.sketch.toolkit.ObjectManager
Launch a FileDialog and do a save as
doSlidingWindowODR(String, String, double[], double[], int) - Static method in class edu.mit.sketch.util.OrthogonalDistanceRegression
Do an ODR.
DotIcon - class edu.mit.util.DotIcon.
DotIcon.java Created: Sun Feb 04 17:58:16 2001
DotIcon(Color) - Constructor for class edu.mit.util.DotIcon
 
DotIcon(Color, int) - Constructor for class edu.mit.util.DotIcon
 
drawAngleAt(int, Point) - Method in class edu.mit.sketch.geom.Polygon
Draws an arc (angle) on the ith vertex (start from 0) using the current graphics context.
drawThickLine(double, Graphics, double, double, double, double) - Static method in class edu.mit.sketch.util.GraphicsUtil
Plot a thick line from (x1, y1) to (x2,y2) with radius r
drawThickLine(int, Graphics, int, int, int, int) - Static method in class edu.mit.sketch.util.GraphicsUtil
Plot a thick line from (x1, y1) to (x2,y2) with radius r
drawThickOval(int, Graphics, int, int, int, int) - Static method in class edu.mit.sketch.util.GraphicsUtil
Plot a thick line from (x1, y1) to (x2,y2) with radius r
dsw_statistics_module - Static variable in class edu.mit.sketch.ui.TabletGUI
 

E

edit - Variable in class edu.mit.sketch.ui.TabletGUI
 
edu.mit.sketch.fig - package edu.mit.sketch.fig
 
edu.mit.sketch.geom - package edu.mit.sketch.geom
 
edu.mit.sketch.grammar - package edu.mit.sketch.grammar
 
edu.mit.sketch.grammar.me - package edu.mit.sketch.grammar.me
 
edu.mit.sketch.toolkit - package edu.mit.sketch.toolkit
 
edu.mit.sketch.ui - package edu.mit.sketch.ui
 
edu.mit.sketch.util - package edu.mit.sketch.util
 
edu.mit.util - package edu.mit.util
 
Ellipse - class edu.mit.sketch.geom.Ellipse.
This class represents an Ellipse described by its upper_left, corner width and height of the encapsulating rectangle.
ELLIPSE - Static variable in interface edu.mit.sketch.geom.GeometricObject
 
ELLIPSE - Static variable in class edu.mit.sketch.toolkit.Classifier
Constant for ELLIPSE
Ellipse() - Constructor for class edu.mit.sketch.geom.Ellipse
The constructor.
Ellipse(double, double, double, double) - Constructor for class edu.mit.sketch.geom.Ellipse
The constructor.
Ellipse(Point, Dimension) - Constructor for class edu.mit.sketch.geom.Ellipse
The constructor.
Ellipse(Point, int, int) - Constructor for class edu.mit.sketch.geom.Ellipse
The constructor.
equalDoubles(double, double, double) - Static method in class edu.mit.sketch.geom.GeometryUtil
Return true if |a-b| < tolerance
equals(Object) - Method in class edu.mit.sketch.geom.PointYComparator
Implement comparator
equals(Object) - Method in class edu.mit.sketch.geom.Range
Implement comparator Warning: The ranges should be non-overlapping for proper sorting.
equals(Object) - Method in class edu.mit.sketch.geom.PointXComparator
Implement comparator
equals(Object, Object) - Method in class edu.mit.sketch.geom.Approximation
Implement Comparator
equals(Object, Object) - Method in class edu.mit.sketch.geom.Vertex
Implement Comparator
equals(Object, Object) - Method in class edu.mit.sketch.toolkit.Fit
Implement Comparator
error - Variable in class edu.mit.sketch.geom.Approximation
The error
error_calculator - Variable in class edu.mit.sketch.toolkit.Classifier
The error calculator
error(String) - Static method in class edu.mit.util.Debug
println to the Error tab and bring the debug window to the front.
error(Throwable) - Static method in class edu.mit.util.Debug
Print an exception to the Error tab and bring the debug window to the front.
ErrorCalculator - interface edu.mit.sketch.toolkit.ErrorCalculator.
The interface ErrorCalculator.

F

featureString(GeneralPath) - Static method in class edu.mit.sketch.geom.GeneralPathProcessor
Computes the String representation of the features for the input GeneralPath
FigDocument - class edu.mit.sketch.fig.FigDocument.
Created: Tue Apr 16 19:57:58 2002
Copyright: Copyright (C) 2002 by MIT.
FigDocument(Writer) - Constructor for class edu.mit.sketch.fig.FigDocument
 
file - Variable in class edu.mit.sketch.toolkit.StatisticsModule
 
file - Variable in class edu.mit.sketch.ui.TabletGUI
 
filterCollinearVertices(int[]) - Method in class edu.mit.sketch.toolkit.StrokeData
filterCollinearVertices.
filterVerticesByLSQE(int[], double) - Method in class edu.mit.sketch.toolkit.StrokeData
filterCollinearVertices.
final_fit - Variable in class edu.mit.sketch.toolkit.SimpleClassifier
Best hybrid fit
final_fit - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 
find(String) - Static method in class edu.mit.util.ResourceFinder
 
findAngle(double[], double[]) - Static method in class edu.mit.sketch.util.LinearFit
Return the angle -- in radians -- that best approximates the slope of the line that best fits x, y data points.
findAngle(double[], double[], int, int) - Static method in class edu.mit.sketch.util.LinearFit
Return the angle -- in radians -- that best approximates the slope of the line that best fits x, y data points.
findAngle(double[], double[], int, int, int) - Static method in class edu.mit.sketch.util.LinearFit
Return the angle -- in radians -- that best approximates the slope of the line that best fits x, y data points.
findAngle(Point[]) - Static method in class edu.mit.sketch.util.LinearFit
Return the angle -- in radians -- that best approximates the slope of the line that best fits the data points.
findAngle2(double[], double[], int, int, int) - Static method in class edu.mit.sketch.util.LinearFit
Return the angle -- in radians -- that best approximates the slope of the line that best fits x, y data points.
findAngleViaODR(double[], double[]) - Static method in class edu.mit.sketch.util.LinearFit
Do a linear fit.
Fit - class edu.mit.sketch.toolkit.Fit.
This class represents a fit to a set of points.
fit_method - Variable in class edu.mit.sketch.toolkit.StrokeData
 
fit_method - Variable in class edu.mit.sketch.toolkit.SimpleClassifier
This is the fit method to be used when deriving the direction.
fit_method - Static variable in class edu.mit.sketch.ui.TabletDataProcessor
 
fit(double[], double[]) - Static method in class edu.mit.sketch.util.LinearFit
Do a linear fit.
Fit(Point[], Vertex[], double) - Constructor for class edu.mit.sketch.toolkit.Fit
The constructor.
fit2(double[], double[]) - Static method in class edu.mit.sketch.util.LinearFit
Do a linear fit.
fitMethodToString(int) - Static method in class edu.mit.sketch.util.LinearFit
Return a String giving info about the fit method.
fits_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
fits_window - Variable in class edu.mit.sketch.ui.TabletGUI
 
fits_window_graphics - Variable in class edu.mit.sketch.ui.TabletGUI
 
fits_window_graphics - Variable in class edu.mit.sketch.ui.TabletGUIBehavior
 
flatten(double, int) - Method in class edu.mit.sketch.geom.GeneralPath
Return an array of vertices corresponding to the flattened version of this GeneralPath
flatten(Shape, double, int) - Static method in class edu.mit.sketch.util.AWTUtil
Return an array of vertices corresponding to the flattened version of the input.

G

g - Variable in class edu.mit.sketch.util.Gaussian
Gaussian mask
gauss(double, double) - Method in class edu.mit.sketch.ui.Tablet
 
Gaussian - class edu.mit.sketch.util.Gaussian.
This class computes and stores the necessary convolution filters of different sizes for gaussian convlution.
Gaussian(int, double) - Constructor for class edu.mit.sketch.util.Gaussian
The constructor.
general_path - Variable in class edu.mit.sketch.geom.GeneralPath
The general path
general_path - Static variable in class edu.mit.sketch.toolkit.Blackboard
A general path object obtained from the hybrid fits.
GeneralPath - class edu.mit.sketch.geom.GeneralPath.
This class represents the GeneralPath object.
GeneralPath() - Constructor for class edu.mit.sketch.geom.GeneralPath
The constructor.
GeneralPath(GeneralPath) - Constructor for class edu.mit.sketch.geom.GeneralPath
The constructor.
GeneralPath(int) - Constructor for class edu.mit.sketch.geom.GeneralPath
The constructor.
GeneralPath(int, int) - Constructor for class edu.mit.sketch.geom.GeneralPath
The constructor.
GeneralPath(Shape) - Constructor for class edu.mit.sketch.geom.GeneralPath
The constructor.
GeneralPathProcessor - class edu.mit.sketch.geom.GeneralPathProcessor.
Class for converting a general path object to a symbolic representation
GeneralPathProcessor() - Constructor for class edu.mit.sketch.geom.GeneralPathProcessor
 
GeometricComputationException - exception edu.mit.sketch.geom.GeometricComputationException.
Thrown when an exception occurs in a geometric computation.
GeometricObject - interface edu.mit.sketch.geom.GeometricObject.
All the objects who want to be Geometric must implement this interface.
GeometryUtil - class edu.mit.sketch.geom.GeometryUtil.
Implements geometry related utility functions
GeometryUtil() - Constructor for class edu.mit.sketch.geom.GeometryUtil
 
gesture_gui - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 
gesture_gui_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
GestureGUI - class edu.mit.sketch.ui.GestureGUI.
This class is used to input training data for the gesture recognizer.
GestureGUI() - Constructor for class edu.mit.sketch.ui.GestureGUI
The constructor.
getAbsoluteAngles() - Method in class edu.mit.sketch.geom.Polygon
Returns an array containing the angles that each edge makes with the x axis.
getAbsolutePositiveAngles() - Method in class edu.mit.sketch.geom.Polygon
Returns an array containing the angles that each edge makes with the x axis.
getAllComponentsRecursively(Container) - Static method in class edu.mit.sketch.util.AWTUtil
Get all the sub componets in this container.
getAngle() - Method in class edu.mit.sketch.geom.Rectangle
Returns the angle of the object WRT the x axis in radians.
getAngle() - Method in class edu.mit.sketch.geom.Line
Returns the angle of the object WRT the x axis in radians.
getAngle() - Method in interface edu.mit.sketch.geom.Rotatable
Returns the angle of the object WRT the x axis in radians.
getAngle() - Method in class edu.mit.sketch.geom.GeneralPath
Returns the angle of the object WRT the x axis in radians.
getAngle() - Method in class edu.mit.sketch.grammar.me.Shade
Returns the angle of the object WRT the x axis in radians.
getAngle() - Method in class edu.mit.sketch.grammar.me.Motor
Returns the angle of the motor WRT the x axis in radians.
getAngle() - Method in class edu.mit.sketch.grammar.me.Cross
Returns the angle of the motor WRT the x axis in radians.
getAngle() - Method in class edu.mit.sketch.grammar.me.Ground
Returns the angle of the Ground WRT the x axis in radians.
getAngle(int) - Method in class edu.mit.sketch.geom.Polygon
get the nth angle as a positive value between 0 and 2*PI
getBounds() - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
getBounds2D() - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
getCartesianAngle() - Method in class edu.mit.sketch.geom.Line
Returns the angle of the object WRT the x axis in radians.
getCartesianAngle() - Method in class edu.mit.sketch.geom.GeneralPath
Returns the angle of the object WRT the x axis in radians.
getCenter() - Method in class edu.mit.sketch.geom.Rectangle
Returns the center of this rectangle.
getChildren() - Method in interface edu.mit.sketch.grammar.NonTerminal
This method should return a vector containing the children of this object.
getChildren() - Method in class edu.mit.sketch.grammar.me.Motor
This method should return a vector containing the children of this object.
getChildren() - Method in class edu.mit.sketch.grammar.me.Pin
This method should return a vector containing the children of this object.
getChildren() - Method in class edu.mit.sketch.grammar.me.Cross
This method should return a vector containing the children of this object.
getChildren() - Method in class edu.mit.sketch.grammar.me.Ground
This method should return a vector containing the children of this object.
getClassifier() - Method in class edu.mit.sketch.toolkit.Test
 
getComplement(int) - Static method in class edu.mit.sketch.geom.SpatialRelation
To String
getComplexApproximation() - Method in class edu.mit.sketch.toolkit.Classifier
Returns the best fit Polygon for the StrokeData.
getComplexApproximation() - Method in class edu.mit.sketch.toolkit.SimpleClassifier
Returns the best fit GeneralPath for the StrokeData.
getComplexError() - Method in class edu.mit.sketch.toolkit.Classifier
Returns the error between the best fit GeneralPath and the strokeData.
getComplexError() - Method in class edu.mit.sketch.toolkit.SimpleClassifier
Returns the error between the best fit GeneralPath and the strokeData.
getContiguosExcludedPointSequence(int, Vertex[], Vertex[]) - Static method in class edu.mit.sketch.toolkit.Blackboard
Return the sequence of contiguos point sequence that is included in superset, but is excluded in subset.
getControlPoints(Vertex, Vertex, StrokeData) - Static method in class edu.mit.sketch.toolkit.Blackboard
Return the control points to be used for drawing a curve from v1 to v2.
getControlPoints(Vertex, Vertex, StrokeData, int, int) - Static method in class edu.mit.sketch.toolkit.Blackboard
Return the control points to be used for drawing a curve from v1 to v2.
getCurrentPoint() - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
getCurvatureFit(Point[], Vertex[], double) - Static method in class edu.mit.sketch.toolkit.Blackboard
Returns a curvature fit.
getCurvatureFitOld(Point[], Vertex[], double) - Static method in class edu.mit.sketch.toolkit.Blackboard
Returns a curvature fit.
getCurveLSQEror(Shape, StrokeData, Range) - Static method in class edu.mit.sketch.util.AWTUtil
Get the LSQE for the curve by measuring the distance to the vertices in range.
getData() - Method in class edu.mit.sketch.toolkit.Test
 
getDataPoints() - Method in class edu.mit.sketch.geom.Rectangle
This method is used to get the original data points that forms this GeometricObject
getDataPoints() - Method in class edu.mit.sketch.geom.Line
This method is used to get the original data points that forms this GeometricObject
getDataPoints() - Method in class edu.mit.sketch.geom.GeneralPath
This method is used to get the original data points that forms this GeometricObject
getDataPoints() - Method in interface edu.mit.sketch.geom.GeometricObject
This method is used to get the original data points that forms this GeometricObject
getDataPoints() - Method in class edu.mit.sketch.geom.Point
This method is used to get the original data points that forms this GeometricObject
getDataPoints() - Method in class edu.mit.sketch.geom.Polygon
This method is used to get the original data points that forms this GeometricObject
getDataPoints() - Method in class edu.mit.sketch.geom.Ellipse
This method is used to get the original data points that forms this GeometricObject
getDataPoints() - Method in class edu.mit.sketch.toolkit.StrokeData
Put the valid points in the points array in a Polygon and return it.
getDebugFrame() - Static method in class edu.mit.util.Debug
Get the frame that houses the debug pane.
getDebugPanel(String) - Method in class edu.mit.util.Debug
 
getDirectionFit(double) - Method in class edu.mit.sketch.toolkit.StrokeData
Find the corners of the polygon using the change in the direction.
getEdge(int) - Method in class edu.mit.sketch.geom.Polygon
This method returns the nth edge of this Polygon.
getEllipse() - Method in class edu.mit.sketch.toolkit.StrokeData
Return the ellipse fully containing the data points.
getEllipseApproximation() - Method in class edu.mit.sketch.toolkit.Classifier
Returns the best fit Polygon for the StrokeData.
getEllipseApproximation() - Method in class edu.mit.sketch.toolkit.SimpleClassifier
Returns the best fit Ellipse for the StrokeData.
getEllipseError() - Method in class edu.mit.sketch.toolkit.Classifier
Returns the error between the best fit ellipse and the strokeData.
getEllipseError() - Method in class edu.mit.sketch.toolkit.SimpleClassifier
Returns the error between the best fit ellipse and the strokeData.
getEllipseError(StrokeData, Ellipse) - Method in interface edu.mit.sketch.toolkit.ErrorCalculator
Get the error between the stroke_data and the shape.
getEndTime() - Method in class edu.mit.sketch.toolkit.StrokeData
 
getFeaturePointIndices() - Method in class edu.mit.sketch.geom.Segment
override to preserve maximum significance of the segments in this collection
getFeatureVectors() - Method in class edu.mit.sketch.toolkit.ObjectManager
Feature vectors in string format
getGeneralPathError(StrokeData, GeneralPath) - Method in interface edu.mit.sketch.toolkit.ErrorCalculator
Get the error between the stroke_data and the shape.
getGeneralPathRanges(StrokeData) - Method in class edu.mit.sketch.geom.GeneralPath
getGeneralPathRanges.
getHeight() - Method in class edu.mit.sketch.geom.Rectangle
Returns the height
getHorizontalBounds() - Method in class edu.mit.sketch.geom.Polygon
Supplied for completeness.
getHybridFits(Vertex[], Vertex[], Point[]) - Static method in class edu.mit.sketch.toolkit.Blackboard
Computes the hybrid fits from speed_fit and direction_fit
getIconHeight() - Method in class edu.mit.util.DotIcon
 
getIconWidth() - Method in class edu.mit.util.DotIcon
 
getImage() - Method in class edu.mit.sketch.toolkit.DirectionChangeScaleSpaceViewer
Get image
getImage() - Method in class edu.mit.sketch.toolkit.SpeedScaleSpaceViewer
Get image
getIndexInVertices(Vertex[], Vertex, int, double) - Static method in class edu.mit.sketch.toolkit.Blackboard
Return the index in subset if the array contains a Vertex that is sufficiently close to the argument vertex given the tolerances.
getInterestingScale() - Method in class edu.mit.sketch.toolkit.DirectionChangeScaleSpaceViewer
Find a good scale in the feature-count -- feature graph by fitting a sigmoid function like polyline to the feature-count -- feature data.
getInterestingScale() - Method in class edu.mit.sketch.toolkit.SpeedScaleSpaceViewer
Find a good scale in the feature-count -- feature graph by fitting a sigmoid function like polyline to the feature-count -- feature data.
getInterestingScaleOnCurve() - Method in class edu.mit.sketch.toolkit.DirectionChangeScaleSpaceViewer
Find a good scale in the feature-count -- feature graph by fitting a sigmoid function like polyline to the feature-count -- feature data.
getIntermediateAngles(Vertex[]) - Static method in class edu.mit.sketch.geom.GeometryUtil
Find the angles that the intermediate line segments make WRT the x axis using the input_vertices
getIntersection(Line) - Method in class edu.mit.sketch.geom.Line
Returns the intersection of the two infinite length lines described by this line and the argument.
getIntersection(Vertex[], Vertex[], int) - Static method in class edu.mit.sketch.toolkit.Blackboard
Get the common points in a and b.
getLineApproximation() - Method in class edu.mit.sketch.toolkit.Classifier
Returns the best fit Polygon for the StrokeData.
getLineApproximation() - Method in class edu.mit.sketch.toolkit.SimpleClassifier
Returns the best fit Line for the StrokeData.
getLineError() - Method in class edu.mit.sketch.toolkit.Classifier
Returns the error between the best fit line and the strokeData.
getLineError() - Method in class edu.mit.sketch.toolkit.SimpleClassifier
Returns the error between the best fit line and the strokeData.
getLineError(StrokeData, Line) - Method in interface edu.mit.sketch.toolkit.ErrorCalculator
Get the error between the stroke_data and the shape.
getLocalMinimaIndices(double[]) - Static method in class edu.mit.sketch.util.Util
Print to string array
getLSQEror(StrokeData, Range[]) - Method in class edu.mit.sketch.geom.GeneralPath
Get the LSQE for the general path by measuring the distance to the vertices in the StrokeData.
getLSQError() - Method in class edu.mit.sketch.toolkit.Fit
Get the LSQ error
getLSQError(Point[], Range) - Method in class edu.mit.sketch.geom.Line
Returns the lsq error.
getLSQError(StrokeData, Range) - Method in class edu.mit.sketch.geom.Line
Returns the lsq error.
getMajorAngles() - Method in class edu.mit.sketch.geom.Polygon
Return the major angles in this polygon
getMajorAxisAngle() - Method in class edu.mit.sketch.geom.Rectangle
Returns the angle between the longer of width or height vectors and the x axis.
getMajorAxisDirection() - Method in class edu.mit.sketch.geom.Rectangle
Returns the direction of the major axis of this Rectangle Known eksik: Should be tested.
getMajorAxisLength() - Method in class edu.mit.sketch.geom.Rectangle
Returns the larger of width and height.
getMinorAxisAngle() - Method in class edu.mit.sketch.geom.Rectangle
Returns the angle between the shorter of width or height vectors and the x axis.
getMinorAxisLength() - Method in class edu.mit.sketch.geom.Rectangle
Returns the smaller of width and height.
getNegativeZeroCrossingIndices(double[]) - Static method in class edu.mit.sketch.util.Util
Print to string array
getNeighborObjects(Point, int) - Method in class edu.mit.sketch.toolkit.ObjectManager
Returns a vector of all the geometric objects "sufficiently close to the point passes, determined by the search radius r.
getNeighborObjectsOriginal(Point, int) - Method in class edu.mit.sketch.toolkit.ObjectManager
Returns a vector of all the geometric objects "sufficiently close to the point passes, determined by the search radius r.
getPathIterator(AffineTransform) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
getPathIterator(AffineTransform, double) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
getPolygonalBounds() - Method in class edu.mit.sketch.geom.Rectangle
This method should return a polygon that corresponds to this object.
getPolygonalBounds() - Method in class edu.mit.sketch.geom.Line
This method should return a polygon that fully contains the current object.
getPolygonalBounds() - Method in class edu.mit.sketch.geom.GeneralPath
This method should return a polygon that fully contains the current object.
getPolygonalBounds() - Method in interface edu.mit.sketch.geom.GeometricObject
This method should return a polygon that fully contains the current object.
getPolygonalBounds() - Method in class edu.mit.sketch.geom.Point
This method should return a polygon that corresponds to this object.
getPolygonalBounds() - Method in class edu.mit.sketch.geom.Polygon
This method should return a polygon that fully contains the current object.
getPolygonalBounds() - Method in class edu.mit.sketch.geom.Ellipse
This method should return a polygon that corresponds to this object.
getPolygonalBoundsArray() - Method in interface edu.mit.sketch.grammar.NonTerminal
This method should return the polygonal array bounds of this non-terminal object.
getPolygonalBoundsArray() - Method in class edu.mit.sketch.grammar.me.Motor
This method should return the polygonal array bounds of this non-terminal object.
getPolygonalBoundsArray() - Method in class edu.mit.sketch.grammar.me.Pin
This method should return the polygonal array bounds of this non-terminal object.
getPolygonalBoundsArray() - Method in class edu.mit.sketch.grammar.me.Cross
This method should return the polygonal array bounds of this non-terminal object.
getPolygonalBoundsArray() - Method in class edu.mit.sketch.grammar.me.Ground
This method should return the polygonal array bounds of this non-terminal object.
getPolygonApproximation() - Method in class edu.mit.sketch.toolkit.Classifier
Returns the best fit Polygon for the StrokeData.
getPolygonApproximation() - Method in class edu.mit.sketch.toolkit.SimpleClassifier
Returns the best fit Polygon for the StrokeData.
getPolygonApproximation(double) - Method in class edu.mit.sketch.toolkit.SimpleClassifier
This method returns a polygon made of a subset of the vertices of the final_fit polygon.
getPolygonError() - Method in class edu.mit.sketch.toolkit.Classifier
Returns the error between the best fit polygon and the strokeData.
getPolygonError() - Method in class edu.mit.sketch.toolkit.SimpleClassifier
Returns the error between the best fit polygon and the strokeData.
getPolygonError(StrokeData, Polygon) - Method in interface edu.mit.sketch.toolkit.ErrorCalculator
Get the error between the stroke_data and the shape.
getPolygonIndices(Point[], Point[]) - Static method in class edu.mit.sketch.toolkit.Blackboard
get the indices of output_polygon in the array points.
getPositiveZeroCrossingIndices(double[]) - Static method in class edu.mit.sketch.util.Util
Print to string array
getRectangularBounds() - Method in class edu.mit.sketch.geom.Rectangle
Supplied for completeness.
getRectangularBounds() - Method in class edu.mit.sketch.geom.Line
Supplied for completeness.
getRectangularBounds() - Method in class edu.mit.sketch.geom.GeneralPath
Supplied for completeness.
getRectangularBounds() - Method in interface edu.mit.sketch.geom.GeometricObject
This method should return the Rectangular bounds of the object.
getRectangularBounds() - Method in class edu.mit.sketch.geom.Point
Supplied for completeness.
getRectangularBounds() - Method in class edu.mit.sketch.geom.Polygon
Supplied for completeness.
getRectangularBounds() - Method in class edu.mit.sketch.geom.Ellipse
Supplied for completeness.
getRectangularBounds() - Method in interface edu.mit.sketch.grammar.NonTerminal
This method should return the Rectangular bounds of this non-terminal object.
getRectangularBounds() - Method in class edu.mit.sketch.grammar.me.Spring
This method should return the Rectangular bounds of this non-terminal object.
getRectangularBounds() - Method in class edu.mit.sketch.grammar.me.Shade
Supplied for completeness.
getRectangularBounds() - Method in class edu.mit.sketch.grammar.me.Motor
This method should return the Rectangular bounds of this non-terminal object.
getRectangularBounds() - Method in class edu.mit.sketch.grammar.me.Pin
This method should return the Rectangular bounds of this non-terminal object.
getRectangularBounds() - Method in class edu.mit.sketch.grammar.me.Cross
This method should return the Rectangular bounds of this non-terminal object.
getRectangularBounds() - Method in class edu.mit.sketch.grammar.me.Ground
This method should return the Rectangular bounds of this non-terminal object.
getRectangularBounds(int) - Method in class edu.mit.sketch.geom.Polygon
Supplied for completeness.
getResource(Object, String) - Static method in class edu.mit.util.ResourceFinder
It first tries to find resource relative to the path that the root class is in.
getResource(String) - Static method in class edu.mit.util.ResourceFinder
 
getSegmentCount() - Method in class edu.mit.sketch.geom.GeneralPath
Return the number of segments in a java.awt.GeneralPath object.
getSlidingWindowHistogram(double[], double, double, double, double) - Static method in class edu.mit.sketch.toolkit.StatisticsModule
Plot sliding window
getSpeedFit(double) - Method in class edu.mit.sketch.toolkit.StrokeData
See if the input is a polygon.
getStartPosition() - Method in class edu.mit.sketch.geom.GeneralPath
Return the beginning the position.
getStartTime() - Method in class edu.mit.sketch.toolkit.StrokeData
 
getStrokeData() - Method in class edu.mit.sketch.toolkit.StrokeDataReader
Return the StrokeData collected by this reader
getStrokeData() - Method in class edu.mit.sketch.toolkit.SimpleClassifier
 
getStrokeData() - Method in interface edu.mit.sketch.toolkit.StrokeDataFactory
Throws an array index out of bound exception if more points than the max_data_points are added.
getSymmetricDifference(Vertex[], Vertex[], Vertex[], int) - Static method in class edu.mit.sketch.toolkit.Blackboard
Get the symmetric difference of a and b.
getTics() - Method in class edu.mit.sketch.toolkit.Timer
 
getTimeStamp() - Method in class edu.mit.sketch.geom.Rectangle
Returns the time stamp of the current Terminal
getTimeStamp() - Method in class edu.mit.sketch.geom.Line
Returns the time stamp of the current Terminal
getTimeStamp() - Method in class edu.mit.sketch.geom.GeneralPath
Returns the time stamp of the current Terminal
getTimeStamp() - Method in class edu.mit.sketch.geom.Point
Returns the time stamp of the current Terminal
getTimeStamp() - Method in class edu.mit.sketch.geom.Polygon
Returns the time stamp of the current Terminal
getTimeStamp() - Method in class edu.mit.sketch.geom.Ellipse
Returns the time stamp of the current Terminal
getTimeStamp() - Method in interface edu.mit.sketch.grammar.Terminal
Returns the time stamp of the current Terminal
getTimeStamp() - Method in class edu.mit.sketch.grammar.me.Shade
Returns the time stamp of the current Terminal
getTimeStamp(MouseEvent) - Method in class edu.mit.sketch.ui.TabletDataProcessor
This method is needed only for supporting the rather silly windows9X platform, because it is still using the dos clock.
getTranslatableNeighborObjects(Point, int) - Method in class edu.mit.sketch.toolkit.ObjectManager
Returns a vector of all the geometric objects "sufficiently close to the point passes, determined by the search radius r.
getTranslatableNeighborObjectsOriginal(Point, int) - Method in class edu.mit.sketch.toolkit.ObjectManager
Returns a vector of all the geometric objects "sufficiently close to the point passes, determined by the search radius r.
getType() - Method in class edu.mit.sketch.geom.Rectangle
Implement GeometricObject
getType() - Method in class edu.mit.sketch.geom.Line
Implement GeometricObject
getType() - Method in class edu.mit.sketch.geom.GeneralPath
Implement GeometricObject
getType() - Method in class edu.mit.sketch.geom.Point
Implement GeometricObject
getType() - Method in class edu.mit.sketch.geom.Polygon
Implement GeometricObject
getType() - Method in class edu.mit.sketch.geom.Ellipse
Implement GeometricObject
getType() - Method in class edu.mit.sketch.grammar.me.Spring
Implement Paintable
getType() - Method in class edu.mit.sketch.grammar.me.Shade
Implement GeometricObject
getType() - Method in class edu.mit.sketch.grammar.me.Motor
Implement Paintable
getType() - Method in class edu.mit.sketch.grammar.me.Pin
Implement Paintable
getType() - Method in class edu.mit.sketch.grammar.me.Cross
Implement Paintable
getType() - Method in class edu.mit.sketch.grammar.me.Ground
Implement Paintable
getType() - Method in interface edu.mit.sketch.ui.Paintable
Returns the type of this NonTerminal
getTypeWithTolerance(double) - Method in class edu.mit.sketch.geom.Ellipse
This returns "circle" if the width/height ratio is within tolerance neighborhood of 1.
getUnion(Vertex[], Vertex[]) - Static method in class edu.mit.sketch.toolkit.Blackboard
Get all the points in a and b.
getVertices() - Method in class edu.mit.sketch.toolkit.StrokeData
Return the vertices array.
getWidth() - Method in class edu.mit.sketch.geom.Rectangle
Returns the width
getWindingRule() - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
getZeroCrossingIndices(double[]) - Static method in class edu.mit.sketch.util.Util
Print to string array
GIFEncoder - class edu.mit.sketch.util.GIFEncoder.
GIFEncoder is a class which takes an image and saves it to a stream using the GIF file format (Graphics Interchange Format).
GIFEncoder(byte[][], byte[][], byte[][]) - Constructor for class edu.mit.sketch.util.GIFEncoder
Construct a GIFEncoder.
GIFEncoder(Image) - Constructor for class edu.mit.sketch.util.GIFEncoder
Construct a GIFEncoder.
graph_color - Variable in class edu.mit.sketch.ui.TabletGUI
 
graphics - Variable in class edu.mit.sketch.geom.Rectangle
Graphics context for this Geometric object.
graphics - Variable in class edu.mit.sketch.geom.Line
Graphics context for this Geometric object.
graphics - Variable in class edu.mit.sketch.geom.GeneralPath
Graphics context for this Geometric object.
graphics - Variable in class edu.mit.sketch.geom.Point
Graphics context for this Geometric object.
graphics - Variable in class edu.mit.sketch.geom.Polygon
Graphics context for this Geometric object.
graphics - Variable in class edu.mit.sketch.geom.Ellipse
Graphics context for this Geometric object.
graphics - Variable in class edu.mit.sketch.grammar.me.Motor
Graphics context for this Geometric object.
graphics - Variable in class edu.mit.sketch.grammar.me.Pin
Graphics context for this Geometric object.
graphics - Variable in class edu.mit.sketch.grammar.me.Cross
Graphics context for this Geometric object.
graphics - Variable in class edu.mit.sketch.grammar.me.Ground
Graphics context for this Geometric object.
GraphicsUtil - class edu.mit.sketch.util.GraphicsUtil.
Implements some methods not found in jdk 1.1
GraphicsUtil() - Constructor for class edu.mit.sketch.util.GraphicsUtil
 
Ground - class edu.mit.sketch.grammar.me.Ground.
A basic Ground object with shading and edges.
Ground(Shade, Polygon) - Constructor for class edu.mit.sketch.grammar.me.Ground
The constructor.

H

handleStroke(StrokeData) - Method in class edu.mit.sketch.grammar.CheckMarkRecognizer
 
handleStroke(StrokeData) - Method in class edu.mit.sketch.toolkit.DataCollector
 
handleStroke(StrokeData) - Method in interface edu.mit.sketch.toolkit.StrokeDataListener
This method is called by classes that collect StrokeData objects.
handleStroke(StrokeData) - Method in class edu.mit.sketch.ui.TicTacToe
 
hasOnMajorAxisDirection(GeometricObject) - Method in class edu.mit.sketch.geom.Rectangle
This method should return true if the input object lies in the major axis direction of this Rectangle.
hasSufficientData() - Method in class edu.mit.sketch.toolkit.StrokeDataReader
Return the StrokeData collected by this reader
hybrid_fits - Static variable in class edu.mit.sketch.toolkit.Blackboard
The array of hybrid fits obtained from speed and direction fits.

I

in_recognition_mode - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 
included - Variable in class edu.mit.sketch.geom.Segment
true if included
index - Variable in class edu.mit.sketch.geom.Vertex
The index
index_difference - Static variable in class edu.mit.sketch.toolkit.Blackboard
Index difference tolerance.
info_bar - Static variable in class edu.mit.sketch.ui.TabletGUI
 
initializeBuffer() - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Overloaded for double buffering.
initializeGraphicsObjects() - Method in class edu.mit.sketch.ui.TabletGUI
initializeGraphicsObjects
insert(String) - Method in class edu.mit.util.DocumentAppender
 
insert(String, String) - Method in class edu.mit.util.DebugWindowAppender
 
insertVertex(Vertex[], Vertex) - Static method in class edu.mit.sketch.toolkit.Blackboard
Return the vertices obtained by inserting the input vertex to the appropriate slot in the input vertices.
interesting_scale - Variable in class edu.mit.sketch.toolkit.DirectionChangeScaleSpaceViewer
 
interesting_scale - Variable in class edu.mit.sketch.toolkit.SpeedScaleSpaceViewer
 
intersects(double, double, double, double) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
intersects(Rectangle2D) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
invalidateCaches() - Method in class edu.mit.sketch.toolkit.StrokeData
Invalidates caches
isCheckMark(Polygon) - Method in class edu.mit.sketch.grammar.CheckMarkRecognizer
 
isComplex() - Method in class edu.mit.sketch.toolkit.Classifier
Returns true if the best fit for the strokeData is a complex shape.
isComplex() - Method in class edu.mit.sketch.toolkit.SimpleClassifier
Returns true if the best fit for the strokeData is a complex shape.
isComplex(double) - Method in class edu.mit.sketch.toolkit.Classifier
Returns true if the best fit complex shape has error measure less than error_bound.
isComplex(double) - Method in class edu.mit.sketch.toolkit.SimpleClassifier
Returns true if the best fit complex shape has error measure less than error_bound.
isDebugging(boolean) - Static method in class edu.mit.util.Debug
 
isEllipse() - Method in class edu.mit.sketch.toolkit.Classifier
Returns true if the best fit for the strokeData is an Ellipse.
isEllipse() - Method in class edu.mit.sketch.toolkit.SimpleClassifier
Returns true if the best fit for the strokeData is an Ellipse.
isEllipse(double) - Method in class edu.mit.sketch.toolkit.Classifier
Returns true if the best fit ellipse for the strokeData is less than error_bound.
isEllipse(double) - Method in class edu.mit.sketch.toolkit.SimpleClassifier
Returns true if the best fit ellipse for the strokeData is less than error_bound.
isLine() - Method in class edu.mit.sketch.toolkit.Classifier
Returns true if the best fit shape for the strokeData is a Line.
isLine() - Method in class edu.mit.sketch.toolkit.SimpleClassifier
Returns true if the best fit shape for the strokeData is a Line.
isLine(double) - Method in class edu.mit.sketch.toolkit.Classifier
Returns true if the best fit line has an error of less than error_bound.
isLine(double) - Method in class edu.mit.sketch.toolkit.SimpleClassifier
Returns true if the best fit line has an error of less than error_bound.
isLine(Polygon) - Static method in class edu.mit.sketch.geom.Line
Returns true if the input Polygon is a line.
isPaintingAsWeGo() - Method in class edu.mit.sketch.ui.SketchPanel
This determines if we are responsible for laying down the ink while it is being drawn.
isPolygon() - Method in class edu.mit.sketch.toolkit.Classifier
Returns true if the best fit for strokeData is a polygon.
isPolygon() - Method in class edu.mit.sketch.toolkit.SimpleClassifier
Returns true if the best fit for strokeData is a polygon.
isPolygon(double) - Method in class edu.mit.sketch.toolkit.Classifier
Returns true if the best fit polygon has an error of less than bound.
isPolygon(double) - Method in class edu.mit.sketch.toolkit.SimpleClassifier
Returns true if the best fit polygon has an error of less than bound.
isRecognizing() - Method in class edu.mit.sketch.ui.SketchPanel
 
isRectangle(Polygon) - Static method in class edu.mit.sketch.geom.Rectangle
Returns true if the input polygon looks like a Rectangle Can be optimized by eliminating Polygon conversions.
isSpring(Polygon) - Static method in class edu.mit.sketch.grammar.me.Spring
Returns true if the input polygon looks like a Spring.
isTrue(boolean) - Static method in class edu.mit.util.Assert
If the argument is true do nothing.
isTrue(boolean, String) - Static method in class edu.mit.util.Assert
If the argument is true do nothing.
itemStateChanged(ItemEvent) - Method in class edu.mit.sketch.toolkit.ControlModule
Handle key stroke events
itemStateChanged(ItemEvent) - Method in class edu.mit.sketch.ui.GestureGUI
itemStateChanged

J

joint_display - Variable in class edu.mit.sketch.ui.TabletGUI
 
joint_display_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
JointDisplay - class edu.mit.sketch.ui.JointDisplay.
This class is used for viewing scale space data.
JointDisplay() - Constructor for class edu.mit.sketch.ui.JointDisplay
The constructor.

K

keyPressed(KeyEvent) - Method in class edu.mit.sketch.toolkit.StatisticsModule
Handle key stroke events
keyPressed(KeyEvent) - Method in class edu.mit.sketch.toolkit.ControlModule
Handle key stroke events
keyPressed(KeyEvent) - Method in class edu.mit.sketch.toolkit.ObjectManager
Handle key stroke events
keyPressed(KeyEvent) - Method in class edu.mit.sketch.ui.TabletDebugger
Handle key stroke events
keyPressed(KeyEvent) - Method in class edu.mit.sketch.ui.Tablet
Handle key stroke events
keyReleased(KeyEvent) - Method in class edu.mit.sketch.toolkit.StatisticsModule
Handle key stroke events
keyReleased(KeyEvent) - Method in class edu.mit.sketch.toolkit.ControlModule
Handle key stroke events
keyReleased(KeyEvent) - Method in class edu.mit.sketch.toolkit.ObjectManager
Handle key stroke events
keyReleased(KeyEvent) - Method in class edu.mit.sketch.ui.TabletDebugger
Handle key stroke events
keyReleased(KeyEvent) - Method in class edu.mit.sketch.ui.Tablet
Handle key stroke events
keyTyped(KeyEvent) - Method in class edu.mit.sketch.toolkit.StatisticsModule
Handle key stroke events
keyTyped(KeyEvent) - Method in class edu.mit.sketch.toolkit.ControlModule
Handle key stroke events
keyTyped(KeyEvent) - Method in class edu.mit.sketch.toolkit.ObjectManager
Handle key stroke events
keyTyped(KeyEvent) - Method in class edu.mit.sketch.ui.TabletDebugger
Handle key stroke events
keyTyped(KeyEvent) - Method in class edu.mit.sketch.ui.Tablet
Handle key stroke events

L

leastSquaresForCircle() - Method in class edu.mit.sketch.toolkit.StrokeData
calculate the lsq error.
leastSquaresForCircle2() - Method in class edu.mit.sketch.toolkit.StrokeData
calculate the lsq error.
leastSquaresForLine(Line, Point[]) - Static method in class edu.mit.sketch.util.AWTUtil
calculate the lsq error.
leastSquaresForPolygon(Vertex[], Point[]) - Static method in class edu.mit.sketch.toolkit.Blackboard
calculate the lsq error.
leastSquaresForPolygon(Vertex[], Point[]) - Static method in class edu.mit.sketch.util.AWTUtil
Calculate the lsq error.
left - Variable in class edu.mit.sketch.geom.Segment
left subsegment
LEFT - Static variable in class edu.mit.sketch.geom.SpatialRelation
| | | | ___|___|___ | | X | | ___|___|___ | | | | | |
length() - Method in class edu.mit.sketch.geom.Line
Returns the length of this line.
line - Variable in class edu.mit.sketch.ui.TabletDataProcessor
Parameters and constants.
Line - class edu.mit.sketch.geom.Line.
This class represents a line described by its end-points p, q.
LINE - Static variable in interface edu.mit.sketch.geom.GeometricObject
 
LINE - Static variable in class edu.mit.sketch.toolkit.Classifier
Constant for line
Line() - Constructor for class edu.mit.sketch.geom.Line
The constructor.
Line(double, double, double, double) - Constructor for class edu.mit.sketch.geom.Line
The constructor.
Line(Line) - Constructor for class edu.mit.sketch.geom.Line
The constructor.
Line(Point, Point) - Constructor for class edu.mit.sketch.geom.Line
The constructor.
LinearFit - class edu.mit.sketch.util.LinearFit.
This class has useful functions for linear line matching.
LinearFit() - Constructor for class edu.mit.sketch.util.LinearFit
 
lines - Variable in class edu.mit.sketch.grammar.me.Shade
Lines that formed this Shade.
linesParallel(Line, Line, double) - Static method in class edu.mit.sketch.geom.GeometryUtil
Return true if two lines are roughly parallel Tolerance is the tolerance in the difference of slopes.
lineTo(float, float) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
loadData(String) - Static method in class edu.mit.sketch.toolkit.DataCollector
This is a convenience method that loads the strokes out of the given file and returns them as a List.
LoadStoreModule - class edu.mit.sketch.util.LoadStoreModule.
This class loads and stores objects used by the ObjectManager.
LoadStoreModule() - Constructor for class edu.mit.sketch.util.LoadStoreModule
 
loadTerminalsFromFile(String) - Static method in class edu.mit.sketch.util.LoadStoreModule
Load Terminals and NonTerminals from the given file, and return them in a Vector
loadVerticesFromFile(String) - Static method in class edu.mit.sketch.util.LoadStoreModule
Load arrays of vertices from the given file, and return them in a Vector
LOWER_LEFT - Static variable in class edu.mit.sketch.geom.SpatialRelation
| | | | ___|___|___ | | | | ___|___|___ | | X | | | |
LOWER_RIGHT - Static variable in class edu.mit.sketch.geom.SpatialRelation
| | | | ___|___|___ | | | | ___|___|___ | | | | X | |
LSQE_treshold - Static variable in class edu.mit.sketch.ui.TabletDataProcessor
 

M

m_window - Static variable in class edu.mit.util.Assert
 
magnitude() - Method in class edu.mit.sketch.geom.Point
Return distance from origin.
main(String[]) - Static method in class edu.mit.sketch.fig.FigDocument
 
main(String[]) - Static method in class edu.mit.sketch.grammar.CheckMarkRecognizer
 
main(String[]) - Static method in class edu.mit.sketch.ui.TicTacToe
 
main(String[]) - Static method in class edu.mit.sketch.ui.VisiPad
 
main(String[]) - Static method in class edu.mit.util.Debug
Test out the debug windows
main(String[]) - Static method in class edu.mit.util.ResourceFinder
 
main(String[]) - Static method in class edu.mit.util.Assert
 
makeActive(String) - Static method in class edu.mit.util.Debug
 
markDirty(String) - Method in class edu.mit.util.Debug
 
max - Variable in class edu.mit.sketch.geom.Range
Upper bound of the range
MAX_FEATURES - Static variable in class edu.mit.sketch.geom.GeneralPathProcessor
Converts a general path object to a symbolic representation
MECHANICAL_DESIGN_FILE_SIGNATURE - Static variable in class edu.mit.sketch.grammar.me.MechanicalDesignFilenameFilter
File signature for designs.
MechanicalDesignFilenameFilter - class edu.mit.sketch.grammar.me.MechanicalDesignFilenameFilter.
This class does the filtering of mechanical design files.
MechanicalDesignFilenameFilter() - Constructor for class edu.mit.sketch.grammar.me.MechanicalDesignFilenameFilter
 
menubar - Variable in class edu.mit.sketch.toolkit.StatisticsModule
 
menubar - Variable in class edu.mit.sketch.ui.TabletGUI
 
min - Variable in class edu.mit.sketch.geom.Range
Lower bound of the range
mode - Variable in class edu.mit.sketch.toolkit.ObjectManager
 
Motor - class edu.mit.sketch.grammar.me.Motor.
A basic motor with a body and a rotor
Motor(Rectangle, Line) - Constructor for class edu.mit.sketch.grammar.me.Motor
The constructor.
mouseClicked(MouseEvent) - Method in class edu.mit.sketch.toolkit.StatisticsModule
Handle mouse events
mouseClicked(MouseEvent) - Method in class edu.mit.sketch.toolkit.ObjectManager
Handle mouse events
mouseClicked(MouseEvent) - Method in class edu.mit.sketch.ui.TabletDataProcessor
Handle mouse events
mouseClicked(MouseEvent) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Handle mouse events
mouseDragged(MouseEvent) - Method in class edu.mit.sketch.toolkit.StatisticsModule
Handle mouse motion events
mouseDragged(MouseEvent) - Method in class edu.mit.sketch.toolkit.ObjectManager
Mouse events
mouseDragged(MouseEvent) - Method in class edu.mit.sketch.ui.TabletDebugger
Handle mouse events
mouseDragged(MouseEvent) - Method in class edu.mit.sketch.ui.TabletDataProcessor
Handle mouse motion events
mouseDragged(MouseEvent) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Handle mouse motion events
mouseEntered(MouseEvent) - Method in class edu.mit.sketch.toolkit.StatisticsModule
Handle mouse events
mouseEntered(MouseEvent) - Method in class edu.mit.sketch.toolkit.ObjectManager
Handle mouse events
mouseEntered(MouseEvent) - Method in class edu.mit.sketch.ui.TabletDataProcessor
Handle mouse events
mouseEntered(MouseEvent) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Handle mouse events
mouseExited(MouseEvent) - Method in class edu.mit.sketch.toolkit.StatisticsModule
Handle mouse events
mouseExited(MouseEvent) - Method in class edu.mit.sketch.toolkit.ObjectManager
Handle mouse events
mouseExited(MouseEvent) - Method in class edu.mit.sketch.ui.TabletDataProcessor
Handle mouse events
mouseExited(MouseEvent) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Handle mouse events
mouseMoved(MouseEvent) - Method in class edu.mit.sketch.toolkit.StatisticsModule
Handle mouse motion events
mouseMoved(MouseEvent) - Method in class edu.mit.sketch.toolkit.ObjectManager
Mouse events
mouseMoved(MouseEvent) - Method in class edu.mit.sketch.ui.TabletDebugger
Handle mouse events
mouseMoved(MouseEvent) - Method in class edu.mit.sketch.ui.TabletDataProcessor
Handle mouse motion events
mouseMoved(MouseEvent) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Handle mouse motion events
mousePressed(MouseEvent) - Method in class edu.mit.sketch.toolkit.StatisticsModule
Handle mouse events
mousePressed(MouseEvent) - Method in class edu.mit.sketch.toolkit.ObjectManager
Handle mouse events
mousePressed(MouseEvent) - Method in class edu.mit.sketch.ui.TabletDataProcessor
Handle mouse events
mousePressed(MouseEvent) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Handle mouse events
mouseReleased(MouseEvent) - Method in class edu.mit.sketch.toolkit.StatisticsModule
Handle mouse events
mouseReleased(MouseEvent) - Method in class edu.mit.sketch.toolkit.ObjectManager
Handle mouse events
mouseReleased(MouseEvent) - Method in class edu.mit.sketch.ui.TabletDataProcessor
Handle mouse events
mouseReleased(MouseEvent) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Handle mouse events
mouseReleased2(MouseEvent) - Method in class edu.mit.sketch.ui.TabletDataProcessor
Handle mouse events
moveTo(float, float) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath

N

NEWLINE - Static variable in class edu.mit.util.Debug
 
NonTerminal - interface edu.mit.sketch.grammar.NonTerminal.
All the objects who want to be NonTerminal must implement this interface.
normalize(double[]) - Method in class edu.mit.sketch.geom.Polygon
Normalize the polygon edges so that the angles they make with the x axis are chosen from the given angle set.
note(boolean, String) - Static method in class edu.mit.util.Assert
Make a note if b is false.
note(String) - Static method in class edu.mit.util.Debug
Println to the note tab.
notNull(Object) - Static method in class edu.mit.util.Assert
If the argument is not null do nothing.
notNull(Object, String) - Static method in class edu.mit.util.Assert
If the argument is not null do nothing.

O

object_manager - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 
ObjectManager - class edu.mit.sketch.toolkit.ObjectManager.
This class manages the objects recognized by the Tablet.
ObjectManager(TabletDataProcessor) - Constructor for class edu.mit.sketch.toolkit.ObjectManager
The constructor.
open_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
options - Variable in class edu.mit.sketch.ui.TabletGUI
 
OrthogonalDistanceRegression - class edu.mit.sketch.util.OrthogonalDistanceRegression.
 
OrthogonalDistanceRegression() - Constructor for class edu.mit.sketch.util.OrthogonalDistanceRegression
 
overlay(Vertex[], Vertex[], int, double) - Static method in class edu.mit.sketch.toolkit.Blackboard
Overlay subset and superset so the vertices very close to one another are collapsed into one.

P

paint_d(StrokeData, Color) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Update the direction graph.
paint_dd_dt(StrokeData, Color) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Update change in direction
paint() - Method in class edu.mit.sketch.geom.Rectangle
Draw the object
paint() - Method in class edu.mit.sketch.geom.Line
Draw the object
paint() - Method in class edu.mit.sketch.geom.GeneralPath
Draw the object
paint() - Method in class edu.mit.sketch.geom.Point
Draw the object
paint() - Method in class edu.mit.sketch.geom.Polygon
Draw the object
paint() - Method in class edu.mit.sketch.geom.Ellipse
Draw the object
paint() - Method in class edu.mit.sketch.grammar.me.Spring
Draw the Spring
paint() - Method in class edu.mit.sketch.grammar.me.Shade
Draw the object
paint() - Method in class edu.mit.sketch.grammar.me.Motor
Draw the Motor
paint() - Method in class edu.mit.sketch.grammar.me.Pin
Draw the Pin.
paint() - Method in class edu.mit.sketch.grammar.me.Cross
Draw the Cross.
paint() - Method in class edu.mit.sketch.grammar.me.Ground
Draw the Ground
paint() - Method in interface edu.mit.sketch.ui.Paintable
Draw the objects
paint(Graphics) - Method in class edu.mit.sketch.geom.Rectangle
Draw the object
paint(Graphics) - Method in class edu.mit.sketch.geom.Line
Draw the object
paint(Graphics) - Method in class edu.mit.sketch.geom.GeneralPath
Paint the general path
paint(Graphics) - Method in class edu.mit.sketch.geom.Point
Draw the object
paint(Graphics) - Method in class edu.mit.sketch.geom.Polygon
Draw the object
paint(Graphics) - Method in class edu.mit.sketch.geom.Ellipse
Draw the object
paint(Graphics) - Method in class edu.mit.sketch.grammar.me.Spring
Draw the Spring Can be made faster by incrementing theta in larger chunks.
paint(Graphics) - Method in class edu.mit.sketch.grammar.me.Shade
Draw the object
paint(Graphics) - Method in class edu.mit.sketch.grammar.me.Motor
Draw the Motor
paint(Graphics) - Method in class edu.mit.sketch.grammar.me.Pin
Draw the Pin
paint(Graphics) - Method in class edu.mit.sketch.grammar.me.Cross
Draw the Cross
paint(Graphics) - Method in class edu.mit.sketch.grammar.me.Ground
Draw the Ground
paint(Graphics) - Method in class edu.mit.sketch.toolkit.StatisticsModule
Overloaded for double buffering.
paint(Graphics) - Method in class edu.mit.sketch.toolkit.Fit
paint on g
paint(Graphics) - Method in class edu.mit.sketch.toolkit.ObjectManager
Draw the objects
paint(Graphics) - Method in interface edu.mit.sketch.ui.Paintable
Draw the objects using the given graphics context.
paint(Graphics) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Overloaded for double buffering.
paint(Graphics, int) - Method in class edu.mit.sketch.geom.Rectangle
Draw the object
Paintable - interface edu.mit.sketch.ui.Paintable.
All the objects who want to be Paintable must implement this interface.
paintAcceleration(StrokeData, Color) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Update the acceleration graph.
paintChangeInDirection(double[], double[]) - Method in class edu.mit.sketch.ui.JointDisplay
updata the panel
paintComponent(Graphics) - Method in class edu.mit.sketch.ui.TicTacToe
 
paintConvexHulls(Graphics2D) - Method in class edu.mit.sketch.geom.GeneralPath
Show convex hulls for the curves
paintDot(double, double, Color, Component, AffineTransform) - Static method in class edu.mit.sketch.util.AWTUtil
Paint x vs y in the frame using the input color and affine transform.
paintDot(double, double, Color, Image, AffineTransform) - Static method in class edu.mit.sketch.util.AWTUtil
Paint x vs y in the frame using the input color and affine transform.
paintDot(int, int, Color, Component, AffineTransform) - Static method in class edu.mit.sketch.util.AWTUtil
Paint x vs y in the frame using the input color and affine transform.
paintDot(int, int, Color, Image, AffineTransform) - Static method in class edu.mit.sketch.util.AWTUtil
Paint x vs y in the frame using the input color and affine transform.
paintDots(double[], double[], Color, Component, AffineTransform, int) - Static method in class edu.mit.sketch.util.AWTUtil
Paint f vs g in the frame using the input color and affine transform.
paintDots(double[], double[], Color, Image, AffineTransform, int) - Static method in class edu.mit.sketch.util.AWTUtil
Paint f vs g in the frame using the input color and affine transform.
paintDots(double[], int[], Color, Component, AffineTransform) - Static method in class edu.mit.sketch.util.AWTUtil
Paint f vs g in the frame using the input color and affine transform.
paintDots(double[], int[], Color, Image, AffineTransform) - Static method in class edu.mit.sketch.util.AWTUtil
Paint f vs g in the frame using the input color and affine transform.
paintDots(int[], double[], Color, Component, AffineTransform) - Static method in class edu.mit.sketch.util.AWTUtil
Paint f vs g in the frame using the input color and affine transform.
paintDots(int[], double[], Color, Component, AffineTransform, int) - Static method in class edu.mit.sketch.util.AWTUtil
Paint f vs g in the frame using the input color and affine transform.
paintDots(int[], double[], Color, Image, AffineTransform) - Static method in class edu.mit.sketch.util.AWTUtil
Paint f vs g in the frame using the input color and affine transform.
paintDots(int[], double[], Color, Image, AffineTransform, int) - Static method in class edu.mit.sketch.util.AWTUtil
Paint f vs g in the frame using the input color and affine transform.
paintDots(int[], int[], Color, Component, AffineTransform) - Static method in class edu.mit.sketch.util.AWTUtil
Paint f vs g in the frame using the input color and affine transform.
paintDots(int[], int[], Color, Image, AffineTransform) - Static method in class edu.mit.sketch.util.AWTUtil
Paint f vs g in the frame using the input color and affine transform.
paintFeatureCountFit(AffineTransform) - Method in class edu.mit.sketch.toolkit.DirectionChangeScaleSpaceViewer
paintFeatureCountFit
paintFeatureCountFit(AffineTransform) - Method in class edu.mit.sketch.toolkit.SpeedScaleSpaceViewer
setScaleSpaceData
paintFvsG(double[], double[], Color, Component, AffineTransform) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Paint f vs g in the frame using the input color and affine transform.
paintFvsG(double[], double[], Color, Component, AffineTransform) - Static method in class edu.mit.sketch.util.AWTUtil
Paint f vs g in the frame using the input color and affine transform.
paintFvsG(double[], double[], Color, Image, AffineTransform) - Static method in class edu.mit.sketch.util.AWTUtil
Paint f vs g in the frame using the input color and affine transform.
paintFvsG(long[], double[], Color, Component, AffineTransform) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Paint f vs g in the frame using the input color and affine transform.
paintFvsG(long[], double[], Color, Component, AffineTransform) - Static method in class edu.mit.sketch.util.AWTUtil
Paint f vs g in the frame using the input color and affine transform.
paintFvsG(long[], double[], Color, Image, AffineTransform) - Static method in class edu.mit.sketch.util.AWTUtil
Paint f vs g in the frame using the input color and affine transform.
paintGeneralPath(GeneralPath) - Static method in class edu.mit.sketch.toolkit.Blackboard
Paint the general path
paintGeneralPathConvexHulls(GeneralPath) - Static method in class edu.mit.sketch.toolkit.Blackboard
Show convex hulls for the curves
paintGeneralPathInSegments(GeneralPath) - Static method in class edu.mit.sketch.toolkit.Blackboard
Paint the general path in segments
paintIcon(Component, Graphics, int, int) - Method in class edu.mit.util.DotIcon
 
paintInSegments(Graphics2D) - Method in class edu.mit.sketch.geom.GeneralPath
Paint the general path in segments
paintLine(Line, Color, Component, AffineTransform) - Static method in class edu.mit.sketch.util.AWTUtil
Paint line.
paintLine(Line, Color, Image, AffineTransform) - Static method in class edu.mit.sketch.util.AWTUtil
Paint line.
paintOriginal(Graphics) - Method in class edu.mit.sketch.geom.Rectangle
This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class edu.mit.sketch.geom.Line
This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class edu.mit.sketch.geom.GeneralPath
This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class edu.mit.sketch.geom.Point
This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class edu.mit.sketch.geom.Polygon
This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class edu.mit.sketch.geom.Ellipse
This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class edu.mit.sketch.grammar.me.Spring
This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class edu.mit.sketch.grammar.me.Shade
This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class edu.mit.sketch.grammar.me.Motor
This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class edu.mit.sketch.grammar.me.Pin
This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class edu.mit.sketch.grammar.me.Cross
This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in class edu.mit.sketch.grammar.me.Ground
This method is used to paint the original data points that forms this GeometricObject
paintOriginal(Graphics) - Method in interface edu.mit.sketch.ui.Paintable
This method is used to paint the original data points that forms this GeometricObject
paintSpeed(double[], double[]) - Method in class edu.mit.sketch.ui.JointDisplay
updata the panel
paintVelocity(StrokeData, Color) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Update the velocity graph.
paintWithCertainties(Graphics) - Method in class edu.mit.sketch.toolkit.Fit
paint on g
parallelAngles(double, double, double) - Static method in class edu.mit.sketch.geom.GeometryUtil
Return true if two lines with angles a and b are roughly parallel within the tolerance t.
parent - Variable in class edu.mit.sketch.geom.Segment
left subsegment
parse() - Method in class edu.mit.sketch.toolkit.ObjectManager
Call the parse method in spatial_parser
parse(ObjectManager) - Method in class edu.mit.sketch.toolkit.SpatialParser
Handle key stroke events
parseCross(ObjectManager) - Method in class edu.mit.sketch.toolkit.SpatialParser
Parse Cross
parseGround(ObjectManager) - Method in class edu.mit.sketch.toolkit.SpatialParser
Parse Ground
parseMotor(ObjectManager) - Method in class edu.mit.sketch.toolkit.SpatialParser
Parse Motor
parsePin(ObjectManager) - Method in class edu.mit.sketch.toolkit.SpatialParser
Parse Pin
paths - Variable in class edu.mit.sketch.toolkit.ObjectManager
 
pen_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
Pin - class edu.mit.sketch.grammar.me.Pin.
A basic Pin with a round top and a cross.
Pin(Ellipse, Cross) - Constructor for class edu.mit.sketch.grammar.me.Pin
The constructor.
platform_is_windows9x - Static variable in class edu.mit.sketch.ui.TabletDataProcessor
 
plotBarGraph(double[], double, double, double) - Method in class edu.mit.sketch.toolkit.StatisticsModule
Plot bar graph
plotSlidingWindowGraph(double[], double, double, double, double) - Method in class edu.mit.sketch.toolkit.StatisticsModule
Plot sliding window
Point - class edu.mit.sketch.geom.Point.
This class represents a Point described by a java.awt.geom.Line2D.Double
POINT - Static variable in interface edu.mit.sketch.geom.GeometricObject
 
Point() - Constructor for class edu.mit.sketch.geom.Point
The constructor.
Point(int, int) - Constructor for class edu.mit.sketch.geom.Point
The constructor.
Point(int, int, long) - Constructor for class edu.mit.sketch.geom.Point
The constructor.
Point(Point) - Constructor for class edu.mit.sketch.geom.Point
The constructor.
Point(Point, long) - Constructor for class edu.mit.sketch.geom.Point
The constructor.
pointAt(int) - Method in class edu.mit.sketch.geom.Polygon
Returns the ith point in this Polygon
pointDown() - Method in class edu.mit.sketch.geom.Line
Swaps the first and the second points if needed so that the second point is below the first one.
pointIsOn(Point, int) - Method in class edu.mit.sketch.geom.Rectangle
Returns true if the point is within +-radius distance from the curve defining the object.
pointIsOn(Point, int) - Method in class edu.mit.sketch.geom.Line
Returns true if the point is within +-radius distance from the curve defining the object.
pointIsOn(Point, int) - Method in class edu.mit.sketch.geom.GeneralPath
Returns true if the point is within +-radius distance from the curve defining the object.
pointIsOn(Point, int) - Method in class edu.mit.sketch.geom.Point
Returns true if the point is within +-radius distance from this point.
pointIsOn(Point, int) - Method in class edu.mit.sketch.geom.Polygon
Returns true if the point is within +-radius distance from the curve defining the object.
pointIsOn(Point, int) - Method in interface edu.mit.sketch.geom.Translatable
Returns true if the point is within +-radius distance from the curve defining the object.
pointIsOn(Point, int) - Method in class edu.mit.sketch.geom.Ellipse
Returns true if the point is within +-radius distance from the curve defining the object.
pointIsOn(Point, int) - Method in class edu.mit.sketch.grammar.me.Shade
Returns true if the point is within +-radius distance from the curve defining the object.
pointIsOn(Point, int) - Method in class edu.mit.sketch.grammar.me.Motor
Returns true if the point is within +-radius distance from the curve defining the object.
pointIsOn(Point, int) - Method in class edu.mit.sketch.grammar.me.Pin
Returns true if the point is within +-radius distance from the curve defining the object.
pointIsOn(Point, int) - Method in class edu.mit.sketch.grammar.me.Cross
Returns true if the point is within +-radius distance from the curve defining the object.
pointIsOn(Point, int) - Method in class edu.mit.sketch.grammar.me.Ground
Returns true if the point is within +-radius distance from the curve defining the object.
pointIsOnOriginal(Point, int) - Method in class edu.mit.sketch.geom.Rectangle
Returns true if the point is within +-radius distance from the original curve defining the object.
pointIsOnOriginal(Point, int) - Method in class edu.mit.sketch.geom.Line
Returns true if the point is within +-radius distance from the original curve defining the object.
pointIsOnOriginal(Point, int) - Method in class edu.mit.sketch.geom.GeneralPath
Returns true if the point is within +-radius distance from the original curve defining the object.
pointIsOnOriginal(Point, int) - Method in class edu.mit.sketch.geom.Point
Returns true if the point is within +-radius distance from the original curve defining the object.
pointIsOnOriginal(Point, int) - Method in class edu.mit.sketch.geom.Polygon
Returns true if the point is within +-radius distance from the original curve defining the object.
pointIsOnOriginal(Point, int) - Method in interface edu.mit.sketch.geom.Translatable
Returns true if the point is within +-radius distance from the original curve defining the object.
pointIsOnOriginal(Point, int) - Method in class edu.mit.sketch.geom.Ellipse
Returns true if the point is within +-radius distance from the original curve defining the object.
pointIsOnOriginal(Point, int) - Method in class edu.mit.sketch.grammar.me.Motor
Returns true if the point is within +-radius distance from the original curve defining the object.
pointIsOnOriginal(Point, int) - Method in class edu.mit.sketch.grammar.me.Pin
Returns true if the point is within +-radius distance from the original curve defining the object.
pointIsOnOriginal(Point, int) - Method in class edu.mit.sketch.grammar.me.Cross
Returns true if the point is within +-radius distance from the original curve defining the object.
pointIsOnOriginal(Point, int) - Method in class edu.mit.sketch.grammar.me.Ground
Returns true if the point is within +-radius distance from the original curve defining the object.
pointLeft() - Method in class edu.mit.sketch.geom.Line
Swaps the first and the second points if needed so that the second point is to the left of the first one.
pointRight() - Method in class edu.mit.sketch.geom.Line
Swaps the first and the second points if needed so that the second point is to the right of the first one.
points - Variable in class edu.mit.sketch.toolkit.SimpleClassifier
Speed original points in the stroke.
pointsInside(int, int, int, int) - Method in class edu.mit.sketch.geom.XPositionTree
Add a point assumes x1 < x2, y1 < y2
pointsInside(int, int, int, int) - Method in class edu.mit.sketch.geom.SpatialDatabase
Add a point assumes x1 < x2, y1 < y2
pointUp() - Method in class edu.mit.sketch.geom.Line
Swaps the first and the second points if needed so that the second point is above the first one.
PointXComparator - class edu.mit.sketch.geom.PointXComparator.
Comparator
PointXComparator() - Constructor for class edu.mit.sketch.geom.PointXComparator
The constructor.
PointYComparator - class edu.mit.sketch.geom.PointYComparator.
Comparator
PointYComparator() - Constructor for class edu.mit.sketch.geom.PointYComparator
The constructor.
polar_points - Variable in class edu.mit.sketch.toolkit.StrokeData
The vertices mapped to polar coordinates.
polar_points - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 
polar_points_is_valid - Variable in class edu.mit.sketch.toolkit.StrokeData
 
PolarPoint - class edu.mit.sketch.geom.PolarPoint.
Polar Point object that stores an angle and a radius.
PolarPoint() - Constructor for class edu.mit.sketch.geom.PolarPoint
Polar Point constructor
PolarPoint(double, double) - Constructor for class edu.mit.sketch.geom.PolarPoint
Polar Point constructor
Polygon - class edu.mit.sketch.geom.Polygon.
This class represents a polygon described by its vertices.
POLYGON - Static variable in interface edu.mit.sketch.geom.GeometricObject
 
POLYGON - Static variable in class edu.mit.sketch.toolkit.Classifier
Constant for POLYGON
Polygon() - Constructor for class edu.mit.sketch.geom.Polygon
The constructor.
Polygon(int[], int[], int) - Constructor for class edu.mit.sketch.geom.Polygon
The constructor.
Polygon(Point[]) - Constructor for class edu.mit.sketch.geom.Polygon
The constructor.
Polygon(Polygon) - Constructor for class edu.mit.sketch.geom.Polygon
The constructor.
Polygon(Polygon) - Constructor for class edu.mit.sketch.geom.Polygon
The constructor.
polyline_vs_general_path_bias - Variable in class edu.mit.sketch.toolkit.SimpleClassifier
Final fit LSQE is scaled by this, and compared against the general path LSQE.
prepareTrainingData() - Method in class edu.mit.sketch.ui.GestureGUI
addExample
print(String, Object) - Static method in class edu.mit.util.Debug
Print obj to the debug panel named title.
printArray(double[], String) - Static method in class edu.mit.sketch.util.Util
Print array
printArray(int[], String) - Static method in class edu.mit.sketch.util.Util
Print array
printArray(long[], String) - Static method in class edu.mit.sketch.util.Util
Print array
printArray(Object[], String) - Static method in class edu.mit.sketch.util.Util
Print array
printArrayConcisely(double[], String) - Static method in class edu.mit.sketch.util.Util
Print array
printArrayConcisely(int[], String) - Static method in class edu.mit.sketch.util.Util
Print array
printArrays(double[], String, double[], String) - Static method in class edu.mit.sketch.util.Util
Print arrays side by side
printArrays(double[], String, long[], String) - Static method in class edu.mit.sketch.util.Util
Print arrays side by side
printArrays(int[], String, int[], String) - Static method in class edu.mit.sketch.util.Util
Print arrays side by side
printArrays(long[], String, double[], String) - Static method in class edu.mit.sketch.util.Util
Print arrays side by side
printArrays(long[], String, long[], String) - Static method in class edu.mit.sketch.util.Util
Print arrays side by side
printData(int) - Method in class edu.mit.sketch.toolkit.DirectionChangeScaleSpaceViewer
update the panel
printData(int) - Method in class edu.mit.sketch.toolkit.SpeedScaleSpaceViewer
Print curvature data.
printData(String) - Method in class edu.mit.sketch.toolkit.DirectionChangeScaleSpaceViewer
print the scale space data into a file scale - #of zero crossings - index of zero crossing
printData(String) - Method in class edu.mit.sketch.toolkit.SpeedScaleSpaceViewer
print the scale space data into a file scale - #of zero crossings - index of zero crossing
printFeatureVectors() - Method in class edu.mit.sketch.toolkit.ObjectManager
Print the feature vectors
println(String, Object) - Static method in class edu.mit.util.Debug
Print obj to the debug panel named title followed by a newline.
printPoints(Point[], String) - Static method in class edu.mit.sketch.toolkit.Blackboard
Print the points array.
printPointsWithIndices(Point[], String, Point[]) - Static method in class edu.mit.sketch.toolkit.Blackboard
Print the points assuming with their corresponding indices in real_points.
printStrings(String[]) - Static method in class edu.mit.sketch.util.Util
Print strings
printToStringArray(double[], String) - Static method in class edu.mit.sketch.util.Util
Print to string array
printToStringArray(long[], String) - Static method in class edu.mit.sketch.util.Util
Print to string array
processing - Variable in class edu.mit.sketch.ui.TabletGUI
 
ptSegDist(Point, Point, Point) - Static method in class edu.mit.sketch.geom.GeometryUtil
A different version of ptSegDist
ptSegDistSq(double, double, double, double, double, double) - Static method in class edu.mit.sketch.geom.GeometryUtil
From Sun's java.awt.geom.Line2D.java Returns the square of the distance from a point to a line segment.
ptSegDistSq(Point, Point, Point) - Static method in class edu.mit.sketch.geom.GeometryUtil
A different version of ptSegDistSq

Q

quadTo(float, float, float, float) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
quit_menu - Variable in class edu.mit.sketch.toolkit.StatisticsModule
 
quit_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 

R

radian2degree(double) - Static method in class edu.mit.sketch.geom.GeometryUtil
radian2degree
radius - Variable in class edu.mit.sketch.geom.PolarPoint
 
radius - Variable in class edu.mit.sketch.toolkit.StrokeData
 
Range - class edu.mit.sketch.geom.Range.
This class represents a Point described by a java.awt.geom.Line2D.Double
Range() - Constructor for class edu.mit.sketch.geom.Range
The constructor.
Range(int, int) - Constructor for class edu.mit.sketch.geom.Range
The constructor.
ranges - Static variable in class edu.mit.sketch.toolkit.Blackboard
The ranges for the segments in the general_path
reclassify() - Method in class edu.mit.sketch.toolkit.SimpleClassifier
 
RECOGNITION_MODE - Static variable in class edu.mit.sketch.toolkit.ObjectManager
 
Rectangle - class edu.mit.sketch.geom.Rectangle.
This class represents a Rectangle described by its width and height vectors.
RECTANGLE - Static variable in interface edu.mit.sketch.geom.GeometricObject
Available GeometricObject types.
Rectangle(double, double, double, double, double) - Constructor for class edu.mit.sketch.geom.Rectangle
The constructor.
Rectangle(double, double, Point, double) - Constructor for class edu.mit.sketch.geom.Rectangle
The constructor.
Rectangle(int, int, int, int) - Constructor for class edu.mit.sketch.geom.Rectangle
The constructor.
Rectangle(Point, Dimension) - Constructor for class edu.mit.sketch.geom.Rectangle
The constructor.
Rectangle(Point, Dimension, double) - Constructor for class edu.mit.sketch.geom.Rectangle
The constructor.
Rectangle(Rectangle) - Constructor for class edu.mit.sketch.geom.Rectangle
The constructor.
Rectangle(Rectangle) - Constructor for class edu.mit.sketch.geom.Rectangle
The constructor.
relativeCCW(double, double, double, double, double, double) - Static method in class edu.mit.sketch.geom.GeometryUtil
From Sun's java.awt.geom.Line2D.java Returns an indicator of where the specified point (PX, PY) lies with respect to the line segment from (X1, Y1) to (X2, Y2).
relativeCCW(Point, Point, Point) - Static method in class edu.mit.sketch.geom.GeometryUtil
A different version of relativeCCW
removeCloseVertices(Vertex[], int, double) - Static method in class edu.mit.sketch.toolkit.Blackboard
Remove vertices closer than index_tolerance in indices or, distance_tolerance spatially.
removeDuplicateVertices(Vertex[]) - Static method in class edu.mit.sketch.geom.Vertex
Remove repeating vertices
removeObject(Object) - Method in class edu.mit.sketch.toolkit.ObjectManager
Removes the argument object from the objects Vector.
removePath(Object) - Method in class edu.mit.sketch.toolkit.ObjectManager
Removes the argument object from the objects Vector.
removeRedundantEndPoints(Vertex[]) - Method in class edu.mit.sketch.toolkit.StrokeData
Remove the redundant at the beginning and the end.
removeStrokeDataListener(StrokeDataListener) - Method in class edu.mit.sketch.ui.SketchPanel
 
render(Ellipse) - Method in class edu.mit.sketch.fig.FigDocument
 
render(GeometricObject) - Method in class edu.mit.sketch.fig.FigDocument
 
render(Line) - Method in class edu.mit.sketch.fig.FigDocument
 
render(Polygon) - Method in class edu.mit.sketch.fig.FigDocument
 
requiresLayout() - Method in class edu.mit.util.DebugWindowAppender
The WriterAppender requires a layout.
requiresLayout() - Method in class edu.mit.util.DocumentAppender
The WriterAppender requires a layout.
reset() - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
reset() - Method in class edu.mit.sketch.toolkit.DataCollector
Delete all the data we have stored up til now.
reset() - Method in class edu.mit.sketch.toolkit.StrokeDataReader
Reset
reset() - Method in class edu.mit.sketch.toolkit.ObjectManager
Removes all the objects.
reset() - Method in class edu.mit.sketch.ui.TicTacToe
 
reset() - Method in class edu.mit.sketch.ui.TabletDataProcessor
Reset the arrays
ResourceFinder - class edu.mit.util.ResourceFinder.
 
ResourceFinder() - Constructor for class edu.mit.util.ResourceFinder
 
right - Variable in class edu.mit.sketch.geom.Segment
right subsegment
RIGHT - Static variable in class edu.mit.sketch.geom.SpatialRelation
| | | | ___|___|___ | | | | X ___|___|___ | | | | | |
Rotatable - interface edu.mit.sketch.geom.Rotatable.
All the objects whose rotation makes sense must implement this interface.
rotate(double) - Method in class edu.mit.sketch.geom.Point
Rotate about the origin by radians amount.
rotate(double) - Method in class edu.mit.sketch.geom.Polygon
This method rotates the polygon by theta radians CCW.
rotateAbout(Point, double) - Method in class edu.mit.sketch.geom.Rectangle
Rotates the rectangle about the point p theta radians CCW.
rotateAboutCOM(double) - Method in class edu.mit.sketch.geom.Polygon
This method rotates the polygon by theta radians CCW.
rotateAboutOrigin(double) - Method in class edu.mit.sketch.geom.Polygon
This method rotates the polygon by theta radians CCW.
ROTATION_METHOD - Static variable in class edu.mit.sketch.util.LinearFit
Constant corresponding to deriving direction using sliding window and rotation mehod.
roundAngles(double[], double) - Static method in class edu.mit.sketch.geom.GeometryUtil
return a double array which is the same length as the input array, except the array entries are rounded up or down to be integral multiples of dx.
runSVMClassifier(GeneralPath) - Method in class edu.mit.sketch.toolkit.ObjectManager
Save the feature vectors

S

save_as_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
save_features_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
save_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
saveData(String) - Method in class edu.mit.sketch.toolkit.DataCollector
Serialize the strokes into a file specified by filename.
saveFeatureVectors(String) - Method in class edu.mit.sketch.toolkit.ObjectManager
Save the feature vectors
scale - Variable in class edu.mit.sketch.toolkit.DirectionChangeScaleSpaceViewer
 
scale - Variable in class edu.mit.sketch.toolkit.SpeedScaleSpaceViewer
 
scale(double) - Method in class edu.mit.sketch.geom.Point
Multiply the x and y fields by the scale.
scaleAboutCenter(double) - Method in class edu.mit.sketch.geom.Rectangle
scaleAboutCenter
screen2cartesian(int) - Static method in class edu.mit.sketch.geom.SpatialRelation
To String
sdr - Static variable in class edu.mit.sketch.ui.TabletDataProcessor
Stroke data reader used for reading and instantiating StrokeData
Segment - class edu.mit.sketch.geom.Segment.
This class represents a Point described by a java.awt.geom.Line2D.Double
Segment() - Constructor for class edu.mit.sketch.geom.Segment
The constructor.
Segment(Vertex[], int, int) - Constructor for class edu.mit.sketch.geom.Segment
The constructor.
segmentLength(Point[], int, int) - Static method in class edu.mit.sketch.geom.GeometryUtil
Return the segment length from index begin_index to end_index in points (end_index included).
selectInside(GeometricObject) - Method in class edu.mit.sketch.toolkit.ObjectManager
Selects all the objects inside the given object.
SELECTION_MODE - Static variable in class edu.mit.sketch.toolkit.ObjectManager
 
selectObjects(Translatable[]) - Method in class edu.mit.sketch.toolkit.ObjectManager
Select the objects in the argument vector.
selectObjects(Vector) - Method in class edu.mit.sketch.toolkit.ObjectManager
Select the objects in the argument vector.
sequence_delay - Static variable in class edu.mit.sketch.ui.TabletDataProcessor
 
SequenceTerminal - interface edu.mit.sketch.grammar.SequenceTerminal.
All the objects who want to be NonTerminal must implement this interface.
setColor(Color) - Method in class edu.mit.util.DotIcon
 
setConstraints(GridBagLayout, Component, int, int, int, int, double, double, int, int, Insets) - Static method in class edu.mit.sketch.util.GraphicsUtil
Set the constraints of the input component using the arguments.
setDataPoints(Polygon) - Method in class edu.mit.sketch.geom.Rectangle
This method is used to set the original data points that forms this GeometricObject
setDataPoints(Polygon) - Method in class edu.mit.sketch.geom.Line
This method is used to set the original data points that forms this GeometricObject
setDataPoints(Polygon) - Method in class edu.mit.sketch.geom.GeneralPath
This method is used to set the original data points that forms this GeometricObject
setDataPoints(Polygon) - Method in interface edu.mit.sketch.geom.GeometricObject
This method is used to set the original data points that forms this GeometricObject
setDataPoints(Polygon) - Method in class edu.mit.sketch.geom.Point
This method is used to set the original data points that forms this GeometricObject
setDataPoints(Polygon) - Method in class edu.mit.sketch.geom.Polygon
This method is used to set the original data points that forms this GeometricObject
setDataPoints(Polygon) - Method in class edu.mit.sketch.geom.Ellipse
This method is used to set the original data points that forms this GeometricObject
setDebugging(boolean) - Method in class edu.mit.sketch.ui.TabletDataProcessor
Set debugging mode
setDebugging(boolean) - Static method in class edu.mit.util.Debug
 
setErrorHandler(ErrorHandler) - Method in class edu.mit.util.DebugWindowAppender
Set the ErrorHandler for this WriterAppender and also the underlying QuietWriter if any.
setErrorHandler(ErrorHandler) - Method in class edu.mit.util.DocumentAppender
Set the ErrorHandler for this WriterAppender and also the underlying QuietWriter if any.
setFitMehod(int) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Change the fit method, rederive the direction and related entities.
setFitMethod(int) - Method in class edu.mit.sketch.toolkit.StrokeData
Set fit method
setGraphicsContext(Graphics) - Method in class edu.mit.sketch.geom.Rectangle
Set graphics context for this Geometric object.
setGraphicsContext(Graphics) - Method in class edu.mit.sketch.geom.Line
Set graphics context for this Geometric object.
setGraphicsContext(Graphics) - Method in class edu.mit.sketch.geom.GeneralPath
Set graphics context for this Geometric object.
setGraphicsContext(Graphics) - Method in class edu.mit.sketch.geom.Point
Set graphics context for this Geometric object.
setGraphicsContext(Graphics) - Method in class edu.mit.sketch.geom.Polygon
Set graphics context for this Geometric object.
setGraphicsContext(Graphics) - Method in class edu.mit.sketch.geom.Ellipse
Set graphics context for this Geometric object.
setGraphicsContext(Graphics) - Method in class edu.mit.sketch.grammar.me.Spring
Set graphics context for this Pin object.
setGraphicsContext(Graphics) - Method in class edu.mit.sketch.grammar.me.Motor
Set graphics context for this Motor object.
setGraphicsContext(Graphics) - Method in class edu.mit.sketch.grammar.me.Pin
Set graphics context for this Pin object.
setGraphicsContext(Graphics) - Method in class edu.mit.sketch.grammar.me.Cross
Set graphics context for this Cross object.
setGraphicsContext(Graphics) - Method in class edu.mit.sketch.grammar.me.Ground
Set graphics context for this Ground object.
setGraphicsContext(Graphics) - Method in interface edu.mit.sketch.ui.Paintable
Set graphics context for this Paintable object.
setHybridFitList(Fit[]) - Method in class edu.mit.sketch.toolkit.ControlModule
Add the hybrid fits to the list
setIndex(int) - Method in class edu.mit.sketch.geom.Vertex
Set index
setInfoMessage(String) - Static method in class edu.mit.sketch.ui.TabletGUI
Set the status bar label text to the input string.
setIsPaintingAsWeGo(boolean) - Method in class edu.mit.sketch.ui.SketchPanel
This determines if we are responsible for laying down the ink while it is being drawn.
setIsRecognizing(boolean) - Method in class edu.mit.sketch.ui.SketchPanel
Disable or enable recognition process by turning mouse event listening off or on.
setRecognitionMode(boolean) - Method in class edu.mit.sketch.ui.TabletDataProcessor
Disable or enable recognition process by turning mouse event listening off or on.
setRectangle(Rectangle) - Method in class edu.mit.sketch.geom.Rectangle
setRectangle
setScaleSpaceData(double[][], Gaussian[], StrokeData) - Method in class edu.mit.sketch.toolkit.DirectionChangeScaleSpaceViewer
setScaleSpaceData
setScaleSpaceData(double[][], Gaussian[], StrokeData) - Method in class edu.mit.sketch.toolkit.SpeedScaleSpaceViewer
setScaleSpaceData
setStatusMessage(String) - Static method in class edu.mit.sketch.ui.TabletGUI
Set the status bar label text to the input string.
setStrokeList(String, int) - Method in class edu.mit.sketch.toolkit.ControlModule
Add the hybrid fits to the list
setTimeStamp(long) - Method in class edu.mit.sketch.geom.Rectangle
Sets the time stamp of the current Terminal
setTimeStamp(long) - Method in class edu.mit.sketch.geom.Line
Sets the time stamp of the current Terminal
setTimeStamp(long) - Method in class edu.mit.sketch.geom.GeneralPath
Sets the time stamp of the current Terminal
setTimeStamp(long) - Method in class edu.mit.sketch.geom.Point
Sets the time stamp of the current Terminal
setTimeStamp(long) - Method in class edu.mit.sketch.geom.Polygon
Sets the time stamp of the current Terminal
setTimeStamp(long) - Method in class edu.mit.sketch.geom.Ellipse
Sets the time stamp of the current Terminal
setTimeStamp(long) - Method in interface edu.mit.sketch.grammar.Terminal
Sets the time stamp of the current Terminal
setTimeStamp(long) - Method in class edu.mit.sketch.grammar.me.Shade
Sets the time stamp of the current Terminal
setWindingRule(int) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
Shade - class edu.mit.sketch.grammar.me.Shade.
This class represents a line described by its end-points p, q.
shade(Graphics, int) - Method in class edu.mit.sketch.geom.Rectangle
Shade the object
shade(Graphics, int, int, int) - Method in class edu.mit.sketch.geom.Rectangle
Shade the object
Shade(Vector) - Constructor for class edu.mit.sketch.grammar.me.Shade
The constructor.
shades - Variable in class edu.mit.sketch.grammar.me.Shade
Number of shades to draw.
show_parsed_objects - Variable in class edu.mit.sketch.toolkit.ObjectManager
This is true if the parsed stuff is to be painted.
show_parsed_objects - Variable in class edu.mit.sketch.ui.TabletGUIBehavior
 
sigma - Variable in class edu.mit.sketch.util.Gaussian
sigma
significance - Variable in class edu.mit.sketch.geom.Segment
Significance of this segment
SIMPLE_TANGENTS_METHOD - Static variable in class edu.mit.sketch.util.LinearFit
Constant corresponding to deriving direction using simple tangents.
SimpleClassifier - class edu.mit.sketch.toolkit.SimpleClassifier.
This class implements Classifier.
SimpleClassifier(StrokeData) - Constructor for class edu.mit.sketch.toolkit.SimpleClassifier
Constructs a Classifier object.
simplifyPolygon(Vertex[]) - Method in class edu.mit.sketch.ui.TabletDataProcessor
Simplify the polygon to get rid of consecutive lines which are sufficiently parallel.
simplifyPolygon(Vertex[], double) - Static method in class edu.mit.sketch.util.AWTUtil
Simplify the polygon to get rid of consecutive lines which are sufficiently parallel.
simulateData(List) - Method in class edu.mit.sketch.toolkit.DataSimulator
Send the strokes, one at a time, stored in this simulator object to each of the given listeners.
simulateData(StrokeDataListener) - Method in class edu.mit.sketch.toolkit.DataSimulator
Send the strokes stored in this simulator object to the listener, one at a time.
size - Variable in class edu.mit.sketch.util.Gaussian
Gaussian mask
SketchPanel - class edu.mit.sketch.ui.SketchPanel.
The panel that gathers data and displays the raw strokes as they are being drawn.
SketchPanel() - Constructor for class edu.mit.sketch.ui.SketchPanel
 
sliding_window_statistics_module - Static variable in class edu.mit.sketch.ui.TabletGUI
 
SpatialDatabase - class edu.mit.sketch.geom.SpatialDatabase.
This class will serve as data structure that keeps the positions of objects.
SpatialDatabase() - Constructor for class edu.mit.sketch.geom.SpatialDatabase
The constructor.
SpatialParser - class edu.mit.sketch.toolkit.SpatialParser.
This class parses the objects drawn by the user.
SpatialRelation - class edu.mit.sketch.geom.SpatialRelation.
This class lists the binary spatial relations that two objects may have
SpatialRelation() - Constructor for class edu.mit.sketch.geom.SpatialRelation
 
spatialRelation(GeometricObject) - Method in class edu.mit.sketch.geom.Rectangle
This method should return the spatial relation of the input parameter with respect to this object.
spatialRelation(GeometricObject) - Method in class edu.mit.sketch.geom.Line
This method should return the spatial relation of the input parameter with respect to this object.
spatialRelation(GeometricObject) - Method in class edu.mit.sketch.geom.GeneralPath
This method should return the spatial relation of the input parameter with respect to this object.
spatialRelation(GeometricObject) - Method in interface edu.mit.sketch.geom.GeometricObject
This method should return the spatial relation of the input parameter with respect to this object.
spatialRelation(GeometricObject) - Method in class edu.mit.sketch.geom.Point
This method should return the spatial relation of the input parameter with respect to this object.
spatialRelation(GeometricObject) - Method in class edu.mit.sketch.geom.Polygon
This method should return the spatial relation of the input parameter with respect to this object.
spatialRelation(GeometricObject) - Method in class edu.mit.sketch.geom.Ellipse
This method should return the spatial relation of the input parameter with respect to this object.
spatialRelation(GeometricObject, double) - Method in class edu.mit.sketch.geom.Rectangle
This method should return the spatial relation of the input parameter with respect to this object.
spatialRelationCartesian(GeometricObject) - Method in class edu.mit.sketch.geom.Rectangle
This method should return the spatial relation of the input parameter with respect to this object.
speed - Variable in class edu.mit.sketch.toolkit.StrokeData
Time derivative of position
speed_average_scale - Variable in class edu.mit.sketch.toolkit.SimpleClassifier
This is how much we scale the average speed to get the threshold for the speed fit.
speed_average_scale - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 
speed_fit - Variable in class edu.mit.sketch.toolkit.SimpleClassifier
Speed fit
speed_fit - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 
speed_gaussians - Variable in class edu.mit.sketch.toolkit.StrokeData
The gaussian filters.
speed_scale_space - Variable in class edu.mit.sketch.toolkit.StrokeData
Speed scale space information.
speed_scale_space_is_valid - Variable in class edu.mit.sketch.toolkit.StrokeData
 
SpeedScaleSpaceViewer - class edu.mit.sketch.toolkit.SpeedScaleSpaceViewer.
This class is used for viewing scale space data.
SpeedScaleSpaceViewer() - Constructor for class edu.mit.sketch.toolkit.SpeedScaleSpaceViewer
The constructor.
Spring - class edu.mit.sketch.grammar.me.Spring.
A basic Spring
Spring(Polygon) - Constructor for class edu.mit.sketch.grammar.me.Spring
The constructor constructs a spring that is approximated by the input polygon.
SQUARE - Static variable in interface edu.mit.sketch.geom.GeometricObject
 
statistics_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
StatisticsModule - class edu.mit.sketch.toolkit.StatisticsModule.
This class is supposed to show basic statistical data about the recognized objects.
StatisticsModule(String) - Constructor for class edu.mit.sketch.toolkit.StatisticsModule
The constructor.
status_bar - Static variable in class edu.mit.sketch.ui.TabletGUI
 
stemOccurence(int[], int[]) - Static method in class edu.mit.sketch.geom.GeneralPathProcessor
Compute the number of times the stem occurs in input
storeStringInFile(String, String) - Static method in class edu.mit.sketch.util.LoadStoreModule
Store string to the given file.
storeTerminalsInFile(String, Vector) - Static method in class edu.mit.sketch.util.LoadStoreModule
Store Terminals and NonTerminals in objects to the given file.
storeVerticesInFile(String, Vector) - Static method in class edu.mit.sketch.util.LoadStoreModule
Store arrays of vertices in objects to the given file.
stroke_data - Variable in class edu.mit.sketch.toolkit.Classifier
The stroke data
stroke_vertices - Variable in class edu.mit.sketch.toolkit.ObjectManager
 
StrokeData - class edu.mit.sketch.toolkit.StrokeData.
This class stores all the data from a single stroke.
StrokeData(Point[]) - Constructor for class edu.mit.sketch.toolkit.StrokeData
The constructor.
StrokeData(Vertex[]) - Constructor for class edu.mit.sketch.toolkit.StrokeData
The constructor.
StrokeDataFactory - interface edu.mit.sketch.toolkit.StrokeDataFactory.
Objects which take a sequence of input vertices and instantiates a StrokeData object should implement this interface.
StrokeDataListener - interface edu.mit.sketch.toolkit.StrokeDataListener.
StrokeDataListener.java Created: Fri Mar 23 10:21:31 2001
StrokeDataReader - class edu.mit.sketch.toolkit.StrokeDataReader.
This object implements StrokeDataFactory
StrokeDataReader() - Constructor for class edu.mit.sketch.toolkit.StrokeDataReader
The constructor.
subAppend(LoggingEvent) - Method in class edu.mit.util.DebugWindowAppender
Actual writing occurs here.
subAppend(LoggingEvent) - Method in class edu.mit.util.DocumentAppender
Actual writing occurs here.
subdivide() - Method in class edu.mit.sketch.geom.Segment
subdivide at the index with the maximum deviation return false if cannot be divided any further.
swapPoints() - Method in class edu.mit.sketch.geom.Line
Swaps the first and the secons points.
SWODR_METHOD - Static variable in class edu.mit.sketch.util.LinearFit
Constant corresponding to deriving direction using sliding window and the ODR package.

T

t_scale - Static variable in class edu.mit.sketch.ui.TabletGUIBehavior
 
Tablet - class edu.mit.sketch.ui.Tablet.
Acronyms: sdr -> StrokeDataReader, sd -> StrokeData This class handles the updates to various frames.
tablet_debugger - Variable in class edu.mit.sketch.ui.Tablet
The debugger
Tablet(int, String, boolean) - Constructor for class edu.mit.sketch.ui.Tablet
The constructor.
TabletDataProcessor - class edu.mit.sketch.ui.TabletDataProcessor.
This class is for reading mouse input and processing it.
TabletDataProcessor(int, String, boolean) - Constructor for class edu.mit.sketch.ui.TabletDataProcessor
The constructor.
TabletDebugger - class edu.mit.sketch.ui.TabletDebugger.
Acronyms: sdr -> StrokeDataReader, sd -> StrokeData This class listens to events happening in the Tablet and supplies debugging info as needed.
TabletDebugger(Tablet) - Constructor for class edu.mit.sketch.ui.TabletDebugger
The constructor.
TabletGUI - class edu.mit.sketch.ui.TabletGUI.
The TabletGUI
TabletGUI(String) - Constructor for class edu.mit.sketch.ui.TabletGUI
The constructor.
TabletGUIBehavior - class edu.mit.sketch.ui.TabletGUIBehavior.
Acronyms: sdr -> StrokeDataReader, data -> StrokeData This class handles the updates to various frames.
TabletGUIBehavior(int, String, boolean) - Constructor for class edu.mit.sketch.ui.TabletGUIBehavior
The constructor.
Terminal - interface edu.mit.sketch.grammar.Terminal.
All the objects who want to be NonTerminal must implement this interface.
Test - class edu.mit.sketch.toolkit.Test.
Test.java Created: Fri Mar 23 11:17:41 2001
test_line_scale - Variable in class edu.mit.sketch.toolkit.StrokeData
 
test_line_scale - Variable in class edu.mit.sketch.toolkit.SimpleClassifier
This controls the strictness of line classification.
test_line_scale - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 
Test() - Constructor for class edu.mit.sketch.toolkit.Test
 
testLine(double) - Method in class edu.mit.sketch.toolkit.StrokeData
See if the input is a line.
theta - Variable in class edu.mit.sketch.geom.PolarPoint
 
theta_scale - Static variable in class edu.mit.sketch.ui.TabletGUIBehavior
 
tics() - Static method in class edu.mit.sketch.toolkit.Timer
 
TicTacToe - class edu.mit.sketch.ui.TicTacToe.
Play a simple game of TicTacToe.
TicTacToe() - Constructor for class edu.mit.sketch.ui.TicTacToe
 
time - Variable in class edu.mit.sketch.toolkit.StrokeData
The absolute time stamps for the vertices.
time_stamp - Variable in class edu.mit.sketch.geom.Rectangle
Time stamp of this object.
time_stamp - Variable in class edu.mit.sketch.geom.Line
Time stamp of this object.
time_stamp - Variable in class edu.mit.sketch.geom.GeneralPath
Time stamp of this object.
time_stamp - Variable in class edu.mit.sketch.geom.Point
Time stamp of this object.
time_stamp - Variable in class edu.mit.sketch.geom.Polygon
Time stamp of this object.
time_stamp - Variable in class edu.mit.sketch.geom.Ellipse
Time stamp of this object.
Timer - class edu.mit.sketch.toolkit.Timer.
See the end of the file for the log of changes.
Timer() - Constructor for class edu.mit.sketch.toolkit.Timer
 
toggle() - Method in class edu.mit.sketch.ui.TabletGUIBehavior
toggle the state related with showing the parsed objects.
toPolygon() - Method in class edu.mit.sketch.geom.Line
This method is used to get the original data points that forms this GeometricObject
toPolygon() - Method in class edu.mit.sketch.geom.GeneralPath
This method is used to get the original data points that forms this GeometricObject
toString() - Method in class edu.mit.sketch.geom.Approximation
Implement toString()
toString() - Method in class edu.mit.sketch.geom.Rectangle
Override toString
toString() - Method in class edu.mit.sketch.geom.Line
Override toString
toString() - Method in class edu.mit.sketch.geom.PolarPoint
Simple printing
toString() - Method in class edu.mit.sketch.geom.GeneralPath
Override toString
toString() - Method in class edu.mit.sketch.geom.Point
Override toString
toString() - Method in class edu.mit.sketch.geom.Vertex
Override toString
toString() - Method in class edu.mit.sketch.geom.Polygon
Override toString
toString() - Method in class edu.mit.sketch.geom.Ellipse
Override toString
toString() - Method in class edu.mit.sketch.geom.Range
Override toString
toString() - Method in class edu.mit.sketch.geom.Segment
Override toString
toString() - Method in class edu.mit.sketch.grammar.me.Shade
Override toString
toString() - Method in class edu.mit.sketch.toolkit.Fit
Implement toString()
toString() - Method in class edu.mit.sketch.util.Gaussian
toString
toString(int) - Static method in class edu.mit.sketch.geom.SpatialRelation
To String
toSymbolic(GeneralPath) - Static method in class edu.mit.sketch.geom.GeneralPathProcessor
Converts a general path object to a symbolic representation
touches(GeometricObject) - Method in class edu.mit.sketch.geom.Rectangle
This method should return true if the input objects touch.
touches(GeometricObject) - Method in class edu.mit.sketch.geom.Line
This method should return true if the input objects touch.
touches(GeometricObject) - Method in class edu.mit.sketch.geom.GeneralPath
This method should return true if the input objects touch.
touches(GeometricObject) - Method in interface edu.mit.sketch.geom.GeometricObject
This method should return true if the input object touches this geometric object.
touches(GeometricObject) - Method in class edu.mit.sketch.geom.Point
This method should return true if the input objects touch.
touches(GeometricObject) - Method in class edu.mit.sketch.geom.Polygon
This method should return true if the input objects touch.
touches(GeometricObject) - Method in class edu.mit.sketch.geom.Ellipse
This method should return true if the input objects touch.
transform(AffineTransform) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
Translatable - interface edu.mit.sketch.geom.Translatable.
All the objects who want to be Translatable must implement this interface.
translate(double, double) - Method in class edu.mit.sketch.geom.Rectangle
Add the arguments to the (x, y) position of the object.
translate(double, double) - Method in class edu.mit.sketch.geom.Line
Add the arguments to the position of the object.
translate(double, double) - Method in class edu.mit.sketch.geom.GeneralPath
Add the arguments to the position of the object.
translate(double, double) - Method in class edu.mit.sketch.geom.Point
Add the arguments to the (x, y) position of the object.
translate(double, double) - Method in class edu.mit.sketch.geom.Polygon
Add the arguments to the (x, y) position of the object.
translate(double, double) - Method in interface edu.mit.sketch.geom.Translatable
Add the arguments to the (x, y) position of the object.
translate(double, double) - Method in class edu.mit.sketch.geom.Ellipse
Add the arguments to the (x, y) position of the object.
translate(double, double) - Method in class edu.mit.sketch.grammar.me.Spring
Add the arguments to the (x, y) position of the object.
translate(double, double) - Method in class edu.mit.sketch.grammar.me.Shade
Add the arguments to the (x, y) position of the object.
translate(double, double) - Method in class edu.mit.sketch.grammar.me.Motor
Add the arguments to the (x, y) position of the object.
translate(double, double) - Method in class edu.mit.sketch.grammar.me.Pin
Add the arguments to the (x, y) position of the object.
translate(double, double) - Method in class edu.mit.sketch.grammar.me.Cross
Add the arguments to the (x, y) position of the object.
translate(double, double) - Method in class edu.mit.sketch.grammar.me.Ground
Add the arguments to the (x, y) position of the object.
tryCombining(Object, int) - Method in class edu.mit.sketch.geom.Polygon
Try combining the input object with this Polygon.
turn_angle_treshold - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 

U

undo_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
undo() - Method in class edu.mit.sketch.toolkit.ObjectManager
A very primitive undo
union(Rectangle) - Method in class edu.mit.sketch.geom.Rectangle
Return the rectangularBounds of the union of this rectangle and the argument.
update_fits() - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Update the info about the various fits (LSQE etc.)
update(Graphics) - Method in class edu.mit.sketch.toolkit.StatisticsModule
Handle double buffering and do the real drawing.
update(Graphics) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Update various graphs and statistics.
UPPER_LEFT - Static variable in class edu.mit.sketch.geom.SpatialRelation
| | X | | ___|___|___ | | | | ___|___|___ | | | | | |
UPPER_RIGHT - Static variable in class edu.mit.sketch.geom.SpatialRelation
| | | | X ___|___|___ | | | | ___|___|___ | | | | | |
Util - class edu.mit.sketch.util.Util.
Implements some methods not found in jdk 1.1
Util() - Constructor for class edu.mit.sketch.util.Util
 

V

v_is_valid - Variable in class edu.mit.sketch.toolkit.StrokeData
 
v_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
v_scale - Static variable in class edu.mit.sketch.ui.TabletGUIBehavior
 
v_scale_space_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
v_scale_space_viewer - Variable in class edu.mit.sketch.ui.TabletGUI
 
v_window - Variable in class edu.mit.sketch.ui.TabletGUI
 
v_window_graphics - Variable in class edu.mit.sketch.ui.TabletGUI
 
v_window_graphics - Variable in class edu.mit.sketch.ui.TabletGUIBehavior
 
vectors_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
vectorToArray(Vector) - Static method in class edu.mit.sketch.geom.Vertex
Returns an array containing the elements of the Vector.
vectorToArray(Vector) - Static method in class edu.mit.sketch.geom.Range
Returns an array containing the elements of the Vector.
Vertex - class edu.mit.sketch.geom.Vertex.
This class represents a Vertex described by a Point and its certainty.
vertex_identification - Variable in class edu.mit.sketch.ui.Tablet
For painting vertices closest to the cursor.
Vertex() - Constructor for class edu.mit.sketch.geom.Vertex
The constructor.
Vertex(double) - Constructor for class edu.mit.sketch.geom.Vertex
The constructor.
Vertex(int, int) - Constructor for class edu.mit.sketch.geom.Vertex
The constructor.
Vertex(int, int, double) - Constructor for class edu.mit.sketch.geom.Vertex
The constructor.
Vertex(Point) - Constructor for class edu.mit.sketch.geom.Vertex
The constructor.
Vertex(Point, double) - Constructor for class edu.mit.sketch.geom.Vertex
The constructor.
Vertex(Vertex) - Constructor for class edu.mit.sketch.geom.Vertex
The constructor.
vertices - Variable in class edu.mit.sketch.geom.Segment
vertices
vertices - Variable in class edu.mit.sketch.toolkit.Fit
The fit
vertices - Variable in class edu.mit.sketch.toolkit.StrokeData
The vertices in this data set.
very_quiet - Static variable in class edu.mit.sketch.ui.Tablet
Be quiet, don't print junk..
VisiPad - class edu.mit.sketch.ui.VisiPad.
See the end of the file for the log of changes.
VisiPad() - Constructor for class edu.mit.sketch.ui.VisiPad
 

W

window_width - Static variable in class edu.mit.sketch.ui.TabletDataProcessor
 
windows - Variable in class edu.mit.sketch.ui.TabletGUI
 
Write(OutputStream) - Method in class edu.mit.sketch.util.GIFEncoder
Writes the image out to a stream in the GIF file format.
writeFooter() - Method in class edu.mit.util.DocumentAppender
Write a footer as produced by the embedded layout's Layout.getFooter() method.
writeHeader() - Method in class edu.mit.util.DocumentAppender
Write a header as produced by the embedded layout's Layout.getHeader() method.

X

x - Variable in class edu.mit.sketch.geom.Rectangle
The x coordinate of the position of width vector.
x_list - Variable in class edu.mit.sketch.ui.TabletGUI
 
XPositionTree - class edu.mit.sketch.geom.XPositionTree.
This class will serve as data structure that keeps the positions of objects.
XPositionTree() - Constructor for class edu.mit.sketch.geom.XPositionTree
The constructor.

Y

y - Variable in class edu.mit.sketch.geom.Rectangle
The y coordinate of the position of width vector
y_list - Variable in class edu.mit.sketch.ui.TabletGUI
 

Z

zoomX(double) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Zoom in all window's X axis by k
zoomY(double) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Zoom in all window's y axis by k

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z