
Kinect Chapter 10. Gesture GUIs

From the website:

  Kinect Open Source Programming Secrets
  http://fivedots.coe.psu.ac.th/~ad/kinect/

  Dr. Andrew Davison
  Dept. of Computer Engineering
  Prince of Songkla University
  Hat yai, Songkhla 90112, Thailand
  E-mail: ad@fivedots.coe.psu.ac.th


If you use this code, please mention my name, and include a link
to the website.

Thanks,
  Andrew

============================

This directory contains 12 Java files:
  * TestGestureGUIs.java, GGUIsManager.java, CameraPanel.java,
    ButtonPanel.java, DialPanel.java, SliderPanel.java,
    GestureGUIPanel.java, VerticalLayout.java, ComponentInfo.java,
    ButtonInfo.java, DialInfo.java, SliderInfo.java


There is 1 subdirectory containing GGUI graphics (15 PNG files):
  * images/

Two batch files:
  *  compile.bat
  *  run.bat
     - make sure they refer to the correct location for OpenNI and NITE;

----------------------------
Before Compilation/Execution:

You need to download and install:
    1.	OpenNI
    2.	SensorKinect driver
    3.	NITE

For details, read section 3 of Chapter 2, or installInfo.txt
in this directory.

----------------------------
Compilation:

> compile *.java
    // you must have OpenNI, the SensorKinect driver, and NITE installed;

----------------------------
Execution:

> run TestGestureGUIs

    // you must have OpenNI, the SensorKinect driver, and NITE installed;

    // you start with a "click" focus gesture --
       push the flat of your hand at the Kinect (in the same way as a "push"
       gesture), or by waving

    // move your hand over a GGUI component and wait for 2 seconds for it to
       enter the pressed state; information will be printed to the 
       command window

    // hand refocusing is done with a click, wave, or hand raising,
       and the application will resume

    // you can use the keys ESC, 'q', and ctrl-c to terminate the application


---------------------------------
Last updated: 8th December 2011
