org.ximtec.igesture.util
Class RecordedGesture3DTool
java.lang.Object
org.ximtec.igesture.util.RecordedGesture3DTool
public class RecordedGesture3DTool
- extends Object
- Author:
- Bjorn Puype, bpuype@gmail.com
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecordedGesture3DTool
public RecordedGesture3DTool()
paintGesture
public static void paintGesture(RecordedGesture3D gs,
Graphics g,
int width,
int height,
boolean drawFieldTitles)
paintStructure
public static List<Rectangle> paintStructure(Graphics g,
int width,
int height,
boolean drawFieldTitles)
- Draw the fields for the different planes and the accelerations.
splitToPlanes
public static List<Gesture<org.sigtec.ink.Note>> splitToPlanes(RecordedGesture3D gs)
- Splits RecordedGesture3D gesture into three 2D planes. The XY-Plane is
defined as the plane in 3D space where z=0. The YZ-Plane is defined as
the plane in 3D space where x=0. The ZX-Plane is defined as the plane in
3D space where y=0.
- Parameters:
gs -
- Returns:
- The list of 2D gestures that are the planes. First XY, then YZ
and then ZX.
Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.