|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wiigee.logic.Gesture
public class Gesture
This class represents ONE movement trajectory in a concrete instance.
| Constructor Summary | |
|---|---|
Gesture()
Create an empty Gesture. |
|
Gesture(Gesture original)
Make a deep copy of another Gesture object. |
|
| Method Summary | |
|---|---|
void |
add(AccelerationEvent event)
Adds a new acceleration event to this gesture. |
int |
getCountOfData()
|
java.util.Vector<AccelerationEvent> |
getData()
Returns the whole chronological sequence of accelerations as a vector. |
AccelerationEvent |
getLastData()
Returns the last acceleration added to this gesture. |
double |
getMaxAcceleration()
|
double |
getMinAcceleration()
|
void |
removeFirstData()
Removes the first element of the acceleration queue of a gesture |
void |
setMaxAndMinAcceleration(double max,
double min)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Gesture()
public Gesture(Gesture original)
original - Another Gesture object| Method Detail |
|---|
public void add(AccelerationEvent event)
event - The WiimoteAccelerationEvent to add.public AccelerationEvent getLastData()
public java.util.Vector<AccelerationEvent> getData()
public void removeFirstData()
public int getCountOfData()
public void setMaxAndMinAcceleration(double max,
double min)
public double getMaxAcceleration()
public double getMinAcceleration()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||