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 interface edu.mit.sketch.ddlcompiler.DDLParserConstants
 
ABOVE - Static variable in class edu.mit.sketch.geom.SpatialRelation
| | | X | ___|___|___ | | | | ___|___|___ | | | | | |
ABOVE_CENTERED - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
 
AboveConstraintNode - class edu.mit.sketch.ddlcompiler.AboveConstraintNode.
Parsing can be thought of as generating and AST.
AboveConstraintNode(String, String) - Constructor for class edu.mit.sketch.ddlcompiler.AboveConstraintNode
 
aboveLine(double, double, double, double, double) - Static method in class edu.mit.sketch.uml.S_UMLLine
Given a line, represented by slope m, and y-intercept b, does a point, represented by x,y, rest above the line by at least a certain amount (the error).
aboveLine(Line, Point, double) - Static method in class edu.mit.sketch.uml.S_UMLLine
 
aboveLine(Point, double, double, double) - Static method in class edu.mit.sketch.uml.S_UMLLine
Given a line, represented by slope m, and y-intercept b, does a point, represented by x,y, rest above the line by at least a certain amount (the error).
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
actionPerformed(ActionEvent) - Method in class edu.mit.sketch.uml.UMLMenuBar.DrawnStrokesListener
 
actionPerformed(ActionEvent) - Method in class edu.mit.sketch.uml.UMLMenuBar.ProduceRoseListener
 
actionPerformed(ActionEvent) - Method in class edu.mit.sketch.uml.UMLMenuBar.EditProjectTitleListener
 
actionPerformed(ActionEvent) - Method in class edu.mit.sketch.uml.UMLMenuBar.EditProjectDescriptionListener
 
ACUTE_ANGLE - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
 
add_escapes(String) - Method in class edu.mit.sketch.ddlcompiler.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
addAllComponentsAsKeyListeners() - Method in class edu.mit.sketch.ui.Tablet
Add Components As Key Listeners
addBlackboardObserver(Observer) - Method in class edu.mit.sketch.system.BlackboardSystem
 
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.
addComponent(String, BBItemType, boolean) - Method in class edu.mit.sketch.system.Template
Add an object type to the template.
addConstraint(String, BBItemType, String[], Object, boolean) - Method in class edu.mit.sketch.system.Template
Add a constraint on the objects that make up this template.
addEdge() - Method in class edu.mit.sketch.ddlcompiler.PartialRecognitionNode
The string representation.
addEdge(Primitive, ConstraintGraphEdge) - Method in class edu.mit.sketch.ddg.ConstraintGraph
Add an outgoing edge from a given primitive
addEdge(Primitive, double, double) - Method in class edu.mit.sketch.ddg.ConstraintGraphEdgeList
Add an edge
addEdge(Primitive, Primitive, double, double) - Method in class edu.mit.sketch.ddg.ConstraintGraph
Add an edge between two given primitives.
addElement(String) - Method in interface edu.mit.sketch.uml.interfaces.ElementCatcher
 
addEscapes(String) - Static method in class edu.mit.sketch.ddlcompiler.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
addEventListeners() - Method in class edu.mit.sketch.ui.TabletDataProcessor
add event listeners
addExample(GeneralPath) - Method in class edu.mit.sketch.ui.GestureGUI
addExample
addHoldsBetween(Primitive, Primitive, double, double) - Method in class edu.mit.sketch.ddg.Constraint
Add an edge to the constraint graph
addInterface(UMLInterface) - Method in class edu.mit.sketch.uml.UMLProgram
 
addInterpretation(BBItem, Collection) - Method in class edu.mit.sketch.system.InterpretationIndex
If you try to add an interpretation that already exists, it just gets ignored.
addItem(BBItem) - Method in class edu.mit.sketch.system.SketchItemIndex
Add an item to the index.
addItem(BBItem, Collection) - Method in class edu.mit.sketch.system.Blackboard
This method is used by KS and the scheduler to add elements to the BB.
addKnowledgeSources(Collection, String) - Method in class edu.mit.sketch.system.KnowledgeSourceManager
 
addKS(KnowledgeSource) - Method in class edu.mit.sketch.system.RecPackage
 
addLetter(String) - Method in class edu.mit.sketch.uml.panel.ListPanel
adds a letter to the end of the text field
addLink(UMLLink) - Method in class edu.mit.sketch.uml.UMLProgram
 
addMethod(UMLMethod) - Method in class edu.mit.sketch.uml.UMLClass
 
addModel(Template) - Method in class edu.mit.sketch.system.BottomUpTemplateCreatorKS
 
addNewBBItem(BBItem) - Method in class edu.mit.sketch.system.Scheduler
 
addNewItem(BBItem) - Method in class edu.mit.sketch.system.BBItemHandler
Add a newly appeared BBItem to the system.
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.
addObject(UMLObject) - Method in class edu.mit.sketch.uml.UMLProgram
 
addObjects(Vector) - Method in class edu.mit.sketch.toolkit.ObjectManager
Adds given objects to the objects vector after filtering.
addPackage(RecPackage) - Method in class edu.mit.sketch.system.BlackboardSystem
Add a package complete with shape models and knowledge sources to the system.
addPair(Primitive, Primitive) - Method in class edu.mit.sketch.ddg.PrimitiveMapping
Add a new pair.
addPath(GeneralPath) - Method in class edu.mit.sketch.toolkit.ObjectManager
Adds given objects to the paths vector
addPoint(int, int) - Method in class edu.mit.sketch.uml.UMLStroke
 
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) - Method in class edu.mit.sketch.uml.UMLStroke
 
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
addProgram(UMLProgram) - Method in class edu.mit.sketch.uml.UMLProgramHistory
 
addProperty(UMLProperty) - Method in class edu.mit.sketch.uml.UMLClass
 
addSchedulerObserver(Observer) - Method in class edu.mit.sketch.system.BlackboardSystem
 
addStroke(UMLStroke) - Method in class edu.mit.sketch.uml.Sketchable
 
addStroke(UMLStroke) - Method in class edu.mit.sketch.uml.UMLProgram
 
addStrokeDataListener(StrokeDataListener) - Method in class edu.mit.sketch.ui.SketchPanel
 
addTemplate(Template) - Method in class edu.mit.sketch.system.TemplateIndex
Add mappings from each unfilled slot to the given template.
addTemplate(Template) - Method in class edu.mit.sketch.system.Blackboard
 
addText(Vector) - Method in class edu.mit.sketch.uml.UMLObject
 
addVertices(Vertex[]) - Method in class edu.mit.sketch.toolkit.ObjectManager
Adds an object to the objects vector after filtering.
adjustBeginLineColumn(int, int) - Static method in class edu.mit.sketch.ddlcompiler.SimpleCharStream
Method to adjust line and column numbers for the start of a token.
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
aggregation - Variable in class edu.mit.sketch.uml.UMLLink
 
allPoints - Variable in class edu.mit.sketch.uml.UMLCreateUMLChecker
 
ALPHABET_SIZE - Static variable in class edu.mit.sketch.geom.GeneralPathProcessor
Converts a general path object to a symbolic representation
AndGateParser - class edu.mit.sketch.ddlcompiler.AndGateParser.
 
AndGateParser() - Constructor for class edu.mit.sketch.ddlcompiler.AndGateParser
 
ANGLE - Static variable in interface edu.mit.sketch.ddlcompiler.DDLParserConstants
 
AngleConstraintNode - class edu.mit.sketch.ddlcompiler.AngleConstraintNode.
Parsing can be thought of as generating and AST.
AngleConstraintNode(String, String) - Constructor for class edu.mit.sketch.ddlcompiler.AngleConstraintNode
 
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.toolkit.LoadStoreModule
Append the string the the file
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.
ARC - Static variable in class edu.mit.sketch.ddg.Primitive
 
area() - Method in class edu.mit.sketch.geom.Rectangle
Return area.
arg1 - Variable in class edu.mit.sketch.ddlcompiler.RightConstraintNode
 
arg1 - Variable in class edu.mit.sketch.ddlcompiler.BelowConstraintNode
 
arg1 - Variable in class edu.mit.sketch.ddlcompiler.UpperRightConstraintNode
 
arg1 - Variable in class edu.mit.sketch.ddlcompiler.LeftConstraintNode
 
arg1 - Variable in class edu.mit.sketch.ddlcompiler.PerpendicularConstraintNode
 
arg1 - Variable in class edu.mit.sketch.ddlcompiler.LowerRightConstraintNode
 
arg1 - Variable in class edu.mit.sketch.ddlcompiler.MeetConstraintNode
 
arg1 - Variable in class edu.mit.sketch.ddlcompiler.AngleConstraintNode
 
arg1 - Variable in class edu.mit.sketch.ddlcompiler.AttachedConstraintNode
 
arg1 - Variable in class edu.mit.sketch.ddlcompiler.TouchConstraintNode
 
arg1 - Variable in class edu.mit.sketch.ddlcompiler.AboveConstraintNode
 
arg1 - Variable in class edu.mit.sketch.ddlcompiler.UpperLeftConstraintNode
 
arg1 - Variable in class edu.mit.sketch.ddlcompiler.LowerLeftConstraintNode
 
arg1 - Variable in class edu.mit.sketch.ddlcompiler.ParallelConstraintNode
 
arg2 - Variable in class edu.mit.sketch.ddlcompiler.RightConstraintNode
 
arg2 - Variable in class edu.mit.sketch.ddlcompiler.BelowConstraintNode
 
arg2 - Variable in class edu.mit.sketch.ddlcompiler.UpperRightConstraintNode
 
arg2 - Variable in class edu.mit.sketch.ddlcompiler.LeftConstraintNode
 
arg2 - Variable in class edu.mit.sketch.ddlcompiler.PerpendicularConstraintNode
 
arg2 - Variable in class edu.mit.sketch.ddlcompiler.LowerRightConstraintNode
 
arg2 - Variable in class edu.mit.sketch.ddlcompiler.MeetConstraintNode
 
arg2 - Variable in class edu.mit.sketch.ddlcompiler.AngleConstraintNode
 
arg2 - Variable in class edu.mit.sketch.ddlcompiler.AttachedConstraintNode
 
arg2 - Variable in class edu.mit.sketch.ddlcompiler.TouchConstraintNode
 
arg2 - Variable in class edu.mit.sketch.ddlcompiler.AboveConstraintNode
 
arg2 - Variable in class edu.mit.sketch.ddlcompiler.UpperLeftConstraintNode
 
arg2 - Variable in class edu.mit.sketch.ddlcompiler.LowerLeftConstraintNode
 
arg2 - Variable in class edu.mit.sketch.ddlcompiler.ParallelConstraintNode
 
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
 
ASTNode - interface edu.mit.sketch.ddlcompiler.ASTNode.
Parsing can be thought of as generating and AST.
ATTACHED - Static variable in interface edu.mit.sketch.ddlcompiler.DDLParserConstants
 
AttachedConstraintNode - class edu.mit.sketch.ddlcompiler.AttachedConstraintNode.
Parsing can be thought of as generating and AST.
AttachedConstraintNode(String, String) - Constructor for class edu.mit.sketch.ddlcompiler.AttachedConstraintNode
 
attachLink(UMLProgram, UMLLink, boolean) - Static method in class edu.mit.sketch.uml.UMLAttachLinkChecker
 
attachToLink(UMLProgram, UMLClass, boolean) - Static method in class edu.mit.sketch.uml.UMLAttachLinkChecker
 
atTail(int, int, boolean) - Method in class edu.mit.sketch.uml.UMLLink
 
atTailDrawn(Point) - Method in class edu.mit.sketch.uml.UMLLink
 
atTailInterpreted(Point) - Method in class edu.mit.sketch.uml.UMLLink
 
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

backup(int) - Static method in class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
bar_statistics_module - Static variable in class edu.mit.sketch.ui.TabletGUI
 
BBItem - class edu.mit.sketch.system.BBItem.
Created: Wed Jan 2 11:11:26 2002
Copyright: Copyright (C) 2001 by MIT.
BBItem(BBItemType) - Constructor for class edu.mit.sketch.system.BBItem
 
BBItemHandler - class edu.mit.sketch.system.BBItemHandler.
Created: Thu Feb 21 16:06:58 2002
Copyright: Copyright (C) 2001 by MIT.
BBItemHandler() - Constructor for class edu.mit.sketch.system.BBItemHandler
 
BBItemId - class edu.mit.sketch.system.BBItemId.
Provide a unique identifier for each Blackboard Item.
BBItemId() - Constructor for class edu.mit.sketch.system.BBItemId
 
BBItemId(BBItemId) - Constructor for class edu.mit.sketch.system.BBItemId
 
BBItemType - class edu.mit.sketch.system.BBItemType.
Created: Fri Feb 15 14:55:00 2002
Copyright: Copyright (C) 2002 by MIT.
BBItemType(String, Collection) - Constructor for class edu.mit.sketch.system.BBItemType
 
BBMonitor - class edu.mit.sketch.system.BBMonitor.
The BBMonitor is notified when modifications are made to the blackboard.
BBMonitor(Scheduler) - Constructor for class edu.mit.sketch.system.BBMonitor
 
BBRecognitionItem - class edu.mit.sketch.system.BBRecognitionItem.
This is a superclass for all items on the blackboard which are directly used in recognition of other items.
BBRecognitionItem(BBItemType) - Constructor for class edu.mit.sketch.system.BBRecognitionItem
 
BBSketchItem - class edu.mit.sketch.system.BBSketchItem.
This class holds the base information about object in the sketch system.
BBSketchItem(Template) - Constructor for class edu.mit.sketch.system.BBSketchItem
The setName method should be called in the constructor to set the name of this sketch item.
BBStroke - class edu.mit.sketch.system.BBStroke.
A item object that represents the most basic sketch element.
BBStroke(StrokeData) - Constructor for class edu.mit.sketch.system.BBStroke
 
beginColumn - Variable in class edu.mit.sketch.ddlcompiler.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginLine - Variable in class edu.mit.sketch.ddlcompiler.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
BeginToken() - Static method in class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
BELOW - Static variable in interface edu.mit.sketch.ddlcompiler.DDLParserConstants
 
BELOW - Static variable in class edu.mit.sketch.geom.SpatialRelation
| | | | ___|___|___ | | | | ___|___|___ | | | X | | |
BelowConstraintNode - class edu.mit.sketch.ddlcompiler.BelowConstraintNode.
Parsing can be thought of as generating and AST.
BelowConstraintNode(String, String) - Constructor for class edu.mit.sketch.ddlcompiler.BelowConstraintNode
 
belowLine(double, double, double, double, double) - Static method in class edu.mit.sketch.uml.S_UMLLine
Given a line, represented by slope m, and y-intercept b, does a point, represented by x,y, fall below the line by at least a certain amount (the error).
belowLine(Line, Point, double) - Static method in class edu.mit.sketch.uml.S_UMLLine
 
belowLine(Point, double, double, double) - Static method in class edu.mit.sketch.uml.S_UMLLine
Given a line, represented by slope m, and y-intercept b, does a point, represented by x,y, fall below the line by at least a certain amount (the error).
best_index - Static variable in class edu.mit.sketch.toolkit.Blackboard
Best index (index of the best fit).
bind(BBItem) - Method in class edu.mit.sketch.system.Holder
Set the BBItem that this holder points to.
bind(String, BBItem) - Method in class edu.mit.sketch.system.Template
Bind the named pattern variable to the given item.
BISECTS - Static variable in class edu.mit.sketch.system.PrimitiveTypes
 
Blackboard - class edu.mit.sketch.system.Blackboard.
The blackboard is the central datastructure for all the information we have collected about the sketch and our interpretations of it.
Blackboard - class edu.mit.sketch.toolkit.Blackboard.
Polygons recognized by the tablet are sent here.
Blackboard() - Constructor for class edu.mit.sketch.system.Blackboard
 
Blackboard() - Constructor for class edu.mit.sketch.toolkit.Blackboard
 
BlackboardSystem - class edu.mit.sketch.system.BlackboardSystem.
This is the blackboard system, which includes the three major components of a blackboard architecture: The blackboard itself to hold the data #m_blackboard The scheduler The Knowledge Sources The newUserInput method is the entry point of all user generated items into the system (i.e.
BlackboardSystem() - Constructor for class edu.mit.sketch.system.BlackboardSystem
 
BottomUpTemplateCreatorKS - class edu.mit.sketch.system.BottomUpTemplateCreatorKS.
Created: Sun Jan 6 14:55:02 2002
Copyright: Copyright (C) 2001 by MIT.
BottomUpTemplateCreatorKS() - Constructor for class edu.mit.sketch.system.BottomUpTemplateCreatorKS
 
BottomUpTemplateFiller - class edu.mit.sketch.system.BottomUpTemplateFiller.
Created: Sun Jan 6 15:22:36 2002
Copyright: Copyright (C) 2001 by MIT.
BottomUpTemplateFiller(Blackboard) - Constructor for class edu.mit.sketch.system.BottomUpTemplateFiller
 
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
 
bufpos - Static variable in class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
buildModels() - Method in class edu.mit.sketch.ui.GestureGUI
addExample
buildTree() - Method in class edu.mit.sketch.geom.Segment
build tree

