edu.stanford.hci.r3.pen.gesture
Class Gesture
java.lang.Object
edu.stanford.hci.r3.pen.gesture.Gesture
public class Gesture
- extends java.lang.Object
Constructor Summary |
Gesture(java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Gesture
public Gesture(java.lang.String name)
addGesture
public void addGesture(ShapeContext context)
averageMatch
public double averageMatch(ShapeContext context)
bestMatch
public double bestMatch(ShapeContext context)
determineClassParameters
public void determineClassParameters()
knnMatch
public void knnMatch(ShapeContext context,
int k,
double[] distance,
java.lang.String[] clazz,
boolean verbose)
quillWrite
public void quillWrite(java.io.Writer writer)
throws java.io.IOException
- Throws:
java.io.IOException
size
public int size()