CalibrationEngine Class Reference

List of all members.

Public Member Functions

void alignInkStrokes (Ink streamedInk, Ink batchedInk)

Static Public Member Functions

static void main (String[] args)
 If you run it from the command line, it asks you to provide two xml files (which are then read in to create Ink objects).

Detailed Description

Aligns two Ink objects to determine the clock offset and parameters for our pattern package.

This software is distributed under the BSD License.

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

Definition at line 26 of file CalibrationEngine.java.


Member Function Documentation

void alignInkStrokes ( Ink  streamedInk,
Ink  batchedInk 
)

Parameters:
streamedInk 
batchedInk 

Definition at line 78 of file CalibrationEngine.java.

References InkStroke.getForceSamples(), Ink.getNumStrokes(), Ink.getSourcePageAddress(), Ink.getStrokes(), InkStroke.getTimeSamples(), InkStroke.getXSamples(), and InkStroke.getYSamples().

static void main ( String[]  args  )  [static]

If you run it from the command line, it asks you to provide two xml files (which are then read in to create Ink objects).

Alternatively, you can use this class directly. For example, CalibrationCaptureApp uses it to align two strokes as soon as possible.

Parameters:
args 

Definition at line 35 of file CalibrationEngine.java.


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