C

calculateConfidence() - Method in class edu.mit.sketch.system.CrossWidget
XXX this is not implimented yet; it is just a guess
canHold(BBItem) - Method in class edu.mit.sketch.system.Holder
This checks if it is valid to bind the given BBItem to this holder.
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.
checkForDiamond() - Method in class edu.mit.sketch.uml.UMLCreateLinkChecker
 
checkForOpenTriangle() - Method in class edu.mit.sketch.uml.UMLCreateLinkChecker
 
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.
chooseNextItem() - Method in class edu.mit.sketch.system.Scheduler
Get the next item to be processed.
chooseNextItem() - Method in class edu.mit.sketch.system.StageBasedScheduler
This function is really the meat of the whole show.
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.ddg.DomainDescriptionGenerator
Clear the drawing
clear() - Method in class edu.mit.sketch.system.InterpretationIndex
 
clear() - Method in class edu.mit.sketch.system.BBItemHandler
Clear all the items (processed and unprocessed)
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
clone() - Method in class edu.mit.sketch.system.Holder
 
clone() - Method in class edu.mit.sketch.system.Template
Copy this template.
clone() - Method in class edu.mit.sketch.system.ObjectHolder
 
clone() - Method in class edu.mit.sketch.uml.UMLStrokeCollection
 
clone() - Method in class edu.mit.sketch.uml.UMLLink
 
clone() - Method in class edu.mit.sketch.uml.UMLCreateUMLChecker
Clone current object
clone() - Method in class edu.mit.sketch.uml.UMLProgram
 
clone() - Method in class edu.mit.sketch.uml.UMLDeleteObjectChecker
 
clone() - Method in class edu.mit.sketch.uml.UMLStroke
 
clone() - Method in class edu.mit.sketch.uml.UMLClass
 
clone() - Method in class edu.mit.sketch.uml.UMLMethod
 
clone() - Method in class edu.mit.sketch.uml.UMLProperty
 
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(Point, Point) - Static method in class edu.mit.sketch.uml.S_UMLPoint
Returns true if within default distance 10
close(Point, Point, double) - Static method in class edu.mit.sketch.uml.S_UMLPoint
Returns true if within distance d
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
compareTo(Object) - Method in class edu.mit.sketch.system.BBItemId
 
COMPLEX - Static variable in class edu.mit.sketch.toolkit.Classifier
Constant for COMPLEX
ComponentNode - class edu.mit.sketch.ddlcompiler.ComponentNode.
Parsing can be thought of as generating and AST.
ComponentNode(String, String) - Constructor for class edu.mit.sketch.ddlcompiler.ComponentNode
 
compute() - Method in class edu.mit.sketch.uml.UMLStroke
 
computeAngle(Point, Point, Point, Point) - Static method in class edu.mit.sketch.uml.S_UMLLine
Computes the angles between the two lines
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.
computePartialRecognition() - Method in class edu.mit.sketch.ddlcompiler.PartialRecognitionGraph
 
computePartialRecognitionRecursively(Stack, ArrayList, ArrayList) - Method in class edu.mit.sketch.ddlcompiler.PartialRecognitionGraph
 
computeShape() - Method in class edu.mit.sketch.uml.UMLStroke
 
confidence() - Method in class edu.mit.sketch.ddg.ConstraintGraphEdge
Get confidence
confidence(Primitive, Primitive) - Method in class edu.mit.sketch.ddg.Constraint
Return the confidence of the constraint Returns 0 if the edge is not present.
confidence(Primitive, Primitive) - Method in class edu.mit.sketch.ddg.ConstraintGraph
Return the confidence of the constraint Returns 0 if the edge is not present.
CONNECTS - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
Possible cnstraints (note: numbers are used for iteration over these so the sequence has to be without gaps)
CONNECTS_P1_P1 - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
 
CONNECTS_P1_P2 - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
 
CONNECTS_P2_P1 - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
 
CONNECTS_P2_P2 - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
 
Constraint - class edu.mit.sketch.ddg.Constraint.
This abstract class represents the constraints on primitives.
Constraint() - Constructor for class edu.mit.sketch.ddg.Constraint
Constructs an empty constraint graph.
Constraint(HashMap, Object) - Constructor for class edu.mit.sketch.ddg.Constraint
Constructs the constraint graph from and example drawn by the user.
ConstraintGraph - class edu.mit.sketch.ddg.ConstraintGraph.
A hashtable that stores the graph for a constraint of a particular type (like "connects").
constraintGraph() - Method in class edu.mit.sketch.ddg.Constraint
Returns the constraint graph
ConstraintGraph() - Constructor for class edu.mit.sketch.ddg.ConstraintGraph
 
ConstraintGraphEdge - class edu.mit.sketch.ddg.ConstraintGraphEdge.
Represents a directed edge from one Primitive to another in the constraint graph.
ConstraintGraphEdge(Primitive, double, double) - Constructor for class edu.mit.sketch.ddg.ConstraintGraphEdge
Constructs an edge.
ConstraintGraphEdgeList - class edu.mit.sketch.ddg.ConstraintGraphEdgeList.
Represents a list of directed edges from one Primitive to others in the constraint graph.
ConstraintGraphEdgeList() - Constructor for class edu.mit.sketch.ddg.ConstraintGraphEdgeList
 
ConstraintNode - class edu.mit.sketch.ddlcompiler.ConstraintNode.
Parsing can be thought of as generating and AST.
ConstraintNode() - Constructor for class edu.mit.sketch.ddlcompiler.ConstraintNode
 
constraints() - Method in class edu.mit.sketch.ddg.ObjectDescription
Return the list of constraints for this object
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(Rectangle) - Method in class edu.mit.sketch.uml.UMLObject
 
contains(Rectangle2D) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
containsEdge(Primitive, Primitive) - Method in class edu.mit.sketch.ddg.ConstraintGraph
Returns true if the graph contains an edge between the given primitives.
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.
containsPair(Primitive, Primitive) - Method in class edu.mit.sketch.ddg.PrimitiveMapping
Check whether a mached pair (in this order) exists in the mapping.
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
convertFrom(GeometricObject, int) - Static method in class edu.mit.sketch.ddg.Primitive
Constructs a primitive from a give object with index in the name.
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.
copy() - Method in class edu.mit.sketch.system.Template
 
copy() - Method in class edu.mit.sketch.system.ObjectHolder
 
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|
countIntersectingPointVector(Vector, Vector) - Static method in class edu.mit.sketch.uml.S_UMLLine
 
countIntersectingStrokeVector(Vector, Vector) - Static method in class edu.mit.sketch.uml.S_UMLLine
 
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.
CrossWidget - class edu.mit.sketch.system.CrossWidget.
Created: Fri Jan 4 15:29:32 2002
Copyright: Copyright (C) 2001 by MIT.
CrossWidget(Blackboard) - Constructor for class edu.mit.sketch.system.CrossWidget
 
CrossWidget(Blackboard, Template) - Constructor for class edu.mit.sketch.system.CrossWidget
 
curChar - Static variable in class edu.mit.sketch.ddlcompiler.DDLParserTokenManager
 
current_gesture - Variable in class edu.mit.sketch.ui.GestureGUI
 
currentToken - Variable in class edu.mit.sketch.ddlcompiler.ParseException
This is the last token that has been consumed successfully.
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.
DataFormatException - exception edu.mit.sketch.system.DataFormatException.
Created: Thu Mar 7 12:50:44 2002
Copyright: Copyright (C) 2002 by MIT.
DataFormatException(String) - Constructor for class edu.mit.sketch.system.DataFormatException
 
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
 
DDLParser - class edu.mit.sketch.ddlcompiler.DDLParser.
 
DDLParser(DDLParserTokenManager) - Constructor for class edu.mit.sketch.ddlcompiler.DDLParser
 
DDLParser(InputStream) - Constructor for class edu.mit.sketch.ddlcompiler.DDLParser
 
DDLParser(Reader) - Constructor for class edu.mit.sketch.ddlcompiler.DDLParser
 
DDLParserConstants - interface edu.mit.sketch.ddlcompiler.DDLParserConstants.
 
DDLParserTokenManager - class edu.mit.sketch.ddlcompiler.DDLParserTokenManager.
 
DDLParserTokenManager(SimpleCharStream) - Constructor for class edu.mit.sketch.ddlcompiler.DDLParserTokenManager
 
DDLParserTokenManager(SimpleCharStream, int) - Constructor for class edu.mit.sketch.ddlcompiler.DDLParserTokenManager
 
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.sketch.uml.Debug.
Holds debug level
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.sketch.uml.Debug
 
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
 
debugStream - Static variable in class edu.mit.sketch.ddlcompiler.DDLParserTokenManager
 
decide(Vertex[], Vertex[], Point[], StrokeData) - Static method in class edu.mit.sketch.toolkit.Blackboard
a and b are two possible polygon matches for points.
DEFAULT - Static variable in interface edu.mit.sketch.ddlcompiler.DDLParserConstants
 
defineTemplate() - Method in class edu.mit.sketch.system.CrossWidget
 
degree2radian(double) - Static method in class edu.mit.sketch.geom.GeometryUtil
degree2radian
deleteElement(int) - Method in interface edu.mit.sketch.uml.interfaces.ElementCatcher
 
deleteMethod(UMLMethod) - Method in class edu.mit.sketch.uml.UMLClass
 
deleteMethod(UMLMethod) - Method in class edu.mit.sketch.uml.UMLObject
 
deleteProperty(UMLProperty) - Method in class edu.mit.sketch.uml.UMLClass
 
deleteProperty(UMLProperty) - Method in class edu.mit.sketch.uml.UMLObject
 
deleteUnrecognizedStrokes() - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
dependency - Variable in class edu.mit.sketch.uml.UMLLink
 
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.
DerivedPropertyNode - class edu.mit.sketch.ddlcompiler.DerivedPropertyNode.
Parsing can be thought of as generating and AST.
DerivedPropertyNode(String, String, ArrayList) - Constructor for class edu.mit.sketch.ddlcompiler.DerivedPropertyNode
s This constructor takes a list of ComponentNodes and extracts the type information regarding the old (derived_property) identifier.
DerivedPropertyNode(String, String, String) - Constructor for class edu.mit.sketch.ddlcompiler.DerivedPropertyNode
Constructor
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
 
describeSymbol() - Method in class edu.mit.sketch.ddg.DomainDescriptionGenerator
Generate and print the object description
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.
disable_tracing() - Static method in class edu.mit.sketch.ddlcompiler.DDLParser
 
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(double, double, double, double) - Static method in class edu.mit.sketch.uml.S_UMLPoint
Returns the distance between two points
distance(int, int, int, int) - Static method in class edu.mit.sketch.uml.S_UMLPoint
Returns the distance between two points
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|
distance(Point, Point) - Static method in class edu.mit.sketch.uml.S_UMLPoint
Returns the distance between two points
DomainDescriptionGenerator - class edu.mit.sketch.ddg.DomainDescriptionGenerator.
The Domain Description Generator learns new symbols that the user draws.
DomainDescriptionGenerator() - Constructor for class edu.mit.sketch.ddg.DomainDescriptionGenerator
 
Done() - Static method in class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
doneProcessing() - Method in class edu.mit.sketch.system.Scheduler
Answer the question: are we done processing the input we have and ready for more new user input?
doneProcessing() - Method in class edu.mit.sketch.system.StageBasedScheduler
We are done if the stack is empty and there are no more unprocessed BBItems.
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
 
drawableStrokes(boolean) - Method in class edu.mit.sketch.uml.UMLDeleteLinkChecker
 
drawableStrokes(boolean) - Method in class edu.mit.sketch.uml.UMLStrokeCollection
 
drawableStrokes(boolean) - Method in class edu.mit.sketch.uml.UMLDeleteInterfaceChecker
 
drawableStrokes(boolean) - Method in class edu.mit.sketch.uml.UMLDeleteUnrecognizedChecker
 
drawableStrokes(boolean) - Method in class edu.mit.sketch.uml.UMLDeleteObjectChecker
 
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.
drawStroke(Graphics, UMLStroke) - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
drawStrokes(Graphics, Vector) - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
drawText(Graphics) - Method in class edu.mit.sketch.uml.UMLObject
 
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

edgeList() - Method in class edu.mit.sketch.ddg.Constraint
Return the list primitive pairs for which this constraint holds.
edgeList() - Method in class edu.mit.sketch.ddg.ConstraintGraph
Return the list primitive pairs for which this constraint holds.
edges - Variable in class edu.mit.sketch.ddlcompiler.PartialRecognitionGraph
 
edit - Variable in class edu.mit.sketch.ui.TabletGUI
 
edu.mit.sketch.ddg - package edu.mit.sketch.ddg
 
edu.mit.sketch.ddlcompiler - package edu.mit.sketch.ddlcompiler
 
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.system - package edu.mit.sketch.system
 
edu.mit.sketch.toolkit - package edu.mit.sketch.toolkit
 
edu.mit.sketch.ui - package edu.mit.sketch.ui
 
edu.mit.sketch.uml - package edu.mit.sketch.uml
 
edu.mit.sketch.uml.interfaces - package edu.mit.sketch.uml.interfaces
 
edu.mit.sketch.uml.panel - package edu.mit.sketch.uml.panel
 
edu.mit.sketch.util - package edu.mit.sketch.util
 
edu.mit.util - package edu.mit.util
 
ElementCatcher - interface edu.mit.sketch.uml.interfaces.ElementCatcher.
Interface needed for constructor of ListPanel Allows the list panel to hold a multitude of things and not need to deal with the elements in the list directly.
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.system.PrimitiveTypes
 
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.
enable_tracing() - Static method in class edu.mit.sketch.ddlcompiler.DDLParser
 
endColumn - Variable in class edu.mit.sketch.ddlcompiler.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endLine - Variable in class edu.mit.sketch.ddlcompiler.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
enter() - Method in class edu.mit.sketch.uml.panel.ListPanel
triggers the action performed event of the text field
EOF - Static variable in interface edu.mit.sketch.ddlcompiler.DDLParserConstants
 
eol - Variable in class edu.mit.sketch.ddlcompiler.ParseException
The end of line string for this machine.
EQUAL - Static variable in class edu.mit.sketch.system.PrimitiveTypes
 
equalDoubles(double, double, double) - Static method in class edu.mit.sketch.geom.GeometryUtil
Return true if |a-b| < tolerance
equals(BBItemId) - Method in class edu.mit.sketch.system.BBItemId
 
equals(Object) - Method in class edu.mit.sketch.ddg.Primitive
The two primitives are the same if their name and type are the same.
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) - Method in class edu.mit.sketch.system.BBItemId
 
equals(Object) - Method in class edu.mit.sketch.system.BBItemType
 
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.
examine_strokes - Variable in class edu.mit.sketch.uml.UMLCreateUMLChecker
 
expectedTokenSequences - Variable in class edu.mit.sketch.ddlcompiler.ParseException
Each entry in this array is an array of integers.
ExpressionList() - Static method in class edu.mit.sketch.ddlcompiler.DDLParser
 

F

Factor() - Static method in class edu.mit.sketch.ddlcompiler.DDLParser
 
featureString(GeneralPath) - Static method in class edu.mit.sketch.geom.GeneralPathProcessor
Computes the String representation of the features for the input GeneralPath
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_SUBOBJECTS - Static variable in class edu.mit.sketch.ddg.ObjectDescription
Print the confidence and the relevance of the constraint, when printing out the constraint graph
find(String) - Static method in class edu.mit.util.ResourceFinder
 
findAndShowPartialRecognition(PartialRecognitionNode[], PartialRecognitionEdge[]) - Method in class edu.mit.sketch.ddlcompiler.PartialRecognitionGraphVisualizer
 
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
 
generateParseException() - Static method in class edu.mit.sketch.ddlcompiler.DDLParser
 
generateRose() - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
generateRose(UMLProgram) - Static method in class edu.mit.sketch.uml.RationalRoseGenerator
 
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.
GeometricRenderer - class edu.mit.sketch.system.GeometricRenderer.
This renders the geometric objects as nice neat lines and circles, etc...
GeometricRenderer() - Constructor for class edu.mit.sketch.system.GeometricRenderer
 
GeometryUtil - class edu.mit.sketch.geom.GeometryUtil.
Implements geometry related utility functions
GeometryUtil() - Constructor for class edu.mit.sketch.geom.GeometryUtil
 
geomParts() - Method in class edu.mit.sketch.ddg.StrokeInput
Get the geometric parts inferred from the raw stroke
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.
getA() - Method in class edu.mit.sketch.uml.UMLLineWithLabel
 
getA() - Method in class edu.mit.sketch.uml.UMLArrowChecker
 
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.
getALabel() - Method in class edu.mit.sketch.uml.UMLLineWithLabel
 
getAllAncestors() - Method in class edu.mit.sketch.system.BBItemType
Get all of the ancesstors of this type.
getAllComponentsRecursively(Container) - Static method in class edu.mit.sketch.util.AWTUtil
Get all the sub componets in this container.
getAllItems() - Method in class edu.mit.sketch.system.Blackboard
Get all of the item that the system knows about.
getAllItems() - Method in class edu.mit.sketch.system.BBItemHandler
 
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() - Method in class edu.mit.sketch.uml.UMLLineWithLabel
 
