|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.ximtec.igesture.algorithm.rubine3d.tools.Gesture3DTool
public class Gesture3DTool
| Constructor Summary | |
|---|---|
Gesture3DTool(String gestureSetName)
|
|
| Method Summary | |
|---|---|
void |
addCurrentGestureSampleToGestureClass(String setName,
String className)
Adds the gesture sample that is read by the WiiReader reader to the Sample3DDescriptor in gesture class with name className in gesture set with name setName. |
void |
addGestureClass(String setName,
String className)
Adds a new gesture class with name className to a gesture set with name setName |
void |
addGestureSet(String setName)
Adds a new GestureSet with name setName to the database |
void |
disconnectWiiMote()
Disconnects the wiimote |
List<Gesture<RecordedGesture3D>> |
getGestureSamples(String setName,
String className)
Returns a list of gesture samples from gesture class with name className from gesture set with name setName |
GestureSet |
getGestureSet(String setName)
Returns GestureSet with name setName from the database |
List<GestureSet> |
getGestureSets()
Returns a list of all the GestureSets in the database |
WiiReaderPanel |
getWiiReaderPanel()
Returns the panel of the WiiReader in this controller |
void |
initWiiMote()
Initialises the WiiReader |
void |
recognise(String setName)
Recognises the current gesture from the WiiReader against the gesture set with name setName |
void |
removeClass(String setName,
String className)
Removes the gesture class with name className from gesture set with name setName in storage |
void |
removeSample(String setName,
String className,
int sampleNumber)
Removes Sample with the number sampleNumber from the gesture class with name className from gesture set with name setName |
void |
removeSet(String setName)
Removes the gesture set with name setName from storage |
void |
setUI(Gesture3DToolUI ui)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Gesture3DTool(String gestureSetName)
| Method Detail |
|---|
public void initWiiMote()
public void disconnectWiiMote()
public void setUI(Gesture3DToolUI ui)
public WiiReaderPanel getWiiReaderPanel()
public void addGestureSet(String setName)
setName - The name of the new GestureSetpublic List<GestureSet> getGestureSets()
public GestureSet getGestureSet(String setName)
setName - The name of the GestureSet that is to be retrieved
public void addGestureClass(String setName,
String className)
setName - className -
public void addCurrentGestureSampleToGestureClass(String setName,
String className)
setName - The name of the gesture set that contains the gesture classclassName - The name of the gesture class the sample should be added to
public List<Gesture<RecordedGesture3D>> getGestureSamples(String setName,
String className)
setName - The name of the gesture set to look inclassName - The name of the gesture class to look in
public void recognise(String setName)
setName - the set to be recognised against
public void removeSample(String setName,
String className,
int sampleNumber)
setName - className - sampleNumber - public void removeSet(String setName)
setName -
public void removeClass(String setName,
String className)
setName - className -
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||