OsvrInterfaceLibrary.java 1.3 KB

123456789101112131415161718192021222324
  1. package com.jme3.system.osvr.osvrinterface;
  2. import com.jme3.system.osvr.osvrclientkit.OsvrClientKitLibrary.OSVR_ClientInterface;
  3. import com.jme3.system.osvr.osvrclientreporttypes.OSVR_Pose3;
  4. import com.jme3.system.osvr.osvrtimevalue.OSVR_TimeValue;
  5. import com.sun.jna.Library;
  6. import com.sun.jna.Native;
  7. import com.sun.jna.NativeLibrary;
  8. /**
  9. * JNA Wrapper for library <b>osvrInterface</b><br>
  10. * This file was autogenerated by <a href="http://jnaerator.googlecode.com/">JNAerator</a>,<br>
  11. * a tool written by <a href="http://ochafik.com/">Olivier Chafik</a> that <a href="http://code.google.com/p/jnaerator/wiki/CreditsAndLicense">uses a few opensource projects.</a>.<br>
  12. * For help, please visit <a href="http://nativelibs4java.googlecode.com/">NativeLibs4Java</a> , <a href="http://rococoa.dev.java.net/">Rococoa</a>, or <a href="http://jna.dev.java.net/">JNA</a>.
  13. */
  14. public class OsvrInterfaceLibrary implements Library {
  15. public static final String JNA_LIBRARY_NAME = "osvrClientKit";
  16. public static final NativeLibrary JNA_NATIVE_LIB = NativeLibrary.getInstance(OsvrInterfaceLibrary.JNA_LIBRARY_NAME);
  17. static {
  18. Native.register(OsvrInterfaceLibrary.class, OsvrInterfaceLibrary.JNA_NATIVE_LIB);
  19. }
  20. /** Manually added */
  21. public static native byte osvrGetPoseState(OSVR_ClientInterface iface, OSVR_TimeValue timestamp, OSVR_Pose3 state);
  22. }