getAngle(int) - Method in class edu.mit.sketch.geom.Polygon
get the nth angle as a positive value between 0 and 2*PI
getAngles() - Method in class edu.mit.sketch.uml.UMLStrokeCollection
 
getArrowPoint1() - Method in class edu.mit.sketch.uml.UMLLink
 
getArrowPoint2() - Method in class edu.mit.sketch.uml.UMLLink
 
getB() - Method in class edu.mit.sketch.uml.UMLLineWithLabel
 
getB() - Method in class edu.mit.sketch.uml.UMLArrowChecker
 
getB(double, double, double) - Static method in class edu.mit.sketch.uml.S_UMLLine
Returns the y-incercept of a line with slope m, passing through point x,y
getB(Point, double) - Static method in class edu.mit.sketch.uml.S_UMLLine
 
getBBItem() - Method in class edu.mit.sketch.system.Holder
 
getBBItem(String) - Method in class edu.mit.sketch.system.Template
Get the BBItem that is bound to varName.
getBeginColumn() - Static method in class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
getBeginLine() - Static method in class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
getBLabel() - Method in class edu.mit.sketch.uml.UMLLineWithLabel
 
getBlackboard() - Method in class edu.mit.sketch.system.BlackboardSystem
 
getBoundingPoly() - Method in class edu.mit.sketch.uml.UMLStrokeCollection
 
getBoundingRect() - Method in class edu.mit.sketch.uml.UMLStrokeCollection
 
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
getC() - Method in class edu.mit.sketch.uml.UMLArrowChecker
 
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.
getCenterX() - Method in class edu.mit.sketch.uml.UMLCreateInterfaceChecker
 
getCenterY() - Method in class edu.mit.sketch.uml.UMLCreateInterfaceChecker
 
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
 
getClassifier() - Method in class edu.mit.sketch.uml.MetinRecognizer
 
getCode() - Method in class edu.mit.sketch.uml.UMLMethod
 
getColumn() - Static method in class edu.mit.sketch.ddlcompiler.SimpleCharStream
Deprecated.  
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.
getComponentIndex(String, ArrayList) - Static method in class edu.mit.sketch.ddlcompiler.DDLParser
 
getConfidence() - Method in class edu.mit.sketch.system.BBRecognitionItem
 
getConstraint(String) - Method in class edu.mit.sketch.ddg.ObjectDescription
Returns a certain constraint (given by name)
getConstraintIdentifiers() - Method in class edu.mit.sketch.ddlcompiler.ConstraintNode
Returns a string array consisting of the constraint indentifiers
getConstraintIdentifiers() - Method in class edu.mit.sketch.ddlcompiler.RightConstraintNode
Returns a string array consisting of the constraint indentifiers
getConstraintIdentifiers() - Method in class edu.mit.sketch.ddlcompiler.BelowConstraintNode
Returns a string array consisting of the constraint indentifiers
getConstraintIdentifiers() - Method in class edu.mit.sketch.ddlcompiler.UpperRightConstraintNode
Returns a string array consisting of the constraint indentifiers
getConstraintIdentifiers() - Method in class edu.mit.sketch.ddlcompiler.LeftConstraintNode
Returns a string array consisting of the constraint indentifiers
getConstraintIdentifiers() - Method in class edu.mit.sketch.ddlcompiler.PerpendicularConstraintNode
Returns a string array consisting of the constraint indentifiers
getConstraintIdentifiers() - Method in class edu.mit.sketch.ddlcompiler.LowerRightConstraintNode
Returns a string array consisting of the constraint indentifiers
getConstraintIdentifiers() - Method in class edu.mit.sketch.ddlcompiler.MeetConstraintNode
Returns a string array consisting of the constraint indentifiers
getConstraintIdentifiers() - Method in class edu.mit.sketch.ddlcompiler.AngleConstraintNode
Returns a string array consisting of the constraint indentifiers
getConstraintIdentifiers() - Method in class edu.mit.sketch.ddlcompiler.AttachedConstraintNode
Returns a string array consisting of the constraint indentifiers
getConstraintIdentifiers() - Method in class edu.mit.sketch.ddlcompiler.TouchConstraintNode
Returns a string array consisting of the constraint indentifiers
getConstraintIdentifiers() - Method in class edu.mit.sketch.ddlcompiler.AboveConstraintNode
Returns a string array consisting of the constraint indentifiers
getConstraintIdentifiers() - Method in class edu.mit.sketch.ddlcompiler.UpperLeftConstraintNode
Returns a string array consisting of the constraint indentifiers
getConstraintIdentifiers() - Method in class edu.mit.sketch.ddlcompiler.LowerLeftConstraintNode
Returns a string array consisting of the constraint indentifiers
getConstraintIdentifiers() - Method in class edu.mit.sketch.ddlcompiler.ParallelConstraintNode
Returns a string array consisting of the constraint indentifiers
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.
getD() - Method in class edu.mit.sketch.uml.UMLArrowChecker
 
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
 
getDeletedInterface() - Method in class edu.mit.sketch.uml.UMLDeleteInterfaceChecker
 
getDeletedLink() - Method in class edu.mit.sketch.uml.UMLDeleteLinkChecker
 
getDeletedObject() - Method in class edu.mit.sketch.uml.UMLDeleteObjectChecker
 
getDeletedStroke() - Method in class edu.mit.sketch.uml.UMLDeleteUnrecognizedChecker
 
getDirectionFit(double) - Method in class edu.mit.sketch.toolkit.StrokeData
Find the corners of the polygon using the change in the direction.
getDrawnBounds() - Method in class edu.mit.sketch.uml.Sketchable
 
getE() - Method in class edu.mit.sketch.uml.UMLArrowChecker
 
getEdge(int) - Method in class edu.mit.sketch.ddg.ConstraintGraphEdgeList
Get edge at a given index.
getEdge(int) - Method in class edu.mit.sketch.geom.Polygon
This method returns the nth edge of this Polygon.
getEdge(Primitive) - Method in class edu.mit.sketch.ddg.ConstraintGraphEdgeList
Get edge to the given primitive.
getEdge(Primitive, Primitive) - Method in class edu.mit.sketch.ddg.ConstraintGraph
Get edge between the two given primitives.
getEllipse() - Method in class edu.mit.sketch.toolkit.StrokeData
Return the ellipse fully containing the data points.
getEllipse() - Method in class edu.mit.sketch.uml.UMLStroke
 
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.
getEmptySlotsFor(BBItemType) - Method in class edu.mit.sketch.system.Template
Get the empty slots that can hold an item of the given type.
getEnd() - Method in class edu.mit.sketch.system.Interval
 
getEnd() - Method in class edu.mit.sketch.uml.UMLLink
 
getEnd() - Method in class edu.mit.sketch.uml.UMLCreateLinkChecker
 
getEndColumn() - Static method in class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
getEndInterface() - Method in class edu.mit.sketch.uml.UMLLink
 
getEndIsObject() - Method in class edu.mit.sketch.uml.UMLLink
 
getEndLine() - Static method in class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
getEndObject() - Method in class edu.mit.sketch.uml.UMLLink
 
getEndPoint() - Method in class edu.mit.sketch.uml.UMLArrowChecker
 
getEndPointVector() - Method in class edu.mit.sketch.uml.UMLStroke
 
getEndPointVector() - Method in class edu.mit.sketch.uml.UMLPointVector
 
getEndPointVectorClassifier() - Method in class edu.mit.sketch.uml.UMLStroke
 
getEndTime() - Method in class edu.mit.sketch.toolkit.StrokeData
 
getEndX() - Method in class edu.mit.sketch.uml.UMLLink
 
getEndY() - Method in class edu.mit.sketch.uml.UMLLink
 
getExamineStrokes() - Method in class edu.mit.sketch.uml.UMLCreateUMLChecker
 
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.
getGeometry() - Method in class edu.mit.sketch.system.SemanticObject
 
getHead() - Method in class edu.mit.sketch.uml.UMLCreateLinkChecker
Polygon to ease the drawing of the arrow head
getHeight() - Method in class edu.mit.sketch.geom.Rectangle
Returns the height
getHeight() - Method in class edu.mit.sketch.uml.UMLObject
 
getHeight() - Method in class edu.mit.sketch.uml.UMLCreateObjectChecker
 
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
 
getId() - Method in class edu.mit.sketch.system.BBItem
Gets the value of id
getImage() - Method in class edu.mit.sketch.toolkit.DirectionChangeScaleSpaceViewer
Get image
getImage() - Method in class edu.mit.sketch.toolkit.SpeedScaleSpaceViewer
Get image
GetImage() - Static method in class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
getIncomingEdges(Primitive) - Method in class edu.mit.sketch.ddg.ConstraintGraph
Get the list of incoming edges for a given primitive.
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.
getInterface(int) - Method in class edu.mit.sketch.uml.UMLProgram
 
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
getInterpretationIndex() - Method in class edu.mit.sketch.system.Blackboard
 
getInterpretations() - Method in class edu.mit.sketch.system.InterpretationIndex
 
getIntersectingPoint(Point, Point, Point, Point) - Static method in class edu.mit.sketch.uml.S_UMLLine
Returns intersecting point of two lines (as if the two lines were infinite) Use isIntersecting to check if lines are actually intersecting
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.
getItems(BBItemType) - Method in class edu.mit.sketch.system.Blackboard
Get all the BBItems of a given type from the blackboard
getKind() - Method in class edu.mit.sketch.uml.UMLCreateLinkChecker
 
getKSManager() - Method in class edu.mit.sketch.system.BlackboardSystem
 
getKSs() - Method in class edu.mit.sketch.system.RecPackage
 
getLabeledLines() - Method in class edu.mit.sketch.uml.UMLStrokeCollection
 
getLength() - Method in class edu.mit.sketch.uml.UMLStroke
 
getLevel() - Static method in class edu.mit.sketch.uml.Debug
gets the debug level
getLine() - Static method in class edu.mit.sketch.ddlcompiler.SimpleCharStream
Deprecated.  
getLine() - Method in class edu.mit.sketch.uml.UMLLineWithLabel
 
getLine() - Method in class edu.mit.sketch.uml.UMLStroke
 
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.
getLineLabel() - Method in class edu.mit.sketch.uml.UMLLineWithLabel
 
getLines() - Method in class edu.mit.sketch.uml.UMLStrokeCollection
 
getLink(int) - Method in class edu.mit.sketch.uml.UMLProgram
 
getLinkType() - Method in class edu.mit.sketch.uml.UMLLink
 
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.
getMapping(Primitive) - Method in class edu.mit.sketch.ddg.PrimitiveMapping
Get the primitive that maps to the given primitive.
getMessage() - Method in class edu.mit.sketch.ddlcompiler.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in class edu.mit.sketch.ddlcompiler.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMethod(int) - Method in class edu.mit.sketch.uml.UMLClass
 
getMethods() - Method in class edu.mit.sketch.uml.UMLClass
 
getMethodsVector() - Method in class edu.mit.sketch.uml.UMLClass
 
getMiddlePointVector() - Method in class edu.mit.sketch.uml.UMLStroke
 
getMiddlePointVector() - Method in class edu.mit.sketch.uml.UMLPointVector
 
getMiddlePointVectorClassifier() - Method in class edu.mit.sketch.uml.UMLStroke
 
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.
getMode() - Method in class edu.mit.sketch.uml.UMLControlPanel
 
getName() - Method in class edu.mit.sketch.system.KnowledgeSource
Get the english name of this KS.
getName() - Method in class edu.mit.sketch.system.BBItem
Gets the value of name
getName() - Method in class edu.mit.sketch.system.RecPackage
 
getName() - Method in class edu.mit.sketch.uml.UMLClass
 
getName() - Method in class edu.mit.sketch.uml.UMLMethod
 
getName() - Method in class edu.mit.sketch.uml.UMLProperty
 
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.
getNextToken() - Static method in class edu.mit.sketch.ddlcompiler.DDLParserTokenManager
 
getNextToken() - Static method in class edu.mit.sketch.ddlcompiler.DDLParser
 
getNumPoints() - Method in class edu.mit.sketch.uml.UMLStrokeCollection
 
getNumPoints() - Method in class edu.mit.sketch.uml.UMLStroke
 
getObject() - Method in class edu.mit.sketch.uml.UMLObjectTextChecker
 
getObject(int) - Method in class edu.mit.sketch.uml.UMLProgram
 
getObjects(Rectangle) - Method in class edu.mit.sketch.geom.SpatialDatabase
get the objects inside the focus rectangle.
getOutgoingEdges(Primitive) - Method in class edu.mit.sketch.ddg.ConstraintGraph
Get the list of outgoing edges for a given primitive.
getParticipatedConstraints(String, ArrayList) - Static method in class edu.mit.sketch.ddlcompiler.DDLParser
 
getParticipatingComponents(String[], ArrayList) - Static method in class edu.mit.sketch.ddlcompiler.DDLParser
 
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
getPermissions() - Method in class edu.mit.sketch.uml.UMLMethod
 
getPointVector() - Method in class edu.mit.sketch.uml.UMLStroke
 
getPointVectorClassifier() - Method in class edu.mit.sketch.uml.UMLStroke
 
getPoly(Vector) - Method in class edu.mit.sketch.uml.UMLStroke
 
getPolygon() - Method in class edu.mit.sketch.uml.UMLStroke
 
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.
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
getProcessType() - Method in class edu.mit.sketch.system.KnowledgeSource
Get the process type.
getProgram() - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
getProperties() - Method in class edu.mit.sketch.uml.UMLClass
 
getPropertiesVector() - Method in class edu.mit.sketch.uml.UMLClass
 
getProperty(int) - Method in class edu.mit.sketch.uml.UMLClass
 
getRadius() - Method in class edu.mit.sketch.uml.UMLCreateInterfaceChecker
 
getRadius() - Method in class edu.mit.sketch.uml.UMLInterface
 
getReadable() - Method in class edu.mit.sketch.uml.UMLProperty
 
getRecentItems() - Method in class edu.mit.sketch.system.Scheduler
 
getRecentStroke() - Method in class edu.mit.sketch.uml.UMLProgram
 
getRecentStroke(int) - Method in class edu.mit.sketch.uml.UMLProgram
 
getRecentStrokeVector(int) - Method in class edu.mit.sketch.uml.UMLProgram
 
getRecentStrokeVectorUnrecognized(int) - Method in class edu.mit.sketch.uml.UMLProgram
 
getRecognized() - Method in class edu.mit.sketch.uml.UMLStroke
 
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.
getSemanticObject() - Method in class edu.mit.sketch.system.BBSketchItem
 
getSide1() - Method in class edu.mit.sketch.uml.UMLCreateLinkChecker
 
getSide2() - Method in class edu.mit.sketch.uml.UMLCreateLinkChecker
 
getSide3() - Method in class edu.mit.sketch.uml.UMLCreateLinkChecker
 
getSlidingWindowHistogram(double[], double, double, double, double) - Static method in class edu.mit.sketch.toolkit.StatisticsModule
Plot sliding window
getSlope(double, double, double, double) - Static method in class edu.mit.sketch.uml.S_UMLLine
Returns the slope of a line given two points on the line.
getSlope(Line) - Static method in class edu.mit.sketch.uml.S_UMLLine
 
getSlope(Point, Point) - Static method in class edu.mit.sketch.uml.S_UMLLine
 
getSlots() - Method in class edu.mit.sketch.system.Template
 
getSpeedFit(double) - Method in class edu.mit.sketch.toolkit.StrokeData
See if the input is a polygon.
getStart() - Method in class edu.mit.sketch.system.Interval
 
getStart() - Method in class edu.mit.sketch.uml.UMLLink
 
getStart() - Method in class edu.mit.sketch.uml.UMLCreateLinkChecker
 
getStartInterface() - Method in class edu.mit.sketch.uml.UMLLink
 
getStartIsObject() - Method in class edu.mit.sketch.uml.UMLLink
 
getStartObject() - Method in class edu.mit.sketch.uml.UMLLink
 
getStartPoint() - Method in class edu.mit.sketch.uml.UMLArrowChecker
 
getStartPointVector() - Method in class edu.mit.sketch.uml.UMLStroke
 
getStartPointVector() - Method in class edu.mit.sketch.uml.UMLPointVector
 
getStartPointVectorClassifier() - Method in class edu.mit.sketch.uml.UMLStroke
 
getStartPosition() - Method in class edu.mit.sketch.geom.GeneralPath
Return the beginning the position.
getStartTime() - Method in class edu.mit.sketch.toolkit.StrokeData
 
getStartX() - Method in class edu.mit.sketch.uml.UMLLink
 
getStartY() - Method in class edu.mit.sketch.uml.UMLLink
 
getStroke(int) - Method in class edu.mit.sketch.uml.Sketchable
 
getStroke(int) - Method in class edu.mit.sketch.uml.UMLProgram
 
