| Constructor and Description |
|---|
Note3D()
Constructor
|
Note3D(List<Point3D> points)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
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 note3D.
|
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
|
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 returnedpublic 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 listCopyright © 2007-2012 Global Information Systems Group, ETH Zurich. All Rights Reserved.