|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.ximtec.igesture.core.Result
public class Result
A single result of the recognition process.
| Constructor Summary | |
|---|---|
Result(GestureClass gestureClass,
double accuracy)
Constructs a new result. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Result(GestureClass gestureClass,
double accuracy)
gestureClass - the recognised gesture class.accuracy - the accuracy for the recognised gesture class.| Method Detail |
|---|
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()
public String toString()
toString in class Object
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||