getStrokeColor() - Method in class edu.mit.sketch.system.SurfaceView
Gets the color of strokes
getStrokeData() - Method in class edu.mit.sketch.system.BBStroke
 
getStrokeData() - Method in class edu.mit.sketch.toolkit.StrokeDataReader
Return the StrokeData collected by this reader
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.
getStrokes() - Method in class edu.mit.sketch.system.InterpretationIndex
 
getStrokes() - Method in interface edu.mit.sketch.system.StrokeBased
Get the raw strokes that this object is based on.
getStrokes() - Method in class edu.mit.sketch.uml.UMLStrokeCollection
 
getStrokes() - Method in class edu.mit.sketch.uml.Sketchable
 
getStrokesForInterpretation(BBItem) - Method in class edu.mit.sketch.system.InterpretationIndex
 
getStrokeThickness() - Method in class edu.mit.sketch.system.SurfaceView
Gets the thickness of rendered strokes.
getStrokeVector() - Method in class edu.mit.sketch.uml.UMLProgram
 
GetSuffix(int) - Static method in class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
getSuperTypes() - Method in class edu.mit.sketch.system.BBItemType
Get the immediate parents of this type.
getSurroundingObject() - Method in class edu.mit.sketch.uml.UMLStrokeCollection
 
getSurroundingPolygon() - Method in class edu.mit.sketch.uml.UMLLink
 
getSymmetricDifference(Vertex[], Vertex[], Vertex[], int) - Static method in class edu.mit.sketch.toolkit.Blackboard
Get the symmetric difference of a and b.
getTemplate() - Method in class edu.mit.sketch.system.BBSketchItem
Get the template that was used to create this sketch item.
getTemplates(BBItemType) - Method in class edu.mit.sketch.system.TemplateIndex
Get the templates that apply to the given item.
getTemplates(BBItemType) - Method in class edu.mit.sketch.system.BottomUpTemplateCreatorKS
Get the templates that can use the given type.
getTemplatesFor(BBItem) - Method in class edu.mit.sketch.system.Blackboard
 
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.
getToken(int) - Static method in class edu.mit.sketch.ddlcompiler.DDLParser
 
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.
getTriggered(BBItemHandler, Blackboard) - Method in class edu.mit.sketch.system.KnowledgeSourceManager
Get all the knowledge sources that trigger.
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 class edu.mit.sketch.system.BBItem
 
getType() - Method in class edu.mit.sketch.system.Holder
 
getType() - Method in class edu.mit.sketch.system.Template
 
getType() - Method in interface edu.mit.sketch.ui.Paintable
Returns the type of this NonTerminal
getType() - Method in class edu.mit.sketch.uml.UMLLink
 
getType() - Method in class edu.mit.sketch.uml.UMLArrowChecker
 
getType() - Method in class edu.mit.sketch.uml.UMLObject
 
getType() - Method in class edu.mit.sketch.uml.UMLInterface
 
getType(String) - Static method in class edu.mit.sketch.system.BBItemType
 
getTypeWithTolerance(double) - Method in class edu.mit.sketch.geom.Ellipse
This returns "circle" if the width/height ratio is within tolerance neighborhood of 1.
getUMLClassParent() - Method in class edu.mit.sketch.uml.UMLProperty
 
getUMLParent() - Method in class edu.mit.sketch.uml.UMLMethod
 
getUnion(Vertex[], Vertex[]) - Static method in class edu.mit.sketch.toolkit.Blackboard
Get all the points in a and b.
getUnprocessedItems() - Method in class edu.mit.sketch.system.BBItemHandler
Get the uncprocessed items
getValue() - Method in class edu.mit.sketch.system.Property
Calculates (or returns) the value of this property
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
getWidth() - Method in class edu.mit.sketch.uml.UMLObject
 
getWidth() - Method in class edu.mit.sketch.uml.UMLCreateObjectChecker
 
getWindingRule() - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
getWithinBounds(Rectangle) - Method in class edu.mit.sketch.system.SketchItemIndex
 
getWithinBounds(Rectangle, int) - Method in class edu.mit.sketch.system.SketchItemIndex
 
getWriteable() - Method in class edu.mit.sketch.uml.UMLProperty
 
getX() - Method in class edu.mit.sketch.uml.UMLClass
 
getX() - Method in class edu.mit.sketch.uml.UMLCreateObjectChecker
 
getY() - Method in class edu.mit.sketch.uml.UMLClass
 
getY() - Method in class edu.mit.sketch.uml.UMLCreateObjectChecker
 
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
 
GraphFrame - class edu.mit.sketch.ddlcompiler.GraphFrame.
A graph structure for representing partial recognition w/visualization.
GraphFrame(Graph) - Constructor for class edu.mit.sketch.ddlcompiler.GraphFrame
 
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
 
GREATER_THAN - Static variable in class edu.mit.sketch.system.PrimitiveTypes
 
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.ddg.DomainDescriptionGenerator
Store the new storke and repaint all the accumulated strokes
handleStroke(StrokeData) - Method in class edu.mit.sketch.grammar.CheckMarkRecognizer
 
handleStroke(StrokeData) - Method in class edu.mit.sketch.system.ViewController
 
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
 
handleStroke(StrokeData) - Method in class edu.mit.sketch.ui.SketchPad
 
handleStroke(StrokeData) - Method in class edu.mit.sketch.uml.MetinRecognizer
 
hashCode() - Method in class edu.mit.sketch.ddg.Primitive
The hashcode of a primitive is a hash code of it's name.
hashCode() - Method in class edu.mit.sketch.system.BBItemId
 
hashCode() - Method in class edu.mit.sketch.system.BBItemType
 
hasNewUserInput() - Method in class edu.mit.sketch.system.BlackboardSystem
A funtion that returns whether or not there are new user inputs that have not yet been added to the blackboard.
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.
hasProcessType(String) - Method in interface edu.mit.sketch.system.SchedulerItem
Return the type of processing this scheduler item will perform.
hasProcessType(String) - Method in class edu.mit.sketch.system.KnowledgeSource
Again, change this to use types instead of strings.
hasProcessType(String) - Method in class edu.mit.sketch.system.InterpretationChooser
 
hasSufficientData() - Method in class edu.mit.sketch.toolkit.StrokeDataReader
Return the StrokeData collected by this reader
hasUnprocessed() - Method in class edu.mit.sketch.system.Scheduler
 
hasUnprocessed() - Method in class edu.mit.sketch.system.BBItemHandler
 
hideFrame() - Method in class edu.mit.sketch.uml.UMLClass
 
Holder - class edu.mit.sketch.system.Holder.
This class is used in the template class.
holdsBetween(Primitive, Primitive) - Method in class edu.mit.sketch.ddg.Constraint
Returns true if the constraint holds between the given primitives.
holdsBetween(Primitive, Primitive, double) - Method in class edu.mit.sketch.ddg.Constraint
Returns true if the constraint holds between the given primitives with a given threshold on confidence
HORIZONTAL - Static variable in class edu.mit.sketch.ddg.LinePropertyConstraint
Possible constraint names
hybrid_fits - Static variable in class edu.mit.sketch.toolkit.Blackboard
The array of hybrid fits obtained from speed and direction fits.

I

ID - Static variable in interface edu.mit.sketch.ddlcompiler.DDLParserConstants
 
image - Variable in class edu.mit.sketch.ddlcompiler.Token
The string image of the token.
in_recognition_mode - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 
included - Variable in class edu.mit.sketch.geom.Segment
true if included
indent(int) - Static method in class edu.mit.sketch.ddlcompiler.DDLParser
 
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.
inferConstraints(HashMap) - Method in class edu.mit.sketch.ddg.Constraint
Infer the constraints from the users stroke geom parts and record the constraint graph.
inferConstraints(HashMap) - Method in class edu.mit.sketch.ddg.LinePropertyConstraint
Infer the constraints from the users stroke geom parts and record the constraint graph into the hashtable.
inferConstraints(HashMap) - Method in class edu.mit.sketch.ddg.LineRelationshipConstraint
Infer the constraints from the users stroke geom parts and record the constraint graph into the hashtable.
info_bar - Static variable in class edu.mit.sketch.ui.TabletGUI
 
inHead(int, int, boolean) - Method in class edu.mit.sketch.uml.UMLLink
 
inHeadDrawn(int, int) - Method in class edu.mit.sketch.uml.UMLLink
 
inHeadInterpreted(int, int) - Method in class edu.mit.sketch.uml.UMLLink
 
inheritence - Variable in class edu.mit.sketch.uml.UMLLink
 
initializeBuffer() - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Overloaded for double buffering.
initializeGraphicsObjects() - Method in class edu.mit.sketch.ui.TabletGUI
initializeGraphicsObjects
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
 
interfacesSize() - Method in class edu.mit.sketch.uml.UMLProgram
 
InterpretationChooser - class edu.mit.sketch.system.InterpretationChooser.
Created: Fri Mar 8 11:27:51 2002
Copyright: Copyright (C) 2001 by MIT.
InterpretationChooser() - Constructor for class edu.mit.sketch.system.InterpretationChooser
 
InterpretationIndex - class edu.mit.sketch.system.InterpretationIndex.
A collection of all the items that need to be displayed.
InterpretationIndex() - Constructor for class edu.mit.sketch.system.InterpretationIndex
 
InterpretationIndex(InterpretationIndex) - Constructor for class edu.mit.sketch.system.InterpretationIndex
 
INTERSECTS - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
 
INTERSECTS - Static variable in class edu.mit.sketch.system.PrimitiveTypes
 
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
Interval - class edu.mit.sketch.system.Interval.
Created: Wed Jan 16 15:48:08 2002
Copyright: Copyright (C) 2002 by MIT.
Interval(long, long) - Constructor for class edu.mit.sketch.system.Interval
 
invalidateCaches() - Method in class edu.mit.sketch.toolkit.StrokeData
Invalidates caches
isa(BBItemType) - Method in class edu.mit.sketch.system.BBItem
Check to see whether the Item has the specified type, or if it is a subtype of the specified type.
isa(BBItemType) - Method in class edu.mit.sketch.system.BBItemType
 
isArrow(Graphics) - Method in class edu.mit.sketch.uml.UMLArrowChecker
 
isBound() - Method in class edu.mit.sketch.system.Holder
This holder is unbound if the item has not been set yet.
isCheckMark(Polygon) - Method in class edu.mit.sketch.grammar.CheckMarkRecognizer
 
isCircle() - Method in class edu.mit.sketch.uml.UMLCreateInterfaceChecker
 
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.
isDash() - Method in class edu.mit.sketch.uml.UMLStroke
 
isDebugging(boolean) - Static method in class edu.mit.util.Debug
 
isDelete() - Method in class edu.mit.sketch.uml.UMLDeleteLinkChecker
 
isDelete() - Method in class edu.mit.sketch.uml.UMLDeleteUnrecognizedChecker
 
isDelete() - Method in class edu.mit.sketch.uml.UMLDeleteObjectChecker
 
isDelete(Graphics) - Method in class edu.mit.sketch.uml.UMLDeleteInterfaceChecker
 
isDrawable() - Method in class edu.mit.sketch.uml.UMLStroke
 
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() - Method in class edu.mit.sketch.uml.UMLStroke
 
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.
isIntersecting(Point, Point, Point, Point) - Static method in class edu.mit.sketch.uml.S_UMLLine
Returns true if the two lines are intersecting
isIntersecting(Vector, Vector) - Static method in class edu.mit.sketch.uml.S_UMLLine
Takes in a vector of points to see if the non-straight lines represented by these vectors intersect
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() - Method in class edu.mit.sketch.uml.UMLStroke
 
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.
isLink(Graphics) - Method in class edu.mit.sketch.uml.UMLCreateLinkChecker
 
isObject(int) - Method in class edu.mit.sketch.uml.UMLCreateObjectChecker
tell how many strokes to use to determine if it is an object
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.
isParallel(Line) - Method in class edu.mit.sketch.geom.Line
Returns true if the lines are parallel must be replaced
isPoint() - Method in class edu.mit.sketch.uml.UMLStroke
 
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.
isStackEmpty() - Method in class edu.mit.sketch.system.Scheduler
 
isStartEndSame() - Method in class edu.mit.sketch.uml.UMLStroke
 
isTest() - Method in class edu.mit.sketch.uml.UMLInterface
 
isText() - Method in class edu.mit.sketch.uml.UMLObjectTextChecker
 
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
iterator() - Method in class edu.mit.sketch.system.SketchItemIndex
An iterator over all of the items this index knows about.

J

jj_nt - Static variable in class edu.mit.sketch.ddlcompiler.DDLParser
 
jjstrLiteralImages - Static variable in class edu.mit.sketch.ddlcompiler.DDLParserTokenManager
 
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

KeyboardPanel - class edu.mit.sketch.uml.panel.KeyboardPanel.
This class creates a JPanel with 40 buttons representing the keys of a keyboard.
KeyboardPanel(LetterSink) - Constructor for class edu.mit.sketch.uml.panel.KeyboardPanel
 
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
kind - Variable in class edu.mit.sketch.ddlcompiler.Token
An integer that describes the kind of this token.
KnowledgeSource - class edu.mit.sketch.system.KnowledgeSource.
This is the base class for all of the "experts" that can bring their experience to bear on a specific aspect of a problem.
KnowledgeSource(String, String) - Constructor for class edu.mit.sketch.system.KnowledgeSource
 
KnowledgeSourceManager - class edu.mit.sketch.system.KnowledgeSourceManager.
This class coordinates all of the knowledge sources and finds which ones are triggered by a given seed item.
KnowledgeSourceManager() - Constructor for class edu.mit.sketch.system.KnowledgeSourceManager
 

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 interface edu.mit.sketch.ddlcompiler.DDLParserConstants
 
LEFT - Static variable in class edu.mit.sketch.geom.SpatialRelation
| | | | ___|___|___ | | X | | ___|___|___ | | | | | |
LeftConstraintNode - class edu.mit.sketch.ddlcompiler.LeftConstraintNode.
Parsing can be thought of as generating and AST.
LeftConstraintNode(String, String) - Constructor for class edu.mit.sketch.ddlcompiler.LeftConstraintNode
 
leftOfLine(double, double, double, double, double) - Static method in class edu.mit.sketch.uml.S_UMLLine
Given a line, represented by slope m, and y-intercept b, does a point, represented by x,y, fall to the left of the line by at least a certain amount (the error).
leftOfLine(Line, Point, double) - Static method in class edu.mit.sketch.uml.S_UMLLine
 
leftOfLine(Point, double, double, double) - Static method in class edu.mit.sketch.uml.S_UMLLine
Given a line, represented by slope m, and y-intercept b, does a point, represented by x,y, fall to the left of the line by at least a certain amount (the error).
length() - Method in class edu.mit.sketch.geom.Line
Returns the length of this line.
LESS_THAN - Static variable in class edu.mit.sketch.system.PrimitiveTypes
 
LetterSink - interface edu.mit.sketch.uml.interfaces.LetterSink.
If you want to use the KeyboardPanel, you need to send it an object that implements LetterSink.
lexStateNames - Static variable in class edu.mit.sketch.ddlcompiler.DDLParserTokenManager
 
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 class edu.mit.sketch.ddg.Primitive
 
LINE - Static variable in interface edu.mit.sketch.geom.GeometricObject
 
LINE - Static variable in class edu.mit.sketch.system.PrimitiveTypes
 
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
 
LinePropertyConstraint - class edu.mit.sketch.ddg.LinePropertyConstraint.
This class represents properties of line primitives (like "horizontal").
LinePropertyConstraint() - Constructor for class edu.mit.sketch.ddg.LinePropertyConstraint
Constructs an empty constraint graph.
LinePropertyConstraint(HashMap, Object) - Constructor for class edu.mit.sketch.ddg.LinePropertyConstraint
Constructs the constraint graph from and example drawn by the user.
LineRelationshipConstraint - class edu.mit.sketch.ddg.LineRelationshipConstraint.
This class represents constraints between pairs of line primitives (like "connects").
LineRelationshipConstraint() - Constructor for class edu.mit.sketch.ddg.LineRelationshipConstraint
Constructs an empty constraint graph.
LineRelationshipConstraint(HashMap, Object) - Constructor for class edu.mit.sketch.ddg.LineRelationshipConstraint
Constructs the constraint graph from and example drawn by the user.
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
linksSize() - Method in class edu.mit.sketch.uml.UMLProgram
 
listKnownSymbols() - Method in class edu.mit.sketch.ddg.DomainDescriptionGenerator
List already known symbols
ListPanel - class edu.mit.sketch.uml.panel.ListPanel.
Creates a panel with a list label, a list, a list, and a text box as a means for entering things into the list.
ListPanel(String, Vector, ElementCatcher) - Constructor for class edu.mit.sketch.uml.panel.ListPanel
 
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.toolkit.LoadStoreModule.
This class loads and stores objects used by the ObjectManager.
LoadStoreModule - class edu.mit.sketch.util.LoadStoreModule.
This class loads and stores objects used by the ObjectManager.
LoadStoreModule() - Constructor for class edu.mit.sketch.toolkit.LoadStoreModule
 
