Reader small image

You're reading from  Leap Motion Development Essentials

Product typeBook
Published inOct 2013
PublisherPackt
ISBN-139781849697729
Edition1st Edition
Right arrow
Author (1)
Mischa Spiegelmock
Mischa Spiegelmock
author image
Mischa Spiegelmock

Mischa Spiegelmock is an accomplished software engineer from the San Francisco Bay Area. Slightly infamous from light-hearted technical pranks from his youth, he is now a respectable CTO at a healthcare software startup. His passions are architecting elegant and useful programs and sharing his insights into software design with others in a straightforward and entertaining fashion.
Read more about Mischa Spiegelmock

Right arrow

Summary


Thanks to our driver abstraction layer and opaque window references, we can write our code that deals with the controller and performs platform-specific manipulations, and yet is set up to be ported to other operating systems easily, just by implementing the proper driver methods and specifying which source files to compile.

A number of useful modules for creating portable Leap applications with few dependencies are additionally provided by the SDK in the util directory. LeapUtil.h contains a limited but practical set of math-related routines for motion and geometry, smart pointer generics, and a generic camera class that can be used with any sort of 3D. In addition, engine.LeapScene.h has utilities for tracking visible objects and geometric primitives in a virtual environment, and has convenience methods for computing pointable ray intersections with scene objects, as well as tracking interactions such as object selection and transformations. Lastly, LeapUtilGL.h gives us a small...

lock icon
The rest of the page is locked
Previous PageNext Chapter
You have been reading a chapter from
Leap Motion Development Essentials
Published in: Oct 2013Publisher: PacktISBN-13: 9781849697729

Author (1)

author image
Mischa Spiegelmock

Mischa Spiegelmock is an accomplished software engineer from the San Francisco Bay Area. Slightly infamous from light-hearted technical pranks from his youth, he is now a respectable CTO at a healthcare software startup. His passions are architecting elegant and useful programs and sharing his insights into software design with others in a straightforward and entertaining fashion.
Read more about Mischa Spiegelmock