public class Result extends Object
| Constructor and Description |
|---|
Result(GestureClass gestureClass,
double accuracy)
Constructs a new result.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getAccuracy()
Returns the accuracy for the gesture class of this result object.
|
GestureClass |
getGestureClass()
Returns the result gesture class.
|
String |
getGestureClassName()
Returns the name of the gesture class represented by this result or an
empty string if no gesture class is associated with this result object.
|
Object |
getUserObject()
Returns a user object.
|
void |
setAccuracy(double accuracy)
Sets the accuracy for the gesture class of this result object.
|
void |
setGestureClass(GestureClass gestureClass) |
void |
setUserObject(Object userObject)
Sets a user object.
|
String |
toString() |
public Result(GestureClass gestureClass, double accuracy)
gestureClass - the recognised gesture class.accuracy - the accuracy for the recognised gesture class.public void setAccuracy(double accuracy)
accuracy - the accuracy for the gesture class of this result object.public double getAccuracy()
public GestureClass getGestureClass()
public void setGestureClass(GestureClass gestureClass)
gestureClass - the gestureClass to setpublic void setUserObject(Object userObject)
userObject - the user object to be set.public Object getUserObject()
public String getGestureClassName()
Copyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.