LoadStoreModule() - Constructor for class edu.mit.sketch.util.LoadStoreModule
 
loadTerminalsFromFile(String) - Static method in class edu.mit.sketch.toolkit.LoadStoreModule
Load Terminals and NonTerminals from the given file, and return them in a Vector
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.toolkit.LoadStoreModule
Load arrays of vertices 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
locationX - Variable in class edu.mit.sketch.uml.UMLClass
 
locationY - Variable in class edu.mit.sketch.uml.UMLClass
 
LONGER - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
 
LOW_CONFIDENCE_THRESHOLD - Static variable in class edu.mit.sketch.ddg.ObjectDescription
Threshold for removing constraints with low confidence.
LOWER_LEFT - Static variable in interface edu.mit.sketch.ddlcompiler.DDLParserConstants
 
LOWER_LEFT - Static variable in class edu.mit.sketch.geom.SpatialRelation
| | | | ___|___|___ | | | | ___|___|___ | | X | | | |
LOWER_RIGHT - Static variable in interface edu.mit.sketch.ddlcompiler.DDLParserConstants
 
LOWER_RIGHT - Static variable in class edu.mit.sketch.geom.SpatialRelation
| | | | ___|___|___ | | | | ___|___|___ | | | | X | |
LowerLeftConstraintNode - class edu.mit.sketch.ddlcompiler.LowerLeftConstraintNode.
Parsing can be thought of as generating and AST.
LowerLeftConstraintNode(String, String) - Constructor for class edu.mit.sketch.ddlcompiler.LowerLeftConstraintNode
 
LowerRightConstraintNode - class edu.mit.sketch.ddlcompiler.LowerRightConstraintNode.
Parsing can be thought of as generating and AST.
LowerRightConstraintNode(String, String) - Constructor for class edu.mit.sketch.ddlcompiler.LowerRightConstraintNode
 
LowLevelKS - class edu.mit.sketch.system.LowLevelKS.
This is a KS based on Metin's code for recognizing lines, circles, squares, etc...
LowLevelKS() - Constructor for class edu.mit.sketch.system.LowLevelKS
 
LSQE_treshold - Static variable in class edu.mit.sketch.ui.TabletDataProcessor
 

M

m_blackboard - Variable in class edu.mit.sketch.system.Scheduler
The blackboard that holds all the knowledge in the system.
m_constraintGraph - Variable in class edu.mit.sketch.ddg.Constraint
ConstraintGraph is a hashtable.
m_items - Variable in class edu.mit.sketch.system.Scheduler
A collection of the new blackboard items that have appeared as a result of the user's last input stroke or strokes.
m_ksManager - Variable in class edu.mit.sketch.system.Scheduler
The ksIndex is responsible for figuring out which KS's are relevent to which triggers.
m_name - Variable in class edu.mit.sketch.ddg.LinePropertyConstraint
Name of the constraint
m_name - Variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
Name of the constraint
m_newItemQueue - Variable in class edu.mit.sketch.system.BlackboardSystem
Queue's up the new items as they come into the system.
m_system - Variable in class edu.mit.sketch.system.Scheduler
The whole information system including the knowledge sources and the blackboard.
m_triggeredKSs - Variable in class edu.mit.sketch.system.Scheduler
 
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.ddg.DomainDescriptionGenerator
 
main(String[]) - Static method in class edu.mit.sketch.ddlcompiler.PartialRecognitionTester
 
main(String[]) - Static method in class edu.mit.sketch.ddlcompiler.DDLParser
 
main(String[]) - Static method in class edu.mit.sketch.grammar.CheckMarkRecognizer
 
main(String[]) - Static method in class edu.mit.sketch.system.SketchSystem
 
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.sketch.ui.SketchPad
 
main(String[]) - Static method in class edu.mit.sketch.uml.UML
 
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
 
makePointVector() - Method in class edu.mit.sketch.uml.UMLCreateUMLChecker
Creates a point vector of the last n strokes from the program
markAllProcessed() - Method in class edu.mit.sketch.system.BBItemHandler
 
markDirty(String) - Method in class edu.mit.util.Debug
 
markProcessed(Collection) - Method in class edu.mit.sketch.system.BBItemHandler
Mark a group of items as processed.
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
 
MEET - Static variable in interface edu.mit.sketch.ddlcompiler.DDLParserConstants
 
MeetConstraintNode - class edu.mit.sketch.ddlcompiler.MeetConstraintNode.
Parsing can be thought of as generating and AST.
MeetConstraintNode(String, String) - Constructor for class edu.mit.sketch.ddlcompiler.MeetConstraintNode
 
MEETS - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
 
MEETS_P1 - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
 
MEETS_P2 - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
 
menubar - Variable in class edu.mit.sketch.toolkit.StatisticsModule
 
menubar - Variable in class edu.mit.sketch.ui.TabletGUI
 
methods - Variable in class edu.mit.sketch.uml.UMLClass
 
methodSize() - Method in class edu.mit.sketch.uml.UMLClass
 
MetinRecognizer - class edu.mit.sketch.uml.MetinRecognizer.
 
MetinRecognizer() - Constructor for class edu.mit.sketch.uml.MetinRecognizer
 
min - Variable in class edu.mit.sketch.geom.Range
Lower bound of the range
minHeight - Variable in class edu.mit.sketch.uml.UMLClass
 
minWidth - Variable in class edu.mit.sketch.uml.UMLClass
 
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
mouseClicked(MouseEvent) - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
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
mouseDragged(MouseEvent) - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
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
mouseEntered(MouseEvent) - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
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
mouseExited(MouseEvent) - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
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
mouseMoved(MouseEvent) - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
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
mousePressed(MouseEvent) - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
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
mouseReleased(MouseEvent) - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
mouseReleased2(MouseEvent) - Method in class edu.mit.sketch.ui.TabletDataProcessor
Handle mouse events
moveText(int, int) - Method in class edu.mit.sketch.uml.UMLObject
 
moveTo(float, float) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
MUCH_LONGER - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
 

N

name - Variable in class edu.mit.sketch.uml.UMLClass
 
name() - Method in class edu.mit.sketch.ddg.Constraint
Name of the constraint type (for example "intersects").
name() - Method in class edu.mit.sketch.ddg.LinePropertyConstraint
Name of the constraint type.
name() - Method in class edu.mit.sketch.ddg.Primitive
Name of the primitive (like "l2" in "line l2")
name() - Method in class edu.mit.sketch.ddg.LineRelationshipConstraint
Name of the constraint type.
name() - Method in class edu.mit.sketch.ddg.ObjectDescription
Name of the object
nearby(Point, boolean) - Method in class edu.mit.sketch.uml.UMLLink
 
nearby(Point, boolean) - Method in class edu.mit.sketch.uml.UMLObject
 
nearby(Point, boolean) - Method in class edu.mit.sketch.uml.UMLInterface
 
NEGATIVE_SLOPE - Static variable in class edu.mit.sketch.ddg.LinePropertyConstraint
 
NEWLINE - Static variable in class edu.mit.util.Debug
 
newProgram() - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
newToken(int) - Static method in class edu.mit.sketch.ddlcompiler.Token
Returns a new Token object, by default.
newType(String) - Static method in class edu.mit.sketch.system.BBItemType
 
newType(String, BBItemType) - Static method in class edu.mit.sketch.system.BBItemType
 
newType(String, BBItemType[]) - Static method in class edu.mit.sketch.system.BBItemType
 
newType(String, Collection) - Static method in class edu.mit.sketch.system.BBItemType
 
newUserInput(BBItem) - Method in class edu.mit.sketch.system.BlackboardSystem
This is the entry point of new items into the system.
next - Variable in class edu.mit.sketch.ddlcompiler.Token
A reference to the next regular (non-special) token from the input stream.
nodes - Variable in class edu.mit.sketch.ddlcompiler.PartialRecognitionGraph
 
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.
NUM - Static variable in interface edu.mit.sketch.ddlcompiler.DDLParserConstants
 
NUM_CONSTRAINTS - Static variable in class edu.mit.sketch.ddg.LinePropertyConstraint
Total number of possible constraints (to allow iterating over the names)
NUM_CONSTRAINTS - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
Total number of possible constraints (to allow iterating over the names)
num_strokes - Variable in class edu.mit.sketch.uml.UMLCreateUMLChecker
 
numStrokes() - Method in class edu.mit.sketch.uml.Sketchable
 

O

object_manager - Variable in class edu.mit.sketch.ui.TabletDataProcessor
 
ObjectDescription - class edu.mit.sketch.ddg.ObjectDescription.
ObjectDescription is a representation of an object in the sketch as a set of primitives, subobjects and a constraints between them.
ObjectDescription() - Static method in class edu.mit.sketch.ddlcompiler.DDLParser
 
ObjectDescription(String) - Constructor for class edu.mit.sketch.ddg.ObjectDescription
Constructs an empty object description
ObjectDescription(Vector, String) - Constructor for class edu.mit.sketch.ddg.ObjectDescription
Constructs the object description from and example drawn by the user.
ObjectHolder - class edu.mit.sketch.system.ObjectHolder.
Created: Mon Feb 25 15:22:33 2002
Copyright: Copyright (C) 2002 by MIT.
ObjectHolder(BBItemType) - Constructor for class edu.mit.sketch.system.ObjectHolder
 
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.
objectsSize() - Method in class edu.mit.sketch.uml.UMLProgram
 
OBTUSE_ANGLE - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
 
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
 
OVAL - Static variable in class edu.mit.sketch.ddg.Primitive
 
overlaps(Interval) - Method in class edu.mit.sketch.system.Interval
 
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

packagePermissions - Variable in class edu.mit.sketch.uml.UMLMethod
 
packagePermissions - Variable in class edu.mit.sketch.uml.UMLProperty
 
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(boolean, Graphics) - Method in class edu.mit.sketch.uml.Sketchable
 
paint(Graphics) - Method in class edu.mit.sketch.ddg.StrokeInput
Paint the stroke as geometric parts.
paint(Graphics) - Method in class edu.mit.sketch.ddlcompiler.GraphFrame
 
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.StrokeData
Paint
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.SketchPad
 
paint(Graphics) - Method in class edu.mit.sketch.ui.TabletGUIBehavior
Overloaded for double buffering.
paint(Graphics) - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
paint(Graphics) - Method in class edu.mit.sketch.uml.UMLStroke
 
paint(Graphics, int) - Method in class edu.mit.sketch.geom.Rectangle
Draw the object
paint(Point[], Graphics) - Static method in class edu.mit.sketch.geom.Point
paint points.
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.ddg.DomainDescriptionGenerator
Paint the window
paintComponent(Graphics) - Method in class edu.mit.sketch.system.SurfaceView
Paint the items on the appropriate graphics context.
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.
paintDrag(Graphics, boolean) - Method in class edu.mit.sketch.uml.UMLLink
 
paintDrawn(Graphics) - Method in class edu.mit.sketch.uml.UMLLink
 
paintDrawn(Graphics) - Method in class edu.mit.sketch.uml.UMLObject
 
paintDrawn(Graphics) - Method in class edu.mit.sketch.uml.UMLInterface
 
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
paintGeometricWidget(Graphics, GeometricObject) - Method in class edu.mit.sketch.system.GeometricRenderer
To print a geometric item we simply call it's paint method with the given context.
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
paintInterpreted(Graphics) - Method in class edu.mit.sketch.uml.UMLLink
 
paintInterpreted(Graphics) - Method in class edu.mit.sketch.uml.UMLObject
 
paintInterpreted(Graphics) - Method in class edu.mit.sketch.uml.UMLInterface
 
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
paintPartialRecognition(PartialRecognitionNode[]) - Method in class edu.mit.sketch.ddlcompiler.PartialRecognitionGraphVisualizer
 
paintRaw(Graphics) - Method in class edu.mit.sketch.ddg.StrokeInput
Paint the raw stroke
paintSpeed(double[], double[]) - Method in class edu.mit.sketch.ui.JointDisplay
updata the panel
paintStroke(Graphics, BBStroke) - Method in class edu.mit.sketch.system.SquiggleRenderer
 
paintStrokes(Graphics) - Method in class edu.mit.sketch.uml.Sketchable
 
paintStrokes(Graphics, StrokeBased) - Method in class edu.mit.sketch.system.SquiggleRenderer
 
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
PARALLEL - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
 
PARALLEL - Static variable in interface edu.mit.sketch.ddlcompiler.DDLParserConstants
 
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.
ParallelConstraintNode - class edu.mit.sketch.ddlcompiler.ParallelConstraintNode.
Parsing can be thought of as generating and AST.
ParallelConstraintNode(String, String) - Constructor for class edu.mit.sketch.ddlcompiler.ParallelConstraintNode
 
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
ParseException - exception edu.mit.sketch.ddlcompiler.ParseException.
This exception is thrown when parse errors are encountered.
ParseException() - Constructor for class edu.mit.sketch.ddlcompiler.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for class edu.mit.sketch.ddlcompiler.ParseException
 
ParseException(Token, int[][], String[]) - Constructor for class edu.mit.sketch.ddlcompiler.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
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
PartialRecognitionEdge - class edu.mit.sketch.ddlcompiler.PartialRecognitionEdge.
 
PartialRecognitionEdge(PartialRecognitionNode, PartialRecognitionNode, int, boolean) - Constructor for class edu.mit.sketch.ddlcompiler.PartialRecognitionEdge
The method call string which uses arg*_instance instead of arg*
PartialRecognitionGraph - class edu.mit.sketch.ddlcompiler.PartialRecognitionGraph.
A graph structure for representing partial recognition.
PartialRecognitionGraph() - Constructor for class edu.mit.sketch.ddlcompiler.PartialRecognitionGraph
 
PartialRecognitionGraph(PartialRecognitionNode[], PartialRecognitionEdge[]) - Constructor for class edu.mit.sketch.ddlcompiler.PartialRecognitionGraph
 
PartialRecognitionGraphVisualizer - class edu.mit.sketch.ddlcompiler.PartialRecognitionGraphVisualizer.
A graph structure for representing partial recognition w/visualization.
PartialRecognitionGraphVisualizer() - Constructor for class edu.mit.sketch.ddlcompiler.PartialRecognitionGraphVisualizer
 
PartialRecognitionGraphVisualizer(PartialRecognitionNode[], PartialRecognitionEdge[]) - Constructor for class edu.mit.sketch.ddlcompiler.PartialRecognitionGraphVisualizer
 
PartialRecognitionNode - class edu.mit.sketch.ddlcompiler.PartialRecognitionNode.
 
PartialRecognitionNode(int) - Constructor for class edu.mit.sketch.ddlcompiler.PartialRecognitionNode
The constructor
PartialRecognitionTester - class edu.mit.sketch.ddlcompiler.PartialRecognitionTester.
See the end of the file for the log of changes.
PartialRecognitionTester() - Constructor for class edu.mit.sketch.ddlcompiler.PartialRecognitionTester
 
paths - Variable in class edu.mit.sketch.toolkit.ObjectManager
 
pen_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
PERPENDICULAR - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
 
PERPENDICULAR - Static variable in interface edu.mit.sketch.ddlcompiler.DDLParserConstants
 
PerpendicularConstraintNode - class edu.mit.sketch.ddlcompiler.PerpendicularConstraintNode.
Parsing can be thought of as generating and AST.
PerpendicularConstraintNode(String, String) - Constructor for class edu.mit.sketch.ddlcompiler.PerpendicularConstraintNode
 
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 class edu.mit.sketch.ddg.Primitive
 
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 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.Polygon
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 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.Polygon
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
get the points inside
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.system.PrimitiveTypes
 
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.
popStack() - Method in class edu.mit.sketch.system.Scheduler
 
POSITIVE_SLOPE - Static variable in class edu.mit.sketch.ddg.LinePropertyConstraint
 
postProcessingStep() - Method in class edu.mit.sketch.system.Scheduler
Ask if this particular scheduler has a post processing process to run.
postProcessingStep() - Method in class edu.mit.sketch.system.StageBasedScheduler
 
prepareTrainingData() - Method in class edu.mit.sketch.ui.GestureGUI
addExample
Primitive - class edu.mit.sketch.ddg.Primitive.
An abstract geometric primitive that is part of an object description
primitive() - Method in class edu.mit.sketch.ddg.ConstraintGraphEdge
Get primitive.
Primitive(int, String) - Constructor for class edu.mit.sketch.ddg.Primitive
Constructs the primitive of the type and name
PrimitiveMapping - class edu.mit.sketch.ddg.PrimitiveMapping.
Represents a one to one mapping between primitives of two different object descriptions.
PrimitiveMapping() - Constructor for class edu.mit.sketch.ddg.PrimitiveMapping
Construct an empty mapping
PrimitiveMapping(PrimitiveMapping) - Constructor for class edu.mit.sketch.ddg.PrimitiveMapping
Construct a mapping the same as a given one
primitives() - Method in class edu.mit.sketch.ddg.ObjectDescription
Return the list of primitives for this object
PrimitiveTypes - class edu.mit.sketch.system.PrimitiveTypes.
Created: Mon Mar 4 09:59:51 2002
Copyright: Copyright (C) 2002 by MIT.
PrimitiveTypes() - Constructor for class edu.mit.sketch.system.PrimitiveTypes
 
primToGeomParts() - Method in class edu.mit.sketch.ddg.ObjectDescription
Returns the correspondence of primitives to geom parts from the user example stroke that this description was based on
PRINT_DETAILS - Static variable in class edu.mit.sketch.ddg.ObjectDescription
Print the confidence and the relevance of the constraint, when printing out the constraint graph
print() - Method in class edu.mit.sketch.ddg.Constraint
Print constraint graph
print() - Method in class edu.mit.sketch.ddg.Primitive
Print the description of the primitive (like "line l2") on a separate line
print() - Method in class edu.mit.sketch.ddg.ObjectDescription
Print the description of the object.
print() - Method in class edu.mit.sketch.ddg.ConstraintGraph
Print the constraint graph
print(Graphics, PageFormat, int) - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
print(Primitive) - Method in class edu.mit.sketch.ddg.ConstraintGraphEdgeList
Print the edges.
print(Primitive) - Method in class edu.mit.sketch.ddg.ConstraintGraphEdge
Print the edge.
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.
printMe() - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
printPoints() - Method in class edu.mit.sketch.uml.UMLStroke
 
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
privatePermissions - Variable in class edu.mit.sketch.uml.UMLMethod
 
privatePermissions - Variable in class edu.mit.sketch.uml.UMLProperty
 
process(Scheduler, Blackboard) - Method in interface edu.mit.sketch.system.SchedulerItem
The method that gets called when this item is run.
process(Scheduler, Blackboard) - Method in class edu.mit.sketch.system.InterpretationChooser
Gets the interpretation index and mutates it so it contains the current best set of interpretations.
processing - Variable in class edu.mit.sketch.ui.TabletGUI
 
program_strokes - Variable in class edu.mit.sketch.uml.UMLCreateUMLChecker
 
properties - Variable in class edu.mit.sketch.uml.UMLClass
 
Property - class edu.mit.sketch.system.Property.
A property is a numeric measure of some aspect of a item or pair of items.
Property(BBItemType, List, Object, Blackboard) - Constructor for class edu.mit.sketch.system.Property
 
PropertyHolder - class edu.mit.sketch.system.PropertyHolder.
A container to hold a pointer to a property.
propertySize() - Method in class edu.mit.sketch.uml.UMLClass
 
protectedPermissions - Variable in class edu.mit.sketch.uml.UMLMethod
 
protectedPermissions - Variable in class edu.mit.sketch.uml.UMLProperty
 
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
publicPermissions - Variable in class edu.mit.sketch.uml.UMLMethod
 
publicPermissions - Variable in class edu.mit.sketch.uml.UMLProperty
 

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
RATE_BY_RELEVANCE - Static variable in class edu.mit.sketch.ddg.ObjectDescription
Some constraints are more relevant then others.
RationalRoseGenerator - class edu.mit.sketch.uml.RationalRoseGenerator.
RationalRoseGenerator.java Created: Sat Dec 08 15:47:51 2001
RationalRoseGenerator() - Constructor for class edu.mit.sketch.uml.RationalRoseGenerator
 
readChar() - Static method in class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
readyToProcess() - Method in class edu.mit.sketch.system.Scheduler
Look at the new user inputs to the blackboard (in the BBItemHandler) and decide whether they are worth processing at this stage.
readyToProcess() - Method in class edu.mit.sketch.system.StageBasedScheduler
Very simple mechanism.
RECOGNITION_MODE - Static variable in class edu.mit.sketch.toolkit.ObjectManager
 
recognizeAndGateWithFocusAndResumePartialRecognition(SpatialDatabase, Rectangle, boolean[]) - Method in class edu.mit.sketch.ddlcompiler.AndGateParser
 
recognizeLine(Vector) - Method in class edu.mit.sketch.uml.MetinRecognizer
 
recognizeStrokes() - Method in class edu.mit.sketch.uml.UMLDeleteLinkChecker
 
recognizeStrokes() - Method in class edu.mit.sketch.uml.UMLStrokeCollection
 
recognizeStrokes() - Method in class edu.mit.sketch.uml.UMLCreateUMLChecker
 
recognizeStrokes() - Method in class edu.mit.sketch.uml.UMLDeleteInterfaceChecker
 
recognizeStrokes() - Method in class edu.mit.sketch.uml.UMLDeleteUnrecognizedChecker
 
recognizeStrokes() - Method in class edu.mit.sketch.uml.UMLDeleteObjectChecker
 
recomputeDraw() - Method in class edu.mit.sketch.uml.UMLLink
 
recordSubobjects(Vector) - Method in class edu.mit.sketch.ddg.ObjectDescription
Find in this object and record subobjects from a given list (of ObjectDescriptions).
RecPackage - class edu.mit.sketch.system.RecPackage.
This class parses and transports knowledge sources and shape descriptions associated with a given package.
RecPackage(String) - Constructor for class edu.mit.sketch.system.RecPackage
 
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.
redo() - Method in class edu.mit.sketch.uml.UMLProgramHistory
 
redoProgram() - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
ReInit(DDLParserTokenManager) - Method in class edu.mit.sketch.ddlcompiler.DDLParser
 
ReInit(InputStream) - Method in class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
ReInit(InputStream) - Static method in class edu.mit.sketch.ddlcompiler.DDLParser
 
ReInit(InputStream, int, int) - Method in class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
ReInit(InputStream, int, int, int) - Method in class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
ReInit(Reader) - Method in class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
ReInit(Reader) - Static method in class edu.mit.sketch.ddlcompiler.DDLParser
 
ReInit(Reader, int, int) - Method in class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
ReInit(Reader, int, int, int) - Method in class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
ReInit(SimpleCharStream) - Static method in class edu.mit.sketch.ddlcompiler.DDLParserTokenManager
 
ReInit(SimpleCharStream, int) - Static method in class edu.mit.sketch.ddlcompiler.DDLParserTokenManager
 
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
relevance() - Method in class edu.mit.sketch.ddg.ConstraintGraphEdge
Get relevance
relevance(Primitive, Primitive) - Method in class edu.mit.sketch.ddg.Constraint
Return the relevance of the constraint.
relevance(Primitive, Primitive) - Method in class edu.mit.sketch.ddg.ConstraintGraph
Return the relevance of the constraint Returns 0 if the edge is not present.
REMOVE_EXCLUSIVE - Static variable in class edu.mit.sketch.ddg.ObjectDescription
Some constraints are exclusive in human perception (example: the lines either "meet" or "connect").
REMOVE_LOW_CONFIDENCE - Static variable in class edu.mit.sketch.ddg.ObjectDescription
Remove constraints based on thresholding just on confidence.
REMOVE_REDUNDANT - Static variable in class edu.mit.sketch.ddg.ObjectDescription
Remove constraints that can be geometrically derived from others because they are redundant.
REMOVE_UNCERTAIN - Static variable in class edu.mit.sketch.ddg.ObjectDescription
Remove constraints based on thresholding on a combination of confidence and relevance of a constraint (confidence*relevance).
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
removeEdge(int) - Method in class edu.mit.sketch.ddg.ConstraintGraphEdgeList
Remove an edge at a given index.
removeEdge(Primitive) - Method in class edu.mit.sketch.ddg.ConstraintGraphEdgeList
Remove and edge to a given primitive and return it.
removeEdge(Primitive, Primitive) - Method in class edu.mit.sketch.ddg.ConstraintGraph
Remove and edge between two given primitives and return it.
removeExclusiveConstraints() - Method in class edu.mit.sketch.ddg.ObjectDescription
Remove constraints that are perceptually exclusive.
removeHoldsBetween(Primitive, Primitive) - Method in class edu.mit.sketch.ddg.Constraint
Remove an edge from the constraint graph
removeInterface(UMLInterface) - Method in class edu.mit.sketch.uml.UMLProgram
 
removeInterpretation(BBItem) - Method in class edu.mit.sketch.system.InterpretationIndex
 
removeKnowledgeSources(String) - Method in class edu.mit.sketch.system.KnowledgeSourceManager
Remove a package of knowledge sources.
removeLink(UMLLink) - Method in class edu.mit.sketch.uml.UMLProgram
 
removeLowConfidence() - Method in class edu.mit.sketch.ddg.Constraint
Remove constraints that are below the LOW_CONFIDENCE_THRESHOLD in confidence
removeLowConfidenceConstraints() - Method in class edu.mit.sketch.ddg.ObjectDescription
Remove constraints that are below the LOW_CONFIDENCE_THRESHOLD in confidence
removeObject(Object) - Method in class edu.mit.sketch.toolkit.ObjectManager
Removes the argument object from the objects Vector.
removeObject(UMLObject) - Method in class edu.mit.sketch.uml.UMLProgram
 
removePair(Primitive, Primitive) - Method in class edu.mit.sketch.ddg.PrimitiveMapping
Remove a pair.
removePath(Object) - Method in class edu.mit.sketch.toolkit.ObjectManager
Removes the argument object from the objects Vector.
removeRedundantConstraints() - Method in class edu.mit.sketch.ddg.ObjectDescription
Remove constraints that are redundant (derivable from others).
removeRedundantEndPoints(Vertex[]) - Method in class edu.mit.sketch.toolkit.StrokeData
Remove the redundant at the beginning and the end.
removeStroke(UMLStroke) - Method in class edu.mit.sketch.uml.UMLProgram
 
removeStrokeDataListener(StrokeDataListener) - Method in class edu.mit.sketch.ui.SketchPanel
 
removeUncertain() - Method in class edu.mit.sketch.ddg.Constraint
Remove constraints that are below the UNCERTAIN_THRESHOLD in combined confidence and relevance
removeUncertainConstraints() - Method in class edu.mit.sketch.ddg.ObjectDescription
Remove constraints that are below the UNCERTAIN_THRESHOLD in combined confidence and relevance
RenameNode - class edu.mit.sketch.ddlcompiler.RenameNode.
Parsing can be thought of as generating and AST.
RenameNode(String, String, ArrayList) - Constructor for class edu.mit.sketch.ddlcompiler.RenameNode
s This constructor takes a list of ComponentNodes and extracts the type information regarding the old (renamed) identifier.
RenameNode(String, String, String) - Constructor for class edu.mit.sketch.ddlcompiler.RenameNode
Constructor
render(Graphics, BBSketchItem) - Method in class edu.mit.sketch.system.SquiggleRenderer
This method tries to render the given item.
render(Graphics, BBSketchItem) - Method in class edu.mit.sketch.system.GeometricRenderer
If the item is a GeometricWidget then render it otherwise defer to our parent class.
render(Graphics, Collection) - Method in class edu.mit.sketch.system.SquiggleRenderer
 
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
reset() - Method in class edu.mit.sketch.ui.SketchPad
 
resetOriginalPoints() - Method in class edu.mit.sketch.uml.UMLStroke
 
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 interface edu.mit.sketch.ddlcompiler.DDLParserConstants
 
RIGHT - Static variable in class edu.mit.sketch.geom.SpatialRelation
| | | | ___|___|___ | | | | X ___|___|___ | | | | | |
RIGHT_CENTERED - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
 
RightConstraintNode - class edu.mit.sketch.ddlcompiler.RightConstraintNode.
Parsing can be thought of as generating and AST.
RightConstraintNode(String, String) - Constructor for class edu.mit.sketch.ddlcompiler.RightConstraintNode
 
rightOfLine(double, double, double, double, double) - Static method in class edu.mit.sketch.uml.S_UMLLine
Given a line, represented by slope m, and y-intercept b, does a point, represented by x,y, fall to the right of the line by at least a certain amount (the error).
rightOfLine(Line, Point, double) - Static method in class edu.mit.sketch.uml.S_UMLLine
 
rightOfLine(Point, double, double, double) - Static method in class edu.mit.sketch.uml.S_UMLLine
Given a line, represented by slope m, and y-intercept b, does a point, represented by x,y, fall to the right of the line by at least a certain amount (the error).
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.
rotatePoint(Point, double) - Static method in class edu.mit.sketch.uml.S_UMLPoint
Returns the point rotated by an angle
rotatePoints(double) - Method in class edu.mit.sketch.uml.UMLStroke
 
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
runTheSystem() - Method in class edu.mit.sketch.system.SketchSystem
 

S

S_UMLLine - class edu.mit.sketch.uml.S_UMLLine.
This class is a collection of static methods that are commonly used when doing line computations.
S_UMLLine() - Constructor for class edu.mit.sketch.uml.S_UMLLine
 
S_UMLPoint - class edu.mit.sketch.uml.S_UMLPoint.
This class is a collection of static methods that are commonly used when doing point computations.
S_UMLPoint() - Constructor for class edu.mit.sketch.uml.S_UMLPoint
 
SAME_LENGTH - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
 
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
saveSymbol() - Method in class edu.mit.sketch.ddg.DomainDescriptionGenerator
Store and print the object description
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
Scheduler - class edu.mit.sketch.system.Scheduler.
The scheduler is in charge of choosing the next action from the queue to execute.
Scheduler(BlackboardSystem) - Constructor for class edu.mit.sketch.system.Scheduler
 
SchedulerItem - interface edu.mit.sketch.system.SchedulerItem.
The interface for items that can go onto the scheduler's process stack.
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.
SemanticObject - class edu.mit.sketch.system.SemanticObject.
Created: Wed Mar 6 17:16:25 2002
Copyright: Copyright (C) 2002 by MIT.
SemanticObject(GeometricObject) - Constructor for class edu.mit.sketch.system.SemanticObject
 
sendLetter(String) - Method in interface edu.mit.sketch.uml.interfaces.LetterSink
 
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.
setA(Point) - Method in class edu.mit.sketch.uml.UMLLineWithLabel
 
setALabel(int) - Method in class edu.mit.sketch.uml.UMLLineWithLabel
 
setB(Point) - Method in class edu.mit.sketch.uml.UMLLineWithLabel
 
setBLabel(int) - Method in class edu.mit.sketch.uml.UMLLineWithLabel
 
setCode(String) - Method in class edu.mit.sketch.uml.UMLMethod
 
setColor(Color) - Method in class edu.mit.util.DotIcon
 
setConfidence(double) - Method in class edu.mit.sketch.ddg.ConstraintGraphEdge
Set confidence
setConfidence(Primitive, Primitive, double) - Method in class edu.mit.sketch.ddg.Constraint
Change the confidence of the constraint
setConfidence(Primitive, Primitive, double) - Method in class edu.mit.sketch.ddg.ConstraintGraph
Change the confidence of the constraint
setConstraints(boolean[]) - Method in class edu.mit.sketch.ddlcompiler.PartialRecognitionGraph
 
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
 
setDebugStream(PrintStream) - Static method in class edu.mit.sketch.ddlcompiler.DDLParserTokenManager
 
setDragging(boolean) - Method in class edu.mit.sketch.uml.UMLStroke
 
setDrawable(boolean) - Method in class edu.mit.sketch.uml.UMLStroke
 
setDrawnABCDE(Point, Point, Point, Point, Point) - Method in class edu.mit.sketch.uml.UMLLink
 
setDrawOriginal(boolean) - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
setDrawPanel(UMLDrawPanel) - Method in class edu.mit.sketch.uml.UMLMenuBar
 
setEnd(UMLClass) - Method in class edu.mit.sketch.uml.UMLLink
 
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.
setHeight(int) - Method in class edu.mit.sketch.uml.UMLObject
 
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.
setLevel(int) - Static method in class edu.mit.sketch.uml.Debug
sets the debug level
setLineLabel(int) - Method in class edu.mit.sketch.uml.UMLLineWithLabel
 
setLinkType(int) - Method in class edu.mit.sketch.uml.UMLLink
 
setMethods(Vector) - Method in class edu.mit.sketch.uml.UMLClass
 
setName(String) - Method in class edu.mit.sketch.system.BBItem
Sets the value of name
setName(String) - Method in class edu.mit.sketch.uml.UMLClass
 
setName(String) - Method in class edu.mit.sketch.uml.UMLMethod
 
setName(String) - Method in class edu.mit.sketch.uml.UMLProperty
 
setOriginalPoints(int, int, int, int) - Method in class edu.mit.sketch.uml.UMLLink
 
setPermissions(int) - Method in class edu.mit.sketch.uml.UMLMethod
 
setPrimitive(Primitive) - Method in class edu.mit.sketch.ddg.ConstraintGraphEdge
Set primitive
setProgram(UMLProgram) - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
setProperties(Vector) - Method in class edu.mit.sketch.uml.UMLClass
 
setRadius(int) - Method in class edu.mit.sketch.uml.UMLInterface
 
setReadable(int) - Method in class edu.mit.sketch.uml.UMLProperty
 
setRecognitionMode(boolean) - Method in class edu.mit.sketch.ui.TabletDataProcessor
Disable or enable recognition process by turning mouse event listening off or on.
setRecognized(boolean) - Method in class edu.mit.sketch.uml.UMLStroke
 
