SketchToPaperUI Class Reference

List of all members.

Public Member Functions

 SketchToPaperUI ()
void addPenListener (PenListener penListener)
 Other modules, like a Flash GUI, can listen in on the pen samples.
void exit ()
void translate (File strokeFile, String className, File outputFolder)

Detailed Description

Interprets a set of pen strokes, and outputs a paper UI xml file.

This software is distributed under the BSD License.

Author:
Ron B Yeh (ronyeh(AT)cs.stanford.edu)

Definition at line 40 of file SketchToPaperUI.java.


Member Function Documentation

void addPenListener ( PenListener  penListener  ) 

Other modules, like a Flash GUI, can listen in on the pen samples.

Parameters:
penListener 

Definition at line 97 of file SketchToPaperUI.java.

References Pen.addLivePenListener().

Referenced by ToolExplorer.messageReceived().

void translate ( File  strokeFile,
String  className,
File  outputFolder 
)

Parameters:
strokeFile 
className 
outputFolder 
Exceptions:
IOException 

Definition at line 115 of file SketchToPaperUI.java.

References HandwritingRecognitionService.exitServer(), InkStroke.getBounds(), InkStroke.getEnd(), Region.getHeight(), PenSynch.getImportedInk(), InkStroke.getStart(), Region.getWidth(), PenSample.getX(), PenSample.getY(), Region.name, and HandwritingRecognitionService.recognizeHandwriting().


The documentation for this class was generated from the following file:
Generated on Sat Apr 14 18:21:45 2007 for R3 Paper Toolkit by  doxygen 1.4.7