In a nutshell, the Leap motion tracking device detects and tracks hands and fingers placed within its field of view. The Leap captures this data one frame at a time. Your applications can use the Leap API to access this data.
The sample application demonstrates how to use the Leap API to listen for frame events dispatched by the Leap and how to access the hand and finger data in each frame. The application is a small command-line program that prints information about detected hands and fingers to standard output. The application is contained in a single file, Sample.cs.
The sample application uses most of the key classes in the Leap API, including:
Controller — the interface between the Leap and your application
Need to turn this into an object that can work as a mouse pointer
Listener — used to handle events dispatched by the Leap – no change
Frame — contains a set of hand and finger tracking data – need to whittle it down to one finger
Hand — contains tracking data for a detected hand – no change
Finger — contains tracking data for a detected finger – this is where the magic comes in.
Vector — represents a 3D position or directional vector – no change
Gesture — represents a recognized gesture. – Need to write a library of gestures.
For more detailed information about these classes, pleases refer to the Leap API reference documentation.