setRectangle(Rectangle) - Method in class edu.mit.sketch.geom.Rectangle
setRectangle
setRelevance(double) - Method in class edu.mit.sketch.ddg.ConstraintGraphEdge
Set relevance
setRelevance(Primitive, Primitive, double) - Method in class edu.mit.sketch.ddg.Constraint
Change the relevance of the constraint
setRelevance(Primitive, Primitive, double) - Method in class edu.mit.sketch.ddg.ConstraintGraph
Change the relevance of the constraint
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
setScheduler(Scheduler) - Method in class edu.mit.sketch.system.BlackboardSystem
Set the scheduler object.
setSemanticObject(SemanticObject) - Method in class edu.mit.sketch.system.BBSketchItem
 
setSize(int, int, int) - Method in class edu.mit.sketch.uml.UMLInterface
 
setSize(int, int, int, int) - Method in class edu.mit.sketch.uml.UMLObject
 
setStart(UMLClass) - Method in class edu.mit.sketch.uml.UMLLink
 
setStatusMessage(String) - Static method in class edu.mit.sketch.ui.TabletGUI
Set the status bar label text to the input string.
setStrokeColor(Color) - Method in class edu.mit.sketch.system.SurfaceView
Sets the stroke's color
setStrokeList(String, int) - Method in class edu.mit.sketch.toolkit.ControlModule
Add the hybrid fits to the list
setStrokes(Vector) - Method in class edu.mit.sketch.uml.Sketchable
 
setStrokesUndrawable() - Method in class edu.mit.sketch.uml.Sketchable
 
setStrokeThickness(int) - Method in class edu.mit.sketch.system.SurfaceView
Sets the thickness of rendered strokes.
setTest(boolean) - Method in class edu.mit.sketch.uml.UMLInterface
 
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
setUMLClassParent(UMLClass) - Method in class edu.mit.sketch.uml.UMLProperty
 
setUMLParent(UMLClass) - Method in class edu.mit.sketch.uml.UMLMethod
 
setWidth(int) - Method in class edu.mit.sketch.uml.UMLObject
 
setWindingRule(int) - Method in class edu.mit.sketch.geom.GeneralPath
Implement methods for extension of java.awt.geom.GeneralPath
setWriteable(int) - Method in class edu.mit.sketch.uml.UMLProperty
 
setX(int) - Method in class edu.mit.sketch.uml.UMLClass
 
setX(int) - Method in class edu.mit.sketch.uml.UMLObject
 
setY(int) - Method in class edu.mit.sketch.uml.UMLClass
 
setY(int) - Method in class edu.mit.sketch.uml.UMLObject
 
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.
shiftInterface(UMLInterface, int, int) - Method in class edu.mit.sketch.uml.UMLProgram
 
shiftObject(UMLObject, int, int) - Method in class edu.mit.sketch.uml.UMLProgram
 
shiftPoint(Point, int, int) - Static method in class edu.mit.sketch.uml.S_UMLPoint
Returns the point horizontally by shift_x and vertically by shift_y
shiftPoints(int, int) - Method in class edu.mit.sketch.uml.UMLStroke
 
shiftSketchEnd(int, int) - Method in class edu.mit.sketch.uml.UMLLink
 
shiftSketchPoints(int, int) - Method in class edu.mit.sketch.uml.Sketchable
 
shiftSketchStart(int, int) - Method in class edu.mit.sketch.uml.UMLLink
 
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
 
showFrame() - Method in class edu.mit.sketch.uml.UMLClass
 
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.
SimpleCharStream - class edu.mit.sketch.ddlcompiler.SimpleCharStream.
An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
SimpleCharStream(InputStream) - Constructor for class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
SimpleCharStream(InputStream, int, int) - Constructor for class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
SimpleCharStream(InputStream, int, int, int) - Constructor for class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
SimpleCharStream(Reader) - Constructor for class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
SimpleCharStream(Reader, int, int) - Constructor for class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
SimpleCharStream(Reader, int, int, int) - Constructor for class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
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
Sketchable - class edu.mit.sketch.uml.Sketchable.
 
Sketchable() - Constructor for class edu.mit.sketch.uml.Sketchable
 
SketchItemIndex - class edu.mit.sketch.system.SketchItemIndex.
This provides an index of sketch items that can be accessed either by time, or space, or some combination of these indexes.
SketchItemIndex() - Constructor for class edu.mit.sketch.system.SketchItemIndex
 
SketchItemIndex(SketchItemIndex) - Constructor for class edu.mit.sketch.system.SketchItemIndex
 
SketchPad - class edu.mit.sketch.ui.SketchPad.
A sketchpad for collecting and saving data.
SketchPad() - Constructor for class edu.mit.sketch.ui.SketchPad
 
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
 
SketchSystem - class edu.mit.sketch.system.SketchSystem.
This is the kick start to get things going.
SketchSystem() - Constructor for class edu.mit.sketch.system.SketchSystem
 
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.
specialConstructor - Variable in class edu.mit.sketch.ddlcompiler.ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialToken - Variable in class edu.mit.sketch.ddlcompiler.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
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
 
SQUIGGLE - Static variable in class edu.mit.sketch.system.PrimitiveTypes
 
SquiggleRenderer - class edu.mit.sketch.system.SquiggleRenderer.
SquiggleRenderer is responsible for rendering squiggle objects.
SquiggleRenderer() - Constructor for class edu.mit.sketch.system.SquiggleRenderer
 
StageBasedScheduler - class edu.mit.sketch.system.StageBasedScheduler.
I am calling this the Stage Based Scheduler because it chooses what knowledge source to run next in order of stages of processing that they pertain to.
StageBasedScheduler(BlackboardSystem) - Constructor for class edu.mit.sketch.system.StageBasedScheduler
 
staticFlag - Static variable in class edu.mit.sketch.ddlcompiler.SimpleCharStream
 
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.toolkit.LoadStoreModule
Store string to the given file.
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.toolkit.LoadStoreModule
Store Terminals and NonTerminals in objects 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, List) - Static method in class edu.mit.sketch.toolkit.LoadStoreModule
Store arrays of vertices 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
 
StrokeBased - interface edu.mit.sketch.system.StrokeBased.
Indicate that this object is based on a collection of strokes and provides acess to those strokes (as a Collection of StrokeData objects).
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.
StrokeInput - class edu.mit.sketch.ddg.StrokeInput.
StrokeInput contains the raw stroke drawn by the user and it's interpretation as simple geometric parts.
StrokeInput(StrokeData) - Constructor for class edu.mit.sketch.ddg.StrokeInput
Constructor interprets the raw stroke as geometric parts: for now just a polyline
strokesJoined(Vector) - Method in class edu.mit.sketch.uml.UMLCreateUMLChecker
Checks if head points are close to one another.
strokesLength() - Method in class edu.mit.sketch.uml.UMLCreateUMLChecker
Returns the total length of a bunch of strokes
strokesSize() - Method in class edu.mit.sketch.uml.UMLProgram
 
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.
subobjectPrimitiveMappingAll(ObjectDescription) - Method in class edu.mit.sketch.ddg.ObjectDescription
Find ALL mapping between the primitives of this object and the primitives of the target template object, assuming that the target object is a subobject (Example: find a rectangle in the symbol for the house).
subobjects() - Method in class edu.mit.sketch.ddg.ObjectDescription
Return the list of subobjects for this object
SurfaceView - class edu.mit.sketch.system.SurfaceView.
This is the core class responsible for displaying the information currently on the BB to the user.
SurfaceView() - Constructor for class edu.mit.sketch.system.SurfaceView
 
swapPoints() - Method in class edu.mit.sketch.geom.Line
Swaps the first and the secons points.
SwitchTo(int) - Static method in class edu.mit.sketch.ddlcompiler.DDLParserTokenManager
 
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
 
tabify(int) - Static method in class edu.mit.sketch.ddlcompiler.DDLParser
 
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.
tellAboutHistory() - Method in class edu.mit.sketch.uml.UMLProgramHistory
 
Template - class edu.mit.sketch.system.Template.
A template defines the items and the properties/conditions that describe a new item.
Template(BBItemType) - Constructor for class edu.mit.sketch.system.Template
 
TemplateIndex - class edu.mit.sketch.system.TemplateIndex.
This class indexes Templates by the types of their slots.
TemplateIndex() - Constructor for class edu.mit.sketch.system.TemplateIndex
 
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
 
toDecleration() - Method in class edu.mit.sketch.ddlcompiler.RenameNode
The decleration string.
toDecleration() - Method in class edu.mit.sketch.ddlcompiler.DerivedPropertyNode
The decleration string.
toDecleration() - Method in class edu.mit.sketch.ddlcompiler.ComponentNode
The decleration string.
toDecleration(String, ArrayList) - Static method in class edu.mit.sketch.ddlcompiler.ComponentNode
The decleration string.
toDecleration(String, ComponentNode[]) - Static method in class edu.mit.sketch.ddlcompiler.ComponentNode
The decleration string.
toDeclerationAndDerivedPropertyStatement() - Method in class edu.mit.sketch.ddlcompiler.DerivedPropertyNode
The decleration and derived_property string.
toDeclerationAndRenameStatement() - Method in class edu.mit.sketch.ddlcompiler.RenameNode
The decleration and rename string.
toDerivedPropertyStatement() - Method in class edu.mit.sketch.ddlcompiler.DerivedPropertyNode
The decleration string.
toggle() - Method in class edu.mit.sketch.ui.TabletGUIBehavior
toggle the state related with showing the parsed objects.
toInstanceDecleration() - Method in class edu.mit.sketch.ddlcompiler.ComponentNode
The decleration string.
toInstanceMethodCall() - Method in class edu.mit.sketch.ddlcompiler.ConstraintNode
The method call string which uses arg*_instance instead of arg*
toInstanceMethodCall() - Method in class edu.mit.sketch.ddlcompiler.RightConstraintNode
The method call string which uses arg*_instance instead of arg*
toInstanceMethodCall() - Method in class edu.mit.sketch.ddlcompiler.BelowConstraintNode
The method call string which uses arg*_instance instead of arg*
toInstanceMethodCall() - Method in class edu.mit.sketch.ddlcompiler.UpperRightConstraintNode
The method call string which uses arg*_instance instead of arg*
toInstanceMethodCall() - Method in class edu.mit.sketch.ddlcompiler.LeftConstraintNode
The method call string which uses arg*_instance instead of arg*
toInstanceMethodCall() - Method in class edu.mit.sketch.ddlcompiler.PerpendicularConstraintNode
The method call string which uses arg*_instance instead of arg*
toInstanceMethodCall() - Method in class edu.mit.sketch.ddlcompiler.LowerRightConstraintNode
The method call string which uses arg*_instance instead of arg*
toInstanceMethodCall() - Method in class edu.mit.sketch.ddlcompiler.MeetConstraintNode
The method call string which uses arg*_instance instead of arg*
toInstanceMethodCall() - Method in class edu.mit.sketch.ddlcompiler.AngleConstraintNode
The method call string which uses arg*_instance instead of arg*
toInstanceMethodCall() - Method in class edu.mit.sketch.ddlcompiler.AttachedConstraintNode
The method call string which uses arg*_instance instead of arg*
toInstanceMethodCall() - Method in class edu.mit.sketch.ddlcompiler.TouchConstraintNode
The method call string which uses arg*_instance instead of arg*
toInstanceMethodCall() - Method in class edu.mit.sketch.ddlcompiler.AboveConstraintNode
The method call string which uses arg*_instance instead of arg*
toInstanceMethodCall() - Method in class edu.mit.sketch.ddlcompiler.UpperLeftConstraintNode
The method call string which uses arg*_instance instead of arg*
toInstanceMethodCall() - Method in class edu.mit.sketch.ddlcompiler.LowerLeftConstraintNode
The method call string which uses arg*_instance instead of arg*
toInstanceMethodCall() - Method in class edu.mit.sketch.ddlcompiler.ParallelConstraintNode
The method call string which uses arg*_instance instead of arg*
token - Static variable in class edu.mit.sketch.ddlcompiler.DDLParser
 
Token - class edu.mit.sketch.ddlcompiler.Token.
Describes the input token stream.
token_source - Static variable in class edu.mit.sketch.ddlcompiler.DDLParser
 
Token() - Constructor for class edu.mit.sketch.ddlcompiler.Token
 
tokenImage - Variable in class edu.mit.sketch.ddlcompiler.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
tokenImage - Static variable in interface edu.mit.sketch.ddlcompiler.DDLParserConstants
 
TokenMgrError - error edu.mit.sketch.ddlcompiler.TokenMgrError.
 
TokenMgrError() - Constructor for class edu.mit.sketch.ddlcompiler.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for class edu.mit.sketch.ddlcompiler.TokenMgrError
 
TokenMgrError(String, int) - Constructor for class edu.mit.sketch.ddlcompiler.TokenMgrError
 
toMethodCall() - Method in class edu.mit.sketch.ddlcompiler.ConstraintNode
The method call string.
toMethodCall() - Method in class edu.mit.sketch.ddlcompiler.RightConstraintNode
The method call string.
toMethodCall() - Method in class edu.mit.sketch.ddlcompiler.BelowConstraintNode
The method call string.
toMethodCall() - Method in class edu.mit.sketch.ddlcompiler.UpperRightConstraintNode
The method call string.
toMethodCall() - Method in class edu.mit.sketch.ddlcompiler.LeftConstraintNode
The method call string.
toMethodCall() - Method in class edu.mit.sketch.ddlcompiler.PerpendicularConstraintNode
The method call string.
toMethodCall() - Method in class edu.mit.sketch.ddlcompiler.LowerRightConstraintNode
The method call string.
toMethodCall() - Method in class edu.mit.sketch.ddlcompiler.MeetConstraintNode
The method call string.
toMethodCall() - Method in class edu.mit.sketch.ddlcompiler.AngleConstraintNode
The method call string.
toMethodCall() - Method in class edu.mit.sketch.ddlcompiler.AttachedConstraintNode
The method call string.
toMethodCall() - Method in class edu.mit.sketch.ddlcompiler.TouchConstraintNode
The method call string.
toMethodCall() - Method in class edu.mit.sketch.ddlcompiler.AboveConstraintNode
The method call string.
toMethodCall() - Method in class edu.mit.sketch.ddlcompiler.UpperLeftConstraintNode
The method call string.
toMethodCall() - Method in class edu.mit.sketch.ddlcompiler.LowerLeftConstraintNode
The method call string.
toMethodCall() - Method in class edu.mit.sketch.ddlcompiler.ParallelConstraintNode
The method call string.
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
toRenameStatement() - Method in class edu.mit.sketch.ddlcompiler.RenameNode
The decleration string.
toString() - Method in class edu.mit.sketch.ddg.Primitive
String description of the primitive (like "line l2") - includes both type and name
toString() - Method in class edu.mit.sketch.ddlcompiler.ConstraintNode
The string representation.
toString() - Method in class edu.mit.sketch.ddlcompiler.RightConstraintNode
The string representation.
toString() - Method in class edu.mit.sketch.ddlcompiler.BelowConstraintNode
The string representation.
toString() - Method in class edu.mit.sketch.ddlcompiler.UpperRightConstraintNode
The string representation.
toString() - Method in class edu.mit.sketch.ddlcompiler.LeftConstraintNode
The string representation.
toString() - Method in class edu.mit.sketch.ddlcompiler.PartialRecognitionEdge
The string representation.
toString() - Method in class edu.mit.sketch.ddlcompiler.PerpendicularConstraintNode
The string representation.
toString() - Method in class edu.mit.sketch.ddlcompiler.RenameNode
The string representation.
toString() - Method in class edu.mit.sketch.ddlcompiler.LowerRightConstraintNode
The string representation.
toString() - Method in class edu.mit.sketch.ddlcompiler.MeetConstraintNode
The string representation.
toString() - Method in interface edu.mit.sketch.ddlcompiler.ASTNode
 
toString() - Method in class edu.mit.sketch.ddlcompiler.AngleConstraintNode
The string representation.
toString() - Method in class edu.mit.sketch.ddlcompiler.PartialRecognitionNode
The string representation.
toString() - Method in class edu.mit.sketch.ddlcompiler.AttachedConstraintNode
The string representation.
toString() - Method in class edu.mit.sketch.ddlcompiler.DerivedPropertyNode
The string representation.
toString() - Method in class edu.mit.sketch.ddlcompiler.Token
Returns the image.
toString() - Method in class edu.mit.sketch.ddlcompiler.ComponentNode
The string representation.
toString() - Method in class edu.mit.sketch.ddlcompiler.TouchConstraintNode
The string representation.
toString() - Method in class edu.mit.sketch.ddlcompiler.AboveConstraintNode
The string representation.
toString() - Method in class edu.mit.sketch.ddlcompiler.UpperLeftConstraintNode
The string representation.
toString() - Method in class edu.mit.sketch.ddlcompiler.LowerLeftConstraintNode
The string representation.
toString() - Method in class edu.mit.sketch.ddlcompiler.ParallelConstraintNode
The string representation.
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.Range
Override toString
toString() - Method in class edu.mit.sketch.geom.Ellipse
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.system.KnowledgeSource
Just use the name of the KS as its printable representation.
toString() - Method in class edu.mit.sketch.system.BBItem
 
