Bob, I've made steady progress integrating my code into Jmol. I've split it up into a few classes. They are moleK - embeds a Jmol viewer for my testing purposes and as an example org.jmol.multitouch.JmolOpenNIAdapter extends JmolMultiTouchClientAdapter - adapter between OpenNI and Jmol org.jmol.multitouch.HandTracker - encapsulates OpenNI hand tracking functionality org.jmol.multitouch.ImageCapture - encapsulates OpenNI image capture functionality org.jmol.multitouch.DtwGestureRecognizer - external gesture recognizer
Concerns: 1) In JmolOpenNIAdapter, I need to know the width and height of the Jmol view. I can't seem to figure out how to get them. 2) In JmolOpenNIAdapter.doAction(), I make calls to a JmolViewer to perform scripting operations. Is this an acceptable way to do it? Is this the best way to do it? The good news is that doAction() is the only place JmolOpenNIAdapter touches Jmol, so it shouldn't be too hard to switch implementations. As I continue to refine, I'm going to start looking at invoking NITE-specific functionality, which can provide more gestures and more sophisticated user tracking. Regards, Benn ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers