© 2006-2007 ETH Zurich

org.ximtec.igesture.util
Class RecordedGesture3DTool

java.lang.Object
  extended by org.ximtec.igesture.util.RecordedGesture3DTool

public class RecordedGesture3DTool
extends Object

Author:
Bjorn Puype, bpuype@gmail.com

Constructor Summary
RecordedGesture3DTool()
           
 
Method Summary
static void paintGesture(RecordedGesture3D gs, Graphics g, int width, int height, boolean drawFieldTitles)
           
static List<Rectangle> paintStructure(Graphics g, int width, int height, boolean drawFieldTitles)
          Draw the fields for the different planes and the accelerations.
static List<Gesture<org.sigtec.ink.Note>> splitToPlanes(RecordedGesture3D gs)
          Splits RecordedGesture3D gesture into three 2D planes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordedGesture3DTool

public RecordedGesture3DTool()
Method Detail

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.

© 2006-2007 ETH Zurich

Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.