toString() - Method in class edu.mit.sketch.system.BBItemId
 
toString() - Method in class edu.mit.sketch.system.Blackboard
 
toString() - Method in class edu.mit.sketch.system.BlackboardSystem
 
toString() - Method in class edu.mit.sketch.system.BBItemType
 
toString() - Method in class edu.mit.sketch.system.PropertyHolder
 
toString() - Method in class edu.mit.sketch.system.ObjectHolder
 
toString() - Method in class edu.mit.sketch.toolkit.Fit
Implement toString()
toString() - Method in class edu.mit.sketch.uml.UMLMethod
 
toString() - Method in class edu.mit.sketch.uml.UMLProperty
 
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
totalStrokesLength - Variable in class edu.mit.sketch.uml.UMLCreateUMLChecker
 
TouchConstraintNode - class edu.mit.sketch.ddlcompiler.TouchConstraintNode.
Parsing can be thought of as generating and AST.
TouchConstraintNode(String, String) - Constructor for class edu.mit.sketch.ddlcompiler.TouchConstraintNode
 
TOUCHES - Static variable in interface edu.mit.sketch.ddlcompiler.DDLParserConstants
 
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 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.Polygon
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.
translatePoints(Point, double, int, int) - Method in class edu.mit.sketch.uml.UMLStroke
 
trigger(BBItemHandler, Blackboard) - Method in class edu.mit.sketch.system.KnowledgeSource
A function which takes the new BBItems and the Blackboard itself and returns (in constant time, relative to the stuff on the BB) a collection of Scheduler Items which are the triggered knowledge sources.
trigger(BBItemHandler, Blackboard) - Method in class edu.mit.sketch.system.LowLevelKS
Simply trigger off of a stroke.
trigger(BBItemHandler, Blackboard) - Method in class edu.mit.sketch.system.BottomUpTemplateFiller
 
trigger(BBItemHandler, Blackboard) - Method in class edu.mit.sketch.system.BottomUpTemplateCreatorKS
 
triggerKSs(Collection) - Method in class edu.mit.sketch.system.Scheduler
 
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
 
type() - Method in class edu.mit.sketch.ddg.Primitive
Type of the primitive (like "line" in "line l2")

U

UML - class edu.mit.sketch.uml.UML.
 
UML() - Constructor for class edu.mit.sketch.uml.UML
 
UMLArrowChecker - class edu.mit.sketch.uml.UMLArrowChecker.
 
UMLArrowChecker(Vector) - Constructor for class edu.mit.sketch.uml.UMLArrowChecker
 
UMLArrowChecker(Vector, int) - Constructor for class edu.mit.sketch.uml.UMLArrowChecker
 
UMLAttachLinkChecker - class edu.mit.sketch.uml.UMLAttachLinkChecker.
 
UMLAttachLinkChecker() - Constructor for class edu.mit.sketch.uml.UMLAttachLinkChecker
 
UMLClass - class edu.mit.sketch.uml.UMLClass.
 
UMLClass() - Constructor for class edu.mit.sketch.uml.UMLClass
 
UMLControlPanel - class edu.mit.sketch.uml.UMLControlPanel.
 
UMLControlPanel() - Constructor for class edu.mit.sketch.uml.UMLControlPanel
 
UMLCreateInterfaceChecker - class edu.mit.sketch.uml.UMLCreateInterfaceChecker.
 
UMLCreateInterfaceChecker(Vector) - Constructor for class edu.mit.sketch.uml.UMLCreateInterfaceChecker
 
UMLCreateLinkChecker - class edu.mit.sketch.uml.UMLCreateLinkChecker.
 
UMLCreateLinkChecker(Vector) - Constructor for class edu.mit.sketch.uml.UMLCreateLinkChecker
 
UMLCreateObjectChecker - class edu.mit.sketch.uml.UMLCreateObjectChecker.
 
UMLCreateObjectChecker(UMLStrokeCollection) - Constructor for class edu.mit.sketch.uml.UMLCreateObjectChecker
 
UMLCreateUMLChecker - class edu.mit.sketch.uml.UMLCreateUMLChecker.
 
UMLCreateUMLChecker() - Constructor for class edu.mit.sketch.uml.UMLCreateUMLChecker
 
UMLDeleteInterfaceChecker - class edu.mit.sketch.uml.UMLDeleteInterfaceChecker.
 
UMLDeleteInterfaceChecker(UMLProgram, Vector) - Constructor for class edu.mit.sketch.uml.UMLDeleteInterfaceChecker
 
UMLDeleteLinkChecker - class edu.mit.sketch.uml.UMLDeleteLinkChecker.
Checks if the last stroke deleted a link
UMLDeleteLinkChecker(UMLProgram, Vector, boolean) - Constructor for class edu.mit.sketch.uml.UMLDeleteLinkChecker
 
UMLDeleteObjectChecker - class edu.mit.sketch.uml.UMLDeleteObjectChecker.
 
UMLDeleteObjectChecker(UMLProgram, Vector) - Constructor for class edu.mit.sketch.uml.UMLDeleteObjectChecker
 
UMLDeleteUnrecognizedChecker - class edu.mit.sketch.uml.UMLDeleteUnrecognizedChecker.
 
UMLDeleteUnrecognizedChecker(UMLProgram, Vector) - Constructor for class edu.mit.sketch.uml.UMLDeleteUnrecognizedChecker
 
UMLDrawPanel - class edu.mit.sketch.uml.UMLDrawPanel.
 
UMLDrawPanel(UMLFrame) - Constructor for class edu.mit.sketch.uml.UMLDrawPanel
 
UMLInterface - class edu.mit.sketch.uml.UMLInterface.
 
UMLInterface(String, int, int, int) - Constructor for class edu.mit.sketch.uml.UMLInterface
 
UMLLineWithLabel - class edu.mit.sketch.uml.UMLLineWithLabel.
UMLLineWithLabel.java Created: Sat Dec 08 21:47:34 2001
UMLLineWithLabel(Line, double) - Constructor for class edu.mit.sketch.uml.UMLLineWithLabel
 
UMLLink - class edu.mit.sketch.uml.UMLLink.
 
UMLLink(UMLClass, UMLClass) - Constructor for class edu.mit.sketch.uml.UMLLink
 
UMLLink(UMLClass, UMLClass, int) - Constructor for class edu.mit.sketch.uml.UMLLink
 
UMLMenuBar - class edu.mit.sketch.uml.UMLMenuBar.
 
UMLMenuBar.DrawnStrokesListener - class edu.mit.sketch.uml.UMLMenuBar.DrawnStrokesListener.
Listener to alternate between interpreted and drawn strokes
UMLMenuBar.DrawnStrokesListener(UMLMenuBar) - Constructor for class edu.mit.sketch.uml.UMLMenuBar.DrawnStrokesListener
 
UMLMenuBar.EditProjectDescriptionListener - class edu.mit.sketch.uml.UMLMenuBar.EditProjectDescriptionListener.
 
UMLMenuBar.EditProjectDescriptionListener(UMLMenuBar) - Constructor for class edu.mit.sketch.uml.UMLMenuBar.EditProjectDescriptionListener
 
UMLMenuBar.EditProjectTitleListener - class edu.mit.sketch.uml.UMLMenuBar.EditProjectTitleListener.
 
UMLMenuBar.EditProjectTitleListener(UMLMenuBar) - Constructor for class edu.mit.sketch.uml.UMLMenuBar.EditProjectTitleListener
 
UMLMenuBar.ProduceRoseListener - class edu.mit.sketch.uml.UMLMenuBar.ProduceRoseListener.
 
UMLMenuBar.ProduceRoseListener(UMLMenuBar) - Constructor for class edu.mit.sketch.uml.UMLMenuBar.ProduceRoseListener
 
UMLMenuBar() - Constructor for class edu.mit.sketch.uml.UMLMenuBar
 
UMLMethod - class edu.mit.sketch.uml.UMLMethod.
 
UMLMethod(String, UMLClass) - Constructor for class edu.mit.sketch.uml.UMLMethod
 
UMLMethod(String, UMLClass, int) - Constructor for class edu.mit.sketch.uml.UMLMethod
 
UMLObject - class edu.mit.sketch.uml.UMLObject.
 
UMLObject(String, int, int, int, int) - Constructor for class edu.mit.sketch.uml.UMLObject
 
UMLObjectTextChecker - class edu.mit.sketch.uml.UMLObjectTextChecker.
Checks if a collection of strokes is text in an object.
UMLObjectTextChecker(UMLStrokeCollection) - Constructor for class edu.mit.sketch.uml.UMLObjectTextChecker
 
UMLPointVector - class edu.mit.sketch.uml.UMLPointVector.
 
UMLPointVector(Vector) - Constructor for class edu.mit.sketch.uml.UMLPointVector
 
UMLProgram - class edu.mit.sketch.uml.UMLProgram.
 
UMLProgram() - Constructor for class edu.mit.sketch.uml.UMLProgram
 
UMLProgramHistory - class edu.mit.sketch.uml.UMLProgramHistory.
This class holds the program history and provides the means to allow users to undo and redo their work.
UMLProgramHistory() - Constructor for class edu.mit.sketch.uml.UMLProgramHistory
 
UMLProjectPanel - class edu.mit.sketch.uml.UMLProjectPanel.
 
UMLProjectPanel() - Constructor for class edu.mit.sketch.uml.UMLProjectPanel
 
UMLProperty - class edu.mit.sketch.uml.UMLProperty.
 
UMLProperty(String, UMLClass) - Constructor for class edu.mit.sketch.uml.UMLProperty
 
UMLProperty(String, UMLClass, int) - Constructor for class edu.mit.sketch.uml.UMLProperty
 
UMLProperty(String, UMLClass, int, int) - Constructor for class edu.mit.sketch.uml.UMLProperty
 
UMLSaveProgram - class edu.mit.sketch.uml.UMLSaveProgram.
UMLSaveProgram.java Created: Wed Nov 21 17:15:30 2001
UMLSaveProgram(UMLProgram) - Constructor for class edu.mit.sketch.uml.UMLSaveProgram
takes program to save
UMLStroke - class edu.mit.sketch.uml.UMLStroke.
 
UMLStroke(int, int) - Constructor for class edu.mit.sketch.uml.UMLStroke
 
UMLStroke(Point) - Constructor for class edu.mit.sketch.uml.UMLStroke
 
UMLStroke(Point, UMLProgram) - Constructor for class edu.mit.sketch.uml.UMLStroke
 
UMLStrokeCollection - class edu.mit.sketch.uml.UMLStrokeCollection.
Holds a collection of strokes and performs operations on them so that these operations are not performed more than once.
UMLStrokeCollection(Vector, UMLProgram) - Constructor for class edu.mit.sketch.uml.UMLStrokeCollection
 
unbind() - Method in class edu.mit.sketch.system.Holder
Stop refering to the BBItem that was previously referred to.
unbind(String) - Method in class edu.mit.sketch.system.Template
Unbind the given pattern variable.
UNCERTAIN_THRESHOLD - Static variable in class edu.mit.sketch.ddg.ObjectDescription
Threshold of uncertainty (confidence*relevance)
undo_menu - Variable in class edu.mit.sketch.ui.TabletGUI
 
undo() - Method in class edu.mit.sketch.toolkit.ObjectManager
A very primitive undo
undo() - Method in class edu.mit.sketch.uml.UMLProgramHistory
 
undoProgram() - Method in class edu.mit.sketch.uml.UMLDrawPanel
 
undoStroke() - Method in class edu.mit.sketch.ddg.DomainDescriptionGenerator
Undo the previos stroke
union(Rectangle) - Method in class edu.mit.sketch.geom.Rectangle
Return the rectangularBounds of the union of this rectangle and the argument.
UNKNOWN - Static variable in class edu.mit.sketch.ddg.Primitive
 
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.
update(Observable, Object) - Method in class edu.mit.sketch.system.SurfaceView
This is called when the BB is updated and wants to update the display.
update(Observable, Object) - Method in class edu.mit.sketch.system.BBMonitor
When the blackboard is updated it will tell us about it so that we can schedule the appropriate activities.
updateElement(int, String) - Method in interface edu.mit.sketch.uml.interfaces.ElementCatcher
 
updateHeight(int) - Method in class edu.mit.sketch.uml.UMLObject
 
updateItems(Blackboard) - Method in class edu.mit.sketch.system.SurfaceView
 
updateWidth(int) - Method in class edu.mit.sketch.uml.UMLObject
 
UPPER_LEFT - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
 
UPPER_LEFT - Static variable in interface edu.mit.sketch.ddlcompiler.DDLParserConstants
 
UPPER_LEFT - Static variable in class edu.mit.sketch.geom.SpatialRelation
| | X | | ___|___|___ | | | | ___|___|___ | | | | | |
UPPER_RIGHT - Static variable in class edu.mit.sketch.ddg.LineRelationshipConstraint
 
UPPER_RIGHT - Static variable in interface edu.mit.sketch.ddlcompiler.DDLParserConstants
 
UPPER_RIGHT - Static variable in class edu.mit.sketch.geom.SpatialRelation
| | | | X ___|___|___ | | | | ___|___|___ | | | | | |
UpperLeftConstraintNode - class edu.mit.sketch.ddlcompiler.UpperLeftConstraintNode.
Parsing can be thought of as generating and AST.
UpperLeftConstraintNode(String, String) - Constructor for class edu.mit.sketch.ddlcompiler.UpperLeftConstraintNode
 
UpperRightConstraintNode - class edu.mit.sketch.ddlcompiler.UpperRightConstraintNode.
Parsing can be thought of as generating and AST.
UpperRightConstraintNode(String, String) - Constructor for class edu.mit.sketch.ddlcompiler.UpperRightConstraintNode
 
usesMember(String) - Method in class edu.mit.sketch.ddlcompiler.ConstraintNode
Return true if a member variable of this constraint has the same name as the input string.
usesMember(String) - Method in class edu.mit.sketch.ddlcompiler.RightConstraintNode
Return true if a member variable of this constraint has the same name as the input string.
usesMember(String) - Method in class edu.mit.sketch.ddlcompiler.BelowConstraintNode
Return true if a member variable of this constraint has the same name as the input string.
usesMember(String) - Method in class edu.mit.sketch.ddlcompiler.UpperRightConstraintNode
Return true if a member variable of this constraint has the same name as the input string.
usesMember(String) - Method in class edu.mit.sketch.ddlcompiler.LeftConstraintNode
Return true if a member variable of this constraint has the same name as the input string.
usesMember(String) - Method in class edu.mit.sketch.ddlcompiler.PerpendicularConstraintNode
Return true if a member variable of this constraint has the same name as the input string.
usesMember(String) - Method in class edu.mit.sketch.ddlcompiler.LowerRightConstraintNode
Return true if a member variable of this constraint has the same name as the input string.
usesMember(String) - Method in class edu.mit.sketch.ddlcompiler.MeetConstraintNode
Return true if a member variable of this constraint has the same name as the input string.
usesMember(String) - Method in class edu.mit.sketch.ddlcompiler.AngleConstraintNode
Return true if a member variable of this constraint has the same name as the input string.
usesMember(String) - Method in class edu.mit.sketch.ddlcompiler.AttachedConstraintNode
Return true if a member variable of this constraint has the same name as the input string.
usesMember(String) - Method in class edu.mit.sketch.ddlcompiler.TouchConstraintNode
Return true if a member variable of this constraint has the same name as the input string.
usesMember(String) - Method in class edu.mit.sketch.ddlcompiler.AboveConstraintNode
Return true if a member variable of this constraint has the same name as the input string.
usesMember(String) - Method in class edu.mit.sketch.ddlcompiler.UpperLeftConstraintNode
Return true if a member variable of this constraint has the same name as the input string.
usesMember(String) - Method in class edu.mit.sketch.ddlcompiler.LowerLeftConstraintNode
Return true if a member variable of this constraint has the same name as the input string.
usesMember(String) - Method in class edu.mit.sketch.ddlcompiler.ParallelConstraintNode
Return true if a member variable of this constraint has the same name as the input string.
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.
VERTICAL - Static variable in class edu.mit.sketch.ddg.LinePropertyConstraint
 
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..
ViewController - class edu.mit.sketch.system.ViewController.
This class handles the user events from the surface.
ViewController(BlackboardSystem, SurfaceView) - Constructor for class edu.mit.sketch.system.ViewController
 
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
 
withinInterface(int, int, boolean) - Method in class edu.mit.sketch.uml.UMLProgram
 
withinInterface(int, int, boolean) - Method in class edu.mit.sketch.uml.UMLInterface
 
withinLinkHead(int, int, boolean) - Method in class edu.mit.sketch.uml.UMLProgram
 
withinLinkTail(int, int, boolean) - Method in class edu.mit.sketch.uml.UMLProgram
 
withinObject(int, int, boolean) - Method in class edu.mit.sketch.uml.UMLProgram
 
withinObject(int, int, boolean) - Method in class edu.mit.sketch.uml.UMLObject
 
Write(OutputStream) - Method in class edu.mit.sketch.util.GIFEncoder
Writes the image out to a stream in the GIF file format.

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