|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.ximtec.igesture.util.additions3d.RecordedGesture3D
public class RecordedGesture3D
| Constructor Summary | |
|---|---|
RecordedGesture3D()
Constructor |
|
RecordedGesture3D(List<Point3D> points)
Constructor |
|
| Method Summary | |
|---|---|
void |
add(Point3D point)
Adds a point to the gesture |
void |
addAll(List<Point3D> points)
Adds a list of points to the gesture |
Object |
clone()
Clones a recordedgesture3D. |
Point3D |
get(int index)
Returns point by index |
Accelerations |
getAccelerations()
Returns the list of acceleration data from this gesture |
long |
getDuration()
Returns the duration of the gesture |
Point3D |
getEndPoint()
Returns the end point of the gesture |
List<Point3D> |
getPoints()
Returns the list of points |
Point3D |
getStartPoint()
Returns the start point of the gesture |
void |
handle(Object invoker,
org.sigtec.ink.input.TimestampedInputEvent timestampedEvent)
|
boolean |
hasTimestamp()
Returns true if the optional timestamp is available for all the points the trace contains. |
Iterator<Point3D> |
iterator()
Returns an Iterator on points |
void |
remove(Point3D point)
Removes a point from the gesture |
void |
setAccelerations(Accelerations accelerations)
Sets an accelerations list for this gesture |
void |
setPoints(List<Point3D> pointsList)
Sets a points list for this gesture |
int |
size()
Returns the size of the points list |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RecordedGesture3D()
public RecordedGesture3D(List<Point3D> points)
points - A list of Point3D to be set as the position data of this
RecordedGesture3D| Method Detail |
|---|
public void add(Point3D point)
point - The Point3D to be added to the gesturepublic void addAll(List<Point3D> points)
points - The list of points to be added to the gesturepublic void remove(Point3D point)
point - The point to be removed from the gesturepublic Iterator<Point3D> iterator()
public Point3D get(int index)
index - The index of the point to be returned
public List<Point3D> getPoints()
public int size()
public Point3D getStartPoint()
public Point3D getEndPoint()
public long getDuration()
public boolean hasTimestamp()
public void handle(Object invoker,
org.sigtec.ink.input.TimestampedInputEvent timestampedEvent)
handle in interface org.sigtec.input.InputHandlerpublic Accelerations getAccelerations()
public void setAccelerations(Accelerations accelerations)
accelerations - The accelerations list WiiAccelerations objectpublic void setPoints(List<Point3D> pointsList)
pointsList - The points listpublic Object clone()
clone in class Object
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||