├── .gitignore
├── JMonkeyVR.jar
├── MANIFEST.MF
├── README.md
├── assets
├── Materials
│ └── BarrelDistortion.j3m
├── Models
│ └── vive_controller.j3o
├── Scenes
│ └── wildhouse.zip
└── Textures
│ ├── Sky
│ └── Bright
│ │ └── spheremap.png
│ ├── crosshair.png
│ ├── handnoise.png
│ ├── happy.png
│ ├── noise.png
│ ├── test.png
│ ├── vive_controller.png
│ └── white.png
├── build.xml
├── jna-4.2.1.jar
├── lwjgl64.dll
├── master-application.jnlp
├── nbproject
├── assets-impl.xml
├── build-impl.xml
├── build-impl.xml~
├── genfiles.properties
├── project.properties
└── project.xml
├── resolution.txt
├── src
├── darwin
│ ├── libopenvr_api.dylib
│ └── libopenvr_api.dylib.dSYM
│ │ ├── Contents
│ │ ├── Info.plist
│ │ └── Resources
│ │ │ └── DWARF
│ │ │ └── libopenvr_api.dylib
│ │ ├── libopenvr_api.dylib
│ │ └── libopenvr_api.dylib.dSYM
│ │ └── Contents
│ │ ├── Info.plist
│ │ └── Resources
│ │ └── DWARF
│ │ └── libopenvr_api.dylib
├── jmevr
│ ├── app
│ │ └── VRApplication.java
│ ├── input
│ │ ├── OSVR.java
│ │ ├── OSVRInput.java
│ │ ├── OpenVR.java
│ │ ├── OpenVRInput.java
│ │ ├── VRAPI.java
│ │ ├── VRBounds.java
│ │ └── VRInputAPI.java
│ ├── post
│ │ ├── CartoonSSAO.java
│ │ ├── OpenVRFilter.java
│ │ └── PreNormalCaching.java
│ ├── shaders
│ │ ├── CartoonSSAO.frag
│ │ ├── CartoonSSAO.j3md
│ │ ├── GuiOverlay.frag
│ │ ├── GuiOverlay.j3md
│ │ ├── GuiOverlay.vert
│ │ ├── GuiOverlay15.frag
│ │ ├── GuiOverlay15.vert
│ │ ├── InstanceVR.glsllib
│ │ ├── OpenVR.frag
│ │ ├── OpenVR.j3md
│ │ ├── OpenVR.vert
│ │ ├── OpenVR15.frag
│ │ ├── OpenVR15.vert
│ │ ├── PostShadowFilter.frag
│ │ ├── PostShadowFilter.j3md
│ │ ├── PostShadowFilter.vert
│ │ ├── Unshaded.frag
│ │ ├── Unshaded.j3md
│ │ ├── Unshaded.vert
│ │ ├── normal.frag
│ │ └── normal.vert
│ ├── shadow
│ │ ├── InstancedDirectionalShadowFilter.java
│ │ └── VRDirectionalLightShadowRenderer.java
│ └── util
│ │ ├── CenterQuad.java
│ │ ├── FilterUtil.java
│ │ ├── MeshUtil.java
│ │ ├── VRGuiManager.java
│ │ ├── VRMouseManager.java
│ │ ├── VRUtil.java
│ │ ├── VRViewManager.java
│ │ ├── gui_mesh.j3o
│ │ ├── gui_mesh.j3odata
│ │ └── mouse.png
├── jopenvr
│ ├── AppOverrideKeys_t.java
│ ├── COpenVRContext.java
│ ├── CameraVideoStreamFrameHeader_t.java
│ ├── Compositor_CumulativeStats.java
│ ├── Compositor_FrameTiming.java
│ ├── Compositor_OverlaySettings.java
│ ├── DistortionCoordinates_t.java
│ ├── HiddenAreaMesh_t.java
│ ├── HmdColor_t.java
│ ├── HmdMatrix34_t.java
│ ├── HmdMatrix44_t.java
│ ├── HmdQuad_t.java
│ ├── HmdQuaternion_t.java
│ ├── HmdRect2_t.java
│ ├── HmdVector2_t.java
│ ├── HmdVector3_t.java
│ ├── HmdVector3d_t.java
│ ├── HmdVector4_t.java
│ ├── JOpenVRLibrary.java
│ ├── NotificationBitmap_t.java
│ ├── RenderModel_ComponentState_t.java
│ ├── RenderModel_ControllerMode_State_t.java
│ ├── RenderModel_TextureMap_t.java
│ ├── RenderModel_Vertex_t.java
│ ├── RenderModel_t.java
│ ├── Texture_t.java
│ ├── TrackedDevicePose_t.java
│ ├── VRControllerAxis_t.java
│ ├── VRControllerState_t.java
│ ├── VREvent_ApplicationLaunch_t.java
│ ├── VREvent_Chaperone_t.java
│ ├── VREvent_Controller_t.java
│ ├── VREvent_Data_t.java
│ ├── VREvent_Ipd_t.java
│ ├── VREvent_Keyboard_t.java
│ ├── VREvent_Mouse_t.java
│ ├── VREvent_Notification_t.java
│ ├── VREvent_Overlay_t.java
│ ├── VREvent_PerformanceTest_t.java
│ ├── VREvent_Process_t.java
│ ├── VREvent_Reserved_t.java
│ ├── VREvent_ScreenshotProgress_t.java
│ ├── VREvent_Screenshot_t.java
│ ├── VREvent_Scroll_t.java
│ ├── VREvent_SeatedZeroPoseReset_t.java
│ ├── VREvent_Status_t.java
│ ├── VREvent_TouchPadMove_t.java
│ ├── VREvent_t.java
│ ├── VROverlayIntersectionParams_t.java
│ ├── VROverlayIntersectionResults_t.java
│ ├── VRTextureBounds_t.java
│ ├── VR_IVRApplications_FnTable.java
│ ├── VR_IVRChaperoneSetup_FnTable.java
│ ├── VR_IVRChaperone_FnTable.java
│ ├── VR_IVRCompositor_FnTable.java
│ ├── VR_IVRExtendedDisplay_FnTable.java
│ ├── VR_IVRNotifications_FnTable.java
│ ├── VR_IVROverlay_FnTable.java
│ ├── VR_IVRRenderModels_FnTable.java
│ ├── VR_IVRResources_FnTable.java
│ ├── VR_IVRScreenshots_FnTable.java
│ ├── VR_IVRSettings_FnTable.java
│ ├── VR_IVRSystem_FnTable.java
│ └── VR_IVRTrackedCamera_FnTable.java
├── linux-x86-64
│ ├── libopenvr_api.so
│ └── libopenvr_api.so.dbg
├── linux-x86
│ ├── libopenvr_api.so
│ └── libopenvr_api.so.dbg
├── osvrclientkit
│ └── OsvrClientKitLibrary.java
├── osvrclientreporttypes
│ ├── OSVR_AccelerationReport.java
│ ├── OSVR_AccelerationState.java
│ ├── OSVR_AnalogReport.java
│ ├── OSVR_AngularAccelerationReport.java
│ ├── OSVR_AngularVelocityReport.java
│ ├── OSVR_ButtonReport.java
│ ├── OSVR_DirectionReport.java
│ ├── OSVR_EyeTracker2DReport.java
│ ├── OSVR_EyeTracker3DReport.java
│ ├── OSVR_EyeTracker3DState.java
│ ├── OSVR_EyeTrackerBlinkReport.java
│ ├── OSVR_IncrementalQuaternion.java
│ ├── OSVR_LinearAccelerationReport.java
│ ├── OSVR_LinearVelocityReport.java
│ ├── OSVR_Location2DReport.java
│ ├── OSVR_NaviPositionReport.java
│ ├── OSVR_NaviVelocityReport.java
│ ├── OSVR_OrientationReport.java
│ ├── OSVR_Pose3.java
│ ├── OSVR_PoseReport.java
│ ├── OSVR_PositionReport.java
│ ├── OSVR_Quaternion.java
│ ├── OSVR_Vec2.java
│ ├── OSVR_Vec3.java
│ ├── OSVR_VelocityReport.java
│ ├── OSVR_VelocityState.java
│ └── OsvrClientReportTypesLibrary.java
├── osvrdisplay
│ └── OsvrDisplayLibrary.java
├── osvrinterface
│ └── OsvrInterfaceLibrary.java
├── osvrmatrixconventions
│ ├── OSVR_Pose3.java
│ ├── OSVR_Quaternion.java
│ ├── OSVR_Vec3.java
│ └── OsvrMatrixConventionsLibrary.java
├── osvrrendermanager
│ ├── OSVR_ProjectionMatrix.java
│ ├── OSVR_RGB.java
│ ├── OSVR_RenderParams.java
│ ├── OSVR_ViewportDescription.java
│ └── OsvrRenderManagerLibrary.java
├── osvrrendermanageropengl
│ ├── OSVR_GraphicsLibraryOpenGL.java
│ ├── OSVR_OpenGLContextParams.java
│ ├── OSVR_OpenGLToolkitFunctions.java
│ ├── OSVR_OpenResultsOpenGL.java
│ ├── OSVR_ProjectionMatrix.java
│ ├── OSVR_RGB.java
│ ├── OSVR_RenderBufferOpenGL.java
│ ├── OSVR_RenderInfoOpenGL.java
│ ├── OSVR_RenderParams.java
│ ├── OSVR_ViewportDescription.java
│ └── OsvrRenderManagerOpenGLLibrary.java
├── osvrtimevalue
│ ├── OSVR_TimeValue.java
│ └── OsvrTimeValueLibrary.java
├── win32-x86-64
│ ├── LICENSE.txt
│ ├── Qt5Core.dll
│ ├── Qt5Gui.dll
│ ├── Qt5Widgets.dll
│ ├── SDL2.dll
│ ├── d3dcompiler_47.dll
│ ├── functionality.dll
│ ├── glew32.dll
│ ├── msvcp120.dll
│ ├── msvcr120.dll
│ ├── opencv_calib3d2410.dll
│ ├── opencv_core2410.dll
│ ├── opencv_features2d2410.dll
│ ├── opencv_flann2410.dll
│ ├── opencv_highgui2410.dll
│ ├── opencv_imgproc2410.dll
│ ├── openvr_api.dll
│ ├── openvr_api.pdb
│ ├── osg100-osg.dll
│ ├── osg100-osgDB.dll
│ ├── osg100-osgGA.dll
│ ├── osg100-osgText.dll
│ ├── osg100-osgUtil.dll
│ ├── osg100-osgViewer.dll
│ ├── osgdb_deprecated_osg.dll
│ ├── osgdb_osg.dll
│ ├── osvrAnalysisPluginKit.dll
│ ├── osvrClient.dll
│ ├── osvrClientKit.dll
│ ├── osvrCommon.dll
│ ├── osvrConnection.dll
│ ├── osvrJointClientKit.dll
│ ├── osvrPluginHost.dll
│ ├── osvrPluginKit.dll
│ ├── osvrRenderManager.dll
│ ├── osvrServer.dll
│ ├── osvrUSBSerial.dll
│ ├── osvrUtil.dll
│ ├── osvrVRPNServer.dll
│ └── ot20-OpenThreads.dll
└── win32-x86
│ ├── openvr_api.dll
│ └── openvr_api.pdb
└── test
└── jmevr
└── TestjMonkeyVR.java
/.gitignore:
--------------------------------------------------------------------------------
1 | /nbproject/private/
2 | /dist/
3 | /build/
--------------------------------------------------------------------------------
/JMonkeyVR.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/JMonkeyVR.jar
--------------------------------------------------------------------------------
/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | X-Comment: Created with jMonkeyPlatform
2 |
--------------------------------------------------------------------------------
/assets/Materials/BarrelDistortion.j3m:
--------------------------------------------------------------------------------
1 | Material My Material : MatDefs/BarrelDistortion.j3md {
2 | MaterialParameters {
3 | }
4 | AdditionalRenderState {
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/assets/Models/vive_controller.j3o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/assets/Models/vive_controller.j3o
--------------------------------------------------------------------------------
/assets/Scenes/wildhouse.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/assets/Scenes/wildhouse.zip
--------------------------------------------------------------------------------
/assets/Textures/Sky/Bright/spheremap.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/assets/Textures/Sky/Bright/spheremap.png
--------------------------------------------------------------------------------
/assets/Textures/crosshair.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/assets/Textures/crosshair.png
--------------------------------------------------------------------------------
/assets/Textures/handnoise.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/assets/Textures/handnoise.png
--------------------------------------------------------------------------------
/assets/Textures/happy.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/assets/Textures/happy.png
--------------------------------------------------------------------------------
/assets/Textures/noise.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/assets/Textures/noise.png
--------------------------------------------------------------------------------
/assets/Textures/test.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/assets/Textures/test.png
--------------------------------------------------------------------------------
/assets/Textures/vive_controller.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/assets/Textures/vive_controller.png
--------------------------------------------------------------------------------
/assets/Textures/white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/assets/Textures/white.png
--------------------------------------------------------------------------------
/jna-4.2.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/jna-4.2.1.jar
--------------------------------------------------------------------------------
/lwjgl64.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/lwjgl64.dll
--------------------------------------------------------------------------------
/master-application.jnlp:
--------------------------------------------------------------------------------
1 |
2 |
3 | ${APPLICATION.TITLE}
4 | ${APPLICATION.VENDOR}
5 |
6 | ${APPLICATION.DESC}
7 | ${APPLICATION.DESC.SHORT}
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/nbproject/assets-impl.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/nbproject/genfiles.properties:
--------------------------------------------------------------------------------
1 | build.xml.data.CRC32=94bf7c61
2 | build.xml.script.CRC32=79a29eb7
3 | build.xml.stylesheet.CRC32=958a1d3e@1.32.1.45
4 | # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
5 | # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
6 | nbproject/build-impl.xml.data.CRC32=ca22cbda
7 | nbproject/build-impl.xml.script.CRC32=24b737e4
8 | nbproject/build-impl.xml.stylesheet.CRC32=05530350@1.79.1.48
9 |
--------------------------------------------------------------------------------
/nbproject/project.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | org.netbeans.modules.java.j2seproject
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | JMonkeyVR
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | ../jme3_gitrw/jmonkeyengine/dist/lib\nblibraries.properties
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/resolution.txt:
--------------------------------------------------------------------------------
1 | 640
2 | 480
3 | fullscreen
4 |
--------------------------------------------------------------------------------
/src/darwin/libopenvr_api.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/darwin/libopenvr_api.dylib
--------------------------------------------------------------------------------
/src/darwin/libopenvr_api.dylib.dSYM/Contents/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | English
7 | CFBundleIdentifier
8 | com.apple.xcode.dsym.libopenvr_api.dylib
9 | CFBundleInfoDictionaryVersion
10 | 6.0
11 | CFBundlePackageType
12 | dSYM
13 | CFBundleSignature
14 | ????
15 | CFBundleShortVersionString
16 | 1.0
17 | CFBundleVersion
18 | 1
19 |
20 |
21 |
--------------------------------------------------------------------------------
/src/darwin/libopenvr_api.dylib.dSYM/Contents/Resources/DWARF/libopenvr_api.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/darwin/libopenvr_api.dylib.dSYM/Contents/Resources/DWARF/libopenvr_api.dylib
--------------------------------------------------------------------------------
/src/darwin/libopenvr_api.dylib.dSYM/libopenvr_api.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/darwin/libopenvr_api.dylib.dSYM/libopenvr_api.dylib
--------------------------------------------------------------------------------
/src/darwin/libopenvr_api.dylib.dSYM/libopenvr_api.dylib.dSYM/Contents/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | English
7 | CFBundleIdentifier
8 | com.apple.xcode.dsym.libopenvr_api.dylib
9 | CFBundleInfoDictionaryVersion
10 | 6.0
11 | CFBundlePackageType
12 | dSYM
13 | CFBundleSignature
14 | ????
15 | CFBundleShortVersionString
16 | 1.0
17 | CFBundleVersion
18 | 1
19 |
20 |
21 |
--------------------------------------------------------------------------------
/src/darwin/libopenvr_api.dylib.dSYM/libopenvr_api.dylib.dSYM/Contents/Resources/DWARF/libopenvr_api.dylib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/darwin/libopenvr_api.dylib.dSYM/libopenvr_api.dylib.dSYM/Contents/Resources/DWARF/libopenvr_api.dylib
--------------------------------------------------------------------------------
/src/jmevr/input/VRAPI.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package jmevr.input;
7 |
8 | import com.jme3.math.Matrix4f;
9 | import com.jme3.math.Quaternion;
10 | import com.jme3.math.Vector2f;
11 | import com.jme3.math.Vector3f;
12 | import com.jme3.renderer.Camera;
13 | import jmevr.input.OpenVR.HMD_TYPE;
14 |
15 | /**
16 | *
17 | * @author Phr00t
18 | */
19 | public interface VRAPI {
20 |
21 | public boolean initialize();
22 |
23 | public boolean initVRCompositor(boolean allowed);
24 |
25 | public Object getVRSystem();
26 |
27 | public Object getCompositor();
28 |
29 | public String getName();
30 |
31 | public VRInputAPI getVRinput();
32 |
33 | public void _setFlipEyes(boolean set);
34 |
35 | public void printLatencyInfoToConsole(boolean set);
36 |
37 | public int getDisplayFrequency();
38 |
39 | public void destroy();
40 |
41 | public boolean isInitialized();
42 |
43 | public void reset();
44 |
45 | public void getRenderSize(Vector2f store);
46 |
47 | public float getFOV(int dir);
48 |
49 | public float getInterpupillaryDistance();
50 |
51 | public Quaternion getOrientation();
52 |
53 | public Vector3f getPosition();
54 |
55 | public void getPositionAndOrientation(Vector3f storePos, Quaternion storeRot);
56 |
57 | public void updatePose();
58 |
59 | public Matrix4f getHMDMatrixProjectionLeftEye(Camera cam);
60 |
61 | public Matrix4f getHMDMatrixProjectionRightEye(Camera cam);
62 |
63 | public Vector3f getHMDVectorPoseLeftEye();
64 |
65 | public Vector3f getHMDVectorPoseRightEye();
66 |
67 | public Vector3f getSeatedToAbsolutePosition();
68 |
69 | public Matrix4f getHMDMatrixPoseLeftEye();
70 |
71 | public HMD_TYPE getType();
72 |
73 | public Matrix4f getHMDMatrixPoseRightEye();
74 |
75 | }
76 |
--------------------------------------------------------------------------------
/src/jmevr/input/VRBounds.java:
--------------------------------------------------------------------------------
1 | package jmevr.input;
2 |
3 | import com.jme3.math.Vector2f;
4 | import java.nio.FloatBuffer;
5 | import jopenvr.JOpenVRLibrary;
6 | import jopenvr.VR_IVRChaperone_FnTable;
7 |
8 | public class VRBounds {
9 |
10 | private static VR_IVRChaperone_FnTable vrChaperone;
11 | private static Vector2f playSize;
12 |
13 | public static boolean init() {
14 | if( vrChaperone == null ) {
15 | vrChaperone = new VR_IVRChaperone_FnTable(JOpenVRLibrary.VR_GetGenericInterface(JOpenVRLibrary.IVRChaperone_Version, OpenVR.hmdErrorStore));
16 | if( vrChaperone != null ) {
17 | vrChaperone.setAutoSynch(false);
18 | vrChaperone.read();
19 | FloatBuffer fbX = FloatBuffer.allocate(1);
20 | FloatBuffer fbZ = FloatBuffer.allocate(1);
21 | vrChaperone.GetPlayAreaSize.apply(fbX, fbZ);
22 | playSize = new Vector2f(fbX.get(0), fbZ.get(0));
23 | return true; // init success
24 | }
25 | return false; // failed to init
26 | }
27 | return true; // already initialized
28 | }
29 |
30 | public static Vector2f getPlaySize() {
31 | return playSize;
32 | }
33 |
34 | }
35 |
36 |
--------------------------------------------------------------------------------
/src/jmevr/input/VRInputAPI.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package jmevr.input;
7 |
8 | import com.jme3.math.Matrix4f;
9 | import com.jme3.math.Quaternion;
10 | import com.jme3.math.Vector2f;
11 | import com.jme3.math.Vector3f;
12 | import jmevr.input.OpenVRInput.VRINPUT_TYPE;
13 |
14 | /**
15 | *
16 | * @author Phr00t
17 | */
18 | public interface VRInputAPI {
19 |
20 | public boolean isButtonDown(int controllerIndex, VRINPUT_TYPE checkButton);
21 |
22 | public boolean wasButtonPressedSinceLastCall(int controllerIndex, VRINPUT_TYPE checkButton);
23 |
24 | public void resetInputSinceLastCall();
25 |
26 | public Vector2f getAxisDeltaSinceLastCall(int controllerIndex, VRINPUT_TYPE forAxis);
27 |
28 | public Vector3f getVelocity(int controllerIndex);
29 |
30 | public Vector3f getAngularVelocity(int controllerIndex);
31 |
32 | public Vector2f getAxis(int controllerIndex, VRINPUT_TYPE forAxis);
33 |
34 | public Vector2f getAxisRaw(int controllerIndex, VRINPUT_TYPE forAxis);
35 |
36 | public boolean init();
37 |
38 | public int getTrackedControllerCount();
39 |
40 | public void _updateConnectedControllers();
41 |
42 | public void _updateControllerStates();
43 |
44 | public Object getRawControllerState(int index);
45 |
46 | public void swapHands();
47 |
48 | public void setAxisMultiplier(float set);
49 |
50 | //public Matrix4f getPoseForInputDevice(int index);
51 |
52 | public boolean doWeHaveInputFocus();
53 |
54 | public boolean isInputDeviceTracking(int index);
55 |
56 | public Quaternion getOrientation(int index);
57 |
58 | public Vector3f getPosition(int index);
59 |
60 | public Quaternion getFinalObserverRotation(int index);
61 |
62 | public Vector3f getFinalObserverPosition(int index);
63 |
64 | public void triggerHapticPulse(int controllerIndex, float seconds);
65 | }
66 |
--------------------------------------------------------------------------------
/src/jmevr/post/PreNormalCaching.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package jmevr.post;
7 |
8 | import com.jme3.post.Filter.Pass;
9 | import com.jme3.renderer.Caps;
10 | import com.jme3.renderer.RenderManager;
11 | import com.jme3.renderer.Renderer;
12 | import com.jme3.renderer.ViewPort;
13 | import com.jme3.texture.FrameBuffer;
14 | import com.jme3.texture.Texture2D;
15 | import jmevr.app.VRApplication;
16 |
17 | /**
18 | *
19 | * @author phr00t
20 | */
21 | public class PreNormalCaching {
22 |
23 | private static FrameBuffer cachedPreNormals;
24 | private static int lastNormalPassesCount, curCount;
25 |
26 | public static void getPreNormals(RenderManager renderManager, Pass normalPass, ViewPort viewPort) {
27 | curCount++;
28 | // do we already have a valid cache to set the framebuffer to?
29 | Renderer r = renderManager.getRenderer();
30 | if( cachedPreNormals != null ) {
31 | r.copyFrameBuffer(cachedPreNormals, normalPass.getRenderFrameBuffer(), false);
32 | } else {
33 | // lets make the prenormals
34 | r.setFrameBuffer(normalPass.getRenderFrameBuffer());
35 | renderManager.getRenderer().clearBuffers(true, true, true);
36 | if( renderManager.getRenderer().getCaps().contains(Caps.GLSL150) ) {
37 | renderManager.setForcedTechnique("PreNormalPass15");
38 | } else {
39 | renderManager.setForcedTechnique("PreNormalPass");
40 | }
41 | renderManager.renderViewPortQueues(viewPort, false);
42 | renderManager.setForcedTechnique(null);
43 | // if we should cache this, do it now
44 | if( lastNormalPassesCount > 1 ) {
45 | cachedPreNormals = normalPass.getRenderFrameBuffer();
46 | }
47 | }
48 | renderManager.getRenderer().setFrameBuffer(viewPort.getOutputFrameBuffer());
49 | }
50 |
51 | public static void resetCache() {
52 | if( VRApplication.isInVR() == false ) {
53 | // only use this feature if we are NOT in VR
54 | // we can't use the same normal information for another eye,
55 | // because it will be different!
56 | lastNormalPassesCount = curCount;
57 | }
58 | cachedPreNormals = null;
59 | curCount = 0;
60 | }
61 |
62 | }
63 |
--------------------------------------------------------------------------------
/src/jmevr/shaders/CartoonSSAO.j3md:
--------------------------------------------------------------------------------
1 | MaterialDef CartoonSSAO {
2 |
3 | MaterialParameters {
4 | Int NumSamples
5 | Int NumSamplesDepth
6 | Texture2D DepthTexture
7 | Texture2D Texture
8 | Texture2D Normals
9 | Vector3 FrustumCorner
10 | Float Distance
11 | Boolean disableOutline
12 | Boolean useInstancing
13 | Vector2 FrustumNearFar
14 | }
15 |
16 | Technique {
17 | VertexShader GLSL150: Common/MatDefs/Post/Post15.vert
18 | FragmentShader GLSL150: jmevr/shaders/CartoonSSAO.frag
19 |
20 | WorldParameters {
21 | WorldViewProjectionMatrix
22 | WorldViewMatrix
23 | ResolutionInverse
24 | }
25 |
26 | Defines {
27 | NO_OUTLINE : disableOutline
28 | INSTANCING : useInstancing
29 | }
30 | }
31 |
32 | Technique {
33 | VertexShader GLSL100: Common/MatDefs/Post/Post.vert
34 | FragmentShader GLSL100: jmevr/shaders/CartoonSSAO.frag
35 |
36 | WorldParameters {
37 | WorldViewProjectionMatrix
38 | WorldViewMatrix
39 | ResolutionInverse
40 | }
41 |
42 | Defines {
43 | NO_OUTLINE : disableOutline
44 | INSTANCING : useInstancing
45 | }
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/src/jmevr/shaders/GuiOverlay.frag:
--------------------------------------------------------------------------------
1 | #import "Common/ShaderLib/GLSLCompat.glsllib"
2 |
3 | uniform sampler2D m_ColorMap;
4 |
5 | varying vec2 texCoord1;
6 |
7 | void main(){
8 | gl_FragColor = texture2D(m_ColorMap, texCoord1);
9 | gl_FragColor.a *= 12.0 / (1.0 + gl_FragColor.a * 11.0 );
10 | }
--------------------------------------------------------------------------------
/src/jmevr/shaders/GuiOverlay.j3md:
--------------------------------------------------------------------------------
1 | MaterialDef GuiOverlay {
2 |
3 | MaterialParameters {
4 | Texture2D ColorMap
5 |
6 | // For VR instancing
7 | Matrix4 RightEyeViewProjectionMatrix
8 | }
9 |
10 | Technique {
11 | VertexShader GLSL150: jmevr/shaders/GuiOverlay15.vert
12 | FragmentShader GLSL150: jmevr/shaders/GuiOverlay15.frag
13 |
14 | WorldParameters {
15 | WorldViewProjectionMatrix
16 | ViewProjectionMatrix // needed for VR instancing
17 | }
18 |
19 | Defines {
20 | INSTANCING : RightEyeViewProjectionMatrix // For VR instancing
21 | }
22 | }
23 |
24 | Technique {
25 | VertexShader GLSL100: jmevr/shaders/GuiOverlay.vert
26 | FragmentShader GLSL100: jmevr/shaders/GuiOverlay.frag
27 |
28 | WorldParameters {
29 | WorldViewProjectionMatrix
30 | ViewProjectionMatrix // needed for VR instancing
31 | }
32 |
33 | Defines {
34 | INSTANCING : RightEyeViewProjectionMatrix // For VR instancing
35 | }
36 | }
37 |
38 | }
--------------------------------------------------------------------------------
/src/jmevr/shaders/GuiOverlay.vert:
--------------------------------------------------------------------------------
1 | // import the following for VR instancing
2 | #import "jmevr/shaders/InstanceVR.glsllib"
3 |
4 | attribute vec3 inPosition;
5 | attribute vec2 inTexCoord;
6 | varying vec2 texCoord1;
7 |
8 | void main(){
9 | texCoord1 = inTexCoord;
10 | vec4 modelSpacePos = vec4(inPosition, 1.0);
11 | gl_Position = TransformWorldViewProjectionVR(modelSpacePos);
12 | }
--------------------------------------------------------------------------------
/src/jmevr/shaders/GuiOverlay15.frag:
--------------------------------------------------------------------------------
1 | #define FRAGMENT_SHADER
2 | #import "Common/ShaderLib/GLSLCompat.glsllib"
3 |
4 | uniform sampler2D m_ColorMap;
5 |
6 | in vec2 texCoord1;
7 |
8 | out vec4 outColor;
9 |
10 | void main(){
11 | outColor = texture2D(m_ColorMap, texCoord1);
12 | outColor.a *= 12.0 / (1.0 + outColor.a * 11.0 );
13 | }
--------------------------------------------------------------------------------
/src/jmevr/shaders/GuiOverlay15.vert:
--------------------------------------------------------------------------------
1 | // import the following for VR instancing
2 | #define VERTEX_SHADER
3 | #import "Common/ShaderLib/GLSLCompat.glsllib"
4 | #import "jmevr/shaders/InstanceVR.glsllib"
5 |
6 | in vec3 inPosition;
7 | in vec2 inTexCoord;
8 | out vec2 texCoord1;
9 |
10 | void main(){
11 | texCoord1 = inTexCoord;
12 | vec4 modelSpacePos = vec4(inPosition, 1.0);
13 | gl_Position = TransformWorldViewProjectionVR(modelSpacePos);
14 | }
--------------------------------------------------------------------------------
/src/jmevr/shaders/OpenVR.frag:
--------------------------------------------------------------------------------
1 | uniform sampler2D m_Texture;
2 |
3 | varying vec2 UVred;
4 | varying vec2 UVgreen;
5 | varying vec2 UVblue;
6 |
7 | void main() {
8 | // performance & FOV experiment by removing bounds check
9 | //float fBoundsCheck = ( (dot( vec2( lessThan( UVgreen.xy, vec2(0.05, 0.05)) ), vec2(1.0, 1.0))+dot( vec2( greaterThan( UVgreen.xy, vec2( 0.95, 0.95)) ), vec2(1.0, 1.0))) );
10 | //
11 | //if( fBoundsCheck > 1.0 ) {
12 | // gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );
13 | //} else {
14 |
15 | float red = texture2D(m_Texture, UVred).x;
16 | float green = texture2D(m_Texture, UVgreen).y;
17 | float blue = texture2D(m_Texture, UVblue).z;
18 | gl_FragColor = vec4( red, green, blue, 1.0 );
19 |
20 | //}
21 | }
22 |
--------------------------------------------------------------------------------
/src/jmevr/shaders/OpenVR.j3md:
--------------------------------------------------------------------------------
1 | MaterialDef OpenVR {
2 | MaterialParameters {
3 | Int NumSamples
4 | Texture2D Texture
5 |
6 | Vector2 inUVred
7 | Vector2 inUVblue
8 | Vector2 inUVgreen
9 | }
10 |
11 | Technique {
12 | VertexShader GLSL150: jmevr/shaders/OpenVR15.vert
13 | FragmentShader GLSL150: jmevr/shaders/OpenVR15.frag
14 |
15 | WorldParameters {
16 | }
17 |
18 | Defines {
19 | }
20 |
21 | }
22 |
23 | Technique {
24 | VertexShader GLSL100: jmevr/shaders/OpenVR.vert
25 | FragmentShader GLSL100: jmevr/shaders/OpenVR.frag
26 |
27 | WorldParameters {
28 | }
29 |
30 | Defines {
31 | }
32 | }
33 | }
--------------------------------------------------------------------------------
/src/jmevr/shaders/OpenVR.vert:
--------------------------------------------------------------------------------
1 | attribute vec4 inPosition;
2 |
3 | attribute vec2 inTexCoord; // m_inUVred
4 | attribute vec2 inTexCoord2; // m_inUVgreen
5 | attribute vec2 inTexCoord3; // m_inUVblue
6 |
7 | varying vec2 UVred;
8 | varying vec2 UVgreen;
9 | varying vec2 UVblue;
10 |
11 | void main() {
12 | gl_Position = inPosition;
13 | UVred = inTexCoord;
14 | UVgreen = inTexCoord2;
15 | UVblue = inTexCoord3;
16 | }
--------------------------------------------------------------------------------
/src/jmevr/shaders/OpenVR15.frag:
--------------------------------------------------------------------------------
1 | uniform sampler2D m_Texture;
2 |
3 | in vec2 UVred;
4 | in vec2 UVgreen;
5 | in vec2 UVblue;
6 |
7 | out vec4 outColor;
8 |
9 | void main() {
10 | // performance & FOV improvement by removing bounds check
11 | //float fBoundsCheck = ( (dot( vec2( lessThan( UVgreen.xy, vec2(0.05, 0.05)) ), vec2(1.0, 1.0))+dot( vec2( greaterThan( UVgreen.xy, vec2( 0.95, 0.95)) ), vec2(1.0, 1.0))) );
12 | //
13 | //if( fBoundsCheck > 1.0 ) {
14 | // gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );
15 | //} else {
16 |
17 | float red = texture2D(m_Texture, UVred).x;
18 | float green = texture2D(m_Texture, UVgreen).y;
19 | float blue = texture2D(m_Texture, UVblue).z;
20 | outColor = vec4( red, green, blue, 1.0 );
21 |
22 | //}
23 | }
24 |
--------------------------------------------------------------------------------
/src/jmevr/shaders/OpenVR15.vert:
--------------------------------------------------------------------------------
1 | in vec4 inPosition;
2 |
3 | in vec2 inTexCoord; // m_inUVred
4 | in vec2 inTexCoord2; // m_inUVgreen
5 | in vec2 inTexCoord3; // m_inUVblue
6 |
7 | out vec2 UVred;
8 | out vec2 UVgreen;
9 | out vec2 UVblue;
10 |
11 | void main() {
12 | gl_Position = inPosition;
13 | UVred = inTexCoord;
14 | UVgreen = inTexCoord2;
15 | UVblue = inTexCoord3;
16 | }
--------------------------------------------------------------------------------
/src/jmevr/shaders/PostShadowFilter.j3md:
--------------------------------------------------------------------------------
1 | MaterialDef Post Shadow {
2 |
3 | MaterialParameters {
4 | Int FilterMode
5 | Boolean HardwareShadows
6 |
7 | Texture2D ShadowMap0
8 | Texture2D ShadowMap1
9 | Texture2D ShadowMap2
10 | Texture2D ShadowMap3
11 | //pointLights
12 | Texture2D ShadowMap4
13 | Texture2D ShadowMap5
14 |
15 | Float ShadowIntensity
16 | Vector4 Splits
17 | Vector2 FadeInfo
18 |
19 | Matrix4 LightViewProjectionMatrix0
20 | Matrix4 LightViewProjectionMatrix1
21 | Matrix4 LightViewProjectionMatrix2
22 | Matrix4 LightViewProjectionMatrix3
23 | //pointLight
24 | Matrix4 LightViewProjectionMatrix4
25 | Matrix4 LightViewProjectionMatrix5
26 | Vector3 LightPos
27 | Vector3 LightDir
28 |
29 | Float PCFEdge
30 |
31 | Float ShadowMapSize
32 |
33 | Matrix4 ViewProjectionMatrixInverse
34 | Vector4 ViewProjectionMatrixRow2
35 |
36 | Int NumSamples
37 | Int NumSamplesDepth
38 | Texture2D Texture
39 | Texture2D DepthTexture
40 |
41 | // is VR instancing?
42 | Matrix4 ViewProjectionMatrixInverseRight
43 | Vector4 ViewProjectionMatrixRow2Right
44 |
45 | Boolean BackfaceShadows: true
46 | }
47 |
48 | Technique {
49 | VertexShader GLSL150: jmevr/shaders/PostShadowFilter.vert
50 | FragmentShader GLSL150: jmevr/shaders/PostShadowFilter.frag
51 |
52 | WorldParameters {
53 | ResolutionInverse
54 | }
55 |
56 | Defines {
57 | RESOLVE_MS : NumSamples
58 | RESOLVE_DEPTH_MS : NumSamplesDepth
59 | HARDWARE_SHADOWS : HardwareShadows
60 | FILTER_MODE : FilterMode
61 | PCFEDGE : PCFEdge
62 | SHADOWMAP_SIZE : ShadowMapSize
63 | FADE : FadeInfo
64 | PSSM : Splits
65 | POINTLIGHT : LightViewProjectionMatrix5
66 | //if no shadow map don't render shadows
67 | RENDER_SHADOWS : ShadowMap0
68 | INSTANCING : ViewProjectionMatrixInverseRight
69 | BACKFACE_SHADOWS : BackfaceShadows
70 | }
71 |
72 | }
73 |
74 | Technique {
75 | VertexShader GLSL100: Common/MatDefs/Shadow/PostShadowFilter.vert
76 | FragmentShader GLSL100: Common/MatDefs/Shadow/PostShadowFilter.frag
77 |
78 | WorldParameters {
79 | ResolutionInverse
80 | }
81 |
82 | Defines {
83 | HARDWARE_SHADOWS : HardwareShadows
84 | FILTER_MODE : FilterMode
85 | PCFEDGE : PCFEdge
86 | SHADOWMAP_SIZE : ShadowMapSize
87 | FADE : FadeInfo
88 | PSSM : Splits
89 | POINTLIGHT : LightViewProjectionMatrix5
90 | INSTANCING : ViewProjectionMatrixInverseRight
91 | BACKFACE_SHADOWS : BackfaceShadows
92 | }
93 |
94 | }
95 |
96 |
97 |
98 |
99 | }
--------------------------------------------------------------------------------
/src/jmevr/shaders/PostShadowFilter.vert:
--------------------------------------------------------------------------------
1 | #define VERTEX_SHADER
2 | #import "Common/ShaderLib/GLSLCompat.glsllib"
3 |
4 | attribute vec4 inPosition;
5 | attribute vec2 inTexCoord;
6 | varying vec2 texCoord;
7 |
8 | void main() {
9 | gl_Position = vec4(inPosition.xy * 2.0 - 1.0, 0.0, 1.0);
10 | texCoord = inTexCoord;
11 | }
--------------------------------------------------------------------------------
/src/jmevr/shaders/Unshaded.frag:
--------------------------------------------------------------------------------
1 | #define FRAGMENT_SHADER
2 | #import "Common/ShaderLib/GLSLCompat.glsllib"
3 |
4 | uniform vec4 m_Color;
5 | uniform sampler2D m_ColorMap;
6 |
7 | varying vec2 texCoord1;
8 |
9 | void main(){
10 | vec4 color = vec4(1.0);
11 |
12 | #ifdef HAS_COLORMAP
13 | color *= texture2D(m_ColorMap, texCoord1);
14 | #endif
15 |
16 | #ifdef HAS_COLOR
17 | color *= m_Color;
18 | #endif
19 |
20 | gl_FragColor = color;
21 | }
--------------------------------------------------------------------------------
/src/jmevr/shaders/Unshaded.j3md:
--------------------------------------------------------------------------------
1 | MaterialDef Unshaded {
2 |
3 | MaterialParameters {
4 | Texture2D ColorMap
5 | Color Color (Color)
6 |
7 | // For VR instancing
8 | Matrix4 RightEyeViewProjectionMatrix
9 | }
10 |
11 | Technique {
12 | VertexShader GLSL150: jmevr/shaders/Unshaded.vert
13 | FragmentShader GLSL150: jmevr/shaders/Unshaded.frag
14 |
15 | WorldParameters {
16 | WorldViewProjectionMatrix
17 | ViewProjectionMatrix // needed for VR instancing
18 | ViewMatrix
19 | }
20 |
21 | Defines {
22 | INSTANCING : RightEyeViewProjectionMatrix // For VR instancing
23 | HAS_COLORMAP : ColorMap
24 | HAS_COLOR : Color
25 | }
26 | }
27 |
28 | Technique {
29 | VertexShader GLSL100: jmevr/shaders/Unshaded.vert
30 | FragmentShader GLSL100: jmevr/shaders/Unshaded.frag
31 |
32 | WorldParameters {
33 | WorldViewProjectionMatrix
34 | ViewProjectionMatrix // needed for VR instancing
35 | ViewMatrix
36 | }
37 |
38 | Defines {
39 | INSTANCING : RightEyeViewProjectionMatrix // For VR instancing
40 | HAS_COLORMAP : ColorMap
41 | HAS_COLOR : Color
42 | }
43 | }
44 |
45 | }
--------------------------------------------------------------------------------
/src/jmevr/shaders/Unshaded.vert:
--------------------------------------------------------------------------------
1 | #define VERTEX_SHADER
2 | #import "Common/ShaderLib/GLSLCompat.glsllib"
3 |
4 | // import the following for VR instancing
5 | #import "jmevr/shaders/InstanceVR.glsllib"
6 |
7 | attribute vec3 inPosition;
8 |
9 | #if defined(HAS_COLORMAP) || (defined(HAS_LIGHTMAP) && !defined(SEPARATE_TEXCOORD))
10 | #define NEED_TEXCOORD1
11 | #endif
12 |
13 | attribute vec2 inTexCoord;
14 | attribute vec4 inColor;
15 |
16 | varying vec2 texCoord1;
17 |
18 | void main(){
19 | #ifdef NEED_TEXCOORD1
20 | texCoord1 = inTexCoord;
21 | #endif
22 |
23 | vec4 modelSpacePos = vec4(inPosition, 1.0);
24 |
25 | // use the following transform function for VR instancing
26 | gl_Position = TransformWorldViewProjectionVR(modelSpacePos);
27 | }
--------------------------------------------------------------------------------
/src/jmevr/shaders/normal.frag:
--------------------------------------------------------------------------------
1 | #define FRAGMENT_SHADER
2 | #import "Common/ShaderLib/GLSLCompat.glsllib"
3 |
4 | varying vec3 normal;
5 |
6 | void main(void)
7 | {
8 | gl_FragColor = vec4(normal.xy* 0.5 + 0.5,-normal.z* 0.5 + 0.5, 1.0);
9 | }
10 |
--------------------------------------------------------------------------------
/src/jmevr/shaders/normal.vert:
--------------------------------------------------------------------------------
1 | #define VERTEX_SHADER
2 | #import "Common/ShaderLib/GLSLCompat.glsllib"
3 |
4 | // import the following for VR instancing
5 | #import "jmevr/shaders/InstanceVR.glsllib"
6 |
7 | attribute vec3 inPosition;
8 | attribute vec3 inNormal;
9 |
10 | varying vec3 normal;
11 |
12 | void main(void)
13 | {
14 | vec4 modelSpacePos = vec4(inPosition, 1.0);
15 | normal = normalize(TransformNormal(inNormal));
16 |
17 | // use the following transform function for VR instancing
18 | gl_Position = TransformWorldViewProjectionVR(modelSpacePos);
19 | }
--------------------------------------------------------------------------------
/src/jmevr/shadow/InstancedDirectionalShadowFilter.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this license header, choose License Headers in Project Properties.
3 | * To change this template file, choose Tools | Templates
4 | * and open the template in the editor.
5 | */
6 | package jmevr.shadow;
7 |
8 | import com.jme3.asset.AssetManager;
9 | import com.jme3.math.Matrix4f;
10 | import com.jme3.math.Vector4f;
11 | import com.jme3.shadow.DirectionalLightShadowFilter;
12 | import jmevr.app.VRApplication;
13 |
14 | /**
15 | *
16 | * @author Phr00t
17 | */
18 | public class InstancedDirectionalShadowFilter extends DirectionalLightShadowFilter {
19 |
20 | private final Vector4f temp4f = new Vector4f(), temp4f2 = new Vector4f();
21 |
22 | public InstancedDirectionalShadowFilter(AssetManager assetManager, int shadowMapSize, int nbSplits) {
23 | super(assetManager, shadowMapSize, nbSplits, "jmevr/shaders/PostShadowFilter.j3md");
24 | }
25 |
26 | @Override
27 | protected void preFrame(float tpf) {
28 | shadowRenderer.preFrame(tpf);
29 | if( VRApplication.isInstanceVRRendering() ) {
30 | material.setMatrix4("ViewProjectionMatrixInverseRight", VRApplication.getVRViewManager().getCamRight().getViewProjectionMatrix().invert());
31 | Matrix4f m = VRApplication.getVRViewManager().getCamRight().getViewProjectionMatrix();
32 | material.setVector4("ViewProjectionMatrixRow2Right", temp4f2.set(m.m20, m.m21, m.m22, m.m23));
33 | }
34 | material.setMatrix4("ViewProjectionMatrixInverse", viewPort.getCamera().getViewProjectionMatrix().invert());
35 | Matrix4f m = viewPort.getCamera().getViewProjectionMatrix();
36 | material.setVector4("ViewProjectionMatrixRow2", temp4f.set(m.m20, m.m21, m.m22, m.m23));
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/src/jmevr/util/FilterUtil.java:
--------------------------------------------------------------------------------
1 | /*
2 | * To change this template, choose Tools | Templates
3 | * and open the template in the editor.
4 | */
5 | package jmevr.util;
6 |
7 | import com.jme3.asset.AssetManager;
8 | import com.jme3.post.filters.FogFilter;
9 | import com.jme3.post.ssao.SSAOFilter;
10 | import com.jme3.shadow.DirectionalLightShadowFilter;
11 |
12 | /**
13 | *
14 | * @author Rickard
15 | */
16 | public class FilterUtil {
17 |
18 | public static FogFilter cloneFogFilter(FogFilter fogFilter){
19 | FogFilter filterClone = new FogFilter();
20 | filterClone.setFogColor(fogFilter.getFogColor());
21 | filterClone.setFogDensity(fogFilter.getFogDensity());
22 | filterClone.setFogDistance(fogFilter.getFogDistance());
23 | filterClone.setName(fogFilter.getName() + " Clone");
24 |
25 | return filterClone;
26 | }
27 |
28 | public static SSAOFilter cloneSSAOFilter(SSAOFilter filter){
29 | SSAOFilter clone = new SSAOFilter();
30 | clone.setSampleRadius(filter.getSampleRadius());
31 | clone.setIntensity(filter.getIntensity());
32 | clone.setScale(filter.getScale());
33 | clone.setBias(filter.getBias());
34 | return clone;
35 | }
36 |
37 | public static DirectionalLightShadowFilter cloneDirectionalLightShadowFilter(AssetManager assetManager, DirectionalLightShadowFilter filter){
38 | DirectionalLightShadowFilter clone = new DirectionalLightShadowFilter(assetManager, 512, 3);
39 | clone.setLight(filter.getLight());
40 | clone.setLambda(filter.getLambda());
41 | clone.setShadowIntensity(filter.getShadowIntensity());
42 | clone.setEdgeFilteringMode(filter.getEdgeFilteringMode());
43 | // clone.setEnabled(filter.isEnabled());
44 | return clone;
45 | }
46 |
47 | }
48 |
--------------------------------------------------------------------------------
/src/jmevr/util/gui_mesh.j3o:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/jmevr/util/gui_mesh.j3o
--------------------------------------------------------------------------------
/src/jmevr/util/gui_mesh.j3odata:
--------------------------------------------------------------------------------
1 | #
2 | #Thu Oct 01 10:33:02 EDT 2015
3 | ORIGINAL_PATH=Models/gui_mesh.obj
4 |
--------------------------------------------------------------------------------
/src/jmevr/util/mouse.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/jmevr/util/mouse.png
--------------------------------------------------------------------------------
/src/jopenvr/AppOverrideKeys_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class AppOverrideKeys_t extends Structure {
12 | /**
13 | * const char *
14 | * C type : char*
15 | */
16 | public Pointer pchKey;
17 | /**
18 | * const char *
19 | * C type : char*
20 | */
21 | public Pointer pchValue;
22 | public AppOverrideKeys_t() {
23 | super();
24 | }
25 | protected List > getFieldOrder() {
26 | return Arrays.asList("pchKey", "pchValue");
27 | }
28 | /**
29 | * @param pchKey const char *
30 | * C type : char*
31 | * @param pchValue const char *
32 | * C type : char*
33 | */
34 | public AppOverrideKeys_t(Pointer pchKey, Pointer pchValue) {
35 | super();
36 | this.pchKey = pchKey;
37 | this.pchValue = pchValue;
38 | }
39 | public AppOverrideKeys_t(Pointer peer) {
40 | super(peer);
41 | }
42 | public static class ByReference extends AppOverrideKeys_t implements Structure.ByReference {
43 |
44 | };
45 | public static class ByValue extends AppOverrideKeys_t implements Structure.ByValue {
46 |
47 | };
48 | }
49 |
--------------------------------------------------------------------------------
/src/jopenvr/COpenVRContext.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import com.sun.jna.ptr.IntByReference;
5 | import java.util.Arrays;
6 | import java.util.List;
7 | /**
8 | * This file was autogenerated by JNAerator,
9 | * a tool written by Olivier Chafik that uses a few opensource projects..
10 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
11 | */
12 | public class COpenVRContext extends Structure {
13 | /**
14 | * class vr::IVRSystem *
15 | * C type : intptr_t
16 | */
17 | public IntByReference m_pVRSystem;
18 | /**
19 | * class vr::IVRChaperone *
20 | * C type : intptr_t
21 | */
22 | public IntByReference m_pVRChaperone;
23 | /**
24 | * class vr::IVRChaperoneSetup *
25 | * C type : intptr_t
26 | */
27 | public IntByReference m_pVRChaperoneSetup;
28 | /**
29 | * class vr::IVRCompositor *
30 | * C type : intptr_t
31 | */
32 | public IntByReference m_pVRCompositor;
33 | /**
34 | * class vr::IVROverlay *
35 | * C type : intptr_t
36 | */
37 | public IntByReference m_pVROverlay;
38 | /**
39 | * class vr::IVRResources *
40 | * C type : intptr_t
41 | */
42 | public IntByReference m_pVRResources;
43 | /**
44 | * class vr::IVRRenderModels *
45 | * C type : intptr_t
46 | */
47 | public IntByReference m_pVRRenderModels;
48 | /**
49 | * class vr::IVRExtendedDisplay *
50 | * C type : intptr_t
51 | */
52 | public IntByReference m_pVRExtendedDisplay;
53 | /**
54 | * class vr::IVRSettings *
55 | * C type : intptr_t
56 | */
57 | public IntByReference m_pVRSettings;
58 | /**
59 | * class vr::IVRApplications *
60 | * C type : intptr_t
61 | */
62 | public IntByReference m_pVRApplications;
63 | /**
64 | * class vr::IVRTrackedCamera *
65 | * C type : intptr_t
66 | */
67 | public IntByReference m_pVRTrackedCamera;
68 | /**
69 | * class vr::IVRScreenshots *
70 | * C type : intptr_t
71 | */
72 | public IntByReference m_pVRScreenshots;
73 | public COpenVRContext() {
74 | super();
75 | }
76 | protected List > getFieldOrder() {
77 | return Arrays.asList("m_pVRSystem", "m_pVRChaperone", "m_pVRChaperoneSetup", "m_pVRCompositor", "m_pVROverlay", "m_pVRResources", "m_pVRRenderModels", "m_pVRExtendedDisplay", "m_pVRSettings", "m_pVRApplications", "m_pVRTrackedCamera", "m_pVRScreenshots");
78 | }
79 | public COpenVRContext(Pointer peer) {
80 | super(peer);
81 | }
82 | public static class ByReference extends COpenVRContext implements Structure.ByReference {
83 |
84 | };
85 | public static class ByValue extends COpenVRContext implements Structure.ByValue {
86 |
87 | };
88 | }
89 |
--------------------------------------------------------------------------------
/src/jopenvr/CameraVideoStreamFrameHeader_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class CameraVideoStreamFrameHeader_t extends Structure {
12 | /**
13 | * @see EVRTrackedCameraFrameType
14 | * C type : EVRTrackedCameraFrameType
15 | */
16 | public int eFrameType;
17 | public int nWidth;
18 | public int nHeight;
19 | public int nBytesPerPixel;
20 | public int nFrameSequence;
21 | /** C type : TrackedDevicePose_t */
22 | public TrackedDevicePose_t standingTrackedDevicePose;
23 | public CameraVideoStreamFrameHeader_t() {
24 | super();
25 | }
26 | protected List > getFieldOrder() {
27 | return Arrays.asList("eFrameType", "nWidth", "nHeight", "nBytesPerPixel", "nFrameSequence", "standingTrackedDevicePose");
28 | }
29 | /**
30 | * @param eFrameType @see EVRTrackedCameraFrameType
31 | * C type : EVRTrackedCameraFrameType
32 | * @param standingTrackedDevicePose C type : TrackedDevicePose_t
33 | */
34 | public CameraVideoStreamFrameHeader_t(int eFrameType, int nWidth, int nHeight, int nBytesPerPixel, int nFrameSequence, TrackedDevicePose_t standingTrackedDevicePose) {
35 | super();
36 | this.eFrameType = eFrameType;
37 | this.nWidth = nWidth;
38 | this.nHeight = nHeight;
39 | this.nBytesPerPixel = nBytesPerPixel;
40 | this.nFrameSequence = nFrameSequence;
41 | this.standingTrackedDevicePose = standingTrackedDevicePose;
42 | }
43 | public CameraVideoStreamFrameHeader_t(Pointer peer) {
44 | super(peer);
45 | }
46 | public static class ByReference extends CameraVideoStreamFrameHeader_t implements Structure.ByReference {
47 |
48 | };
49 | public static class ByValue extends CameraVideoStreamFrameHeader_t implements Structure.ByValue {
50 |
51 | };
52 | }
53 |
--------------------------------------------------------------------------------
/src/jopenvr/Compositor_CumulativeStats.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class Compositor_CumulativeStats extends Structure {
12 | public int m_nPid;
13 | public int m_nNumFramePresents;
14 | public int m_nNumDroppedFrames;
15 | public int m_nNumReprojectedFrames;
16 | public int m_nNumFramePresentsOnStartup;
17 | public int m_nNumDroppedFramesOnStartup;
18 | public int m_nNumReprojectedFramesOnStartup;
19 | public int m_nNumLoading;
20 | public int m_nNumFramePresentsLoading;
21 | public int m_nNumDroppedFramesLoading;
22 | public int m_nNumReprojectedFramesLoading;
23 | public int m_nNumTimedOut;
24 | public int m_nNumFramePresentsTimedOut;
25 | public int m_nNumDroppedFramesTimedOut;
26 | public int m_nNumReprojectedFramesTimedOut;
27 | public Compositor_CumulativeStats() {
28 | super();
29 | }
30 | protected List > getFieldOrder() {
31 | return Arrays.asList("m_nPid", "m_nNumFramePresents", "m_nNumDroppedFrames", "m_nNumReprojectedFrames", "m_nNumFramePresentsOnStartup", "m_nNumDroppedFramesOnStartup", "m_nNumReprojectedFramesOnStartup", "m_nNumLoading", "m_nNumFramePresentsLoading", "m_nNumDroppedFramesLoading", "m_nNumReprojectedFramesLoading", "m_nNumTimedOut", "m_nNumFramePresentsTimedOut", "m_nNumDroppedFramesTimedOut", "m_nNumReprojectedFramesTimedOut");
32 | }
33 | public Compositor_CumulativeStats(Pointer peer) {
34 | super(peer);
35 | }
36 | public static class ByReference extends Compositor_CumulativeStats implements Structure.ByReference {
37 |
38 | };
39 | public static class ByValue extends Compositor_CumulativeStats implements Structure.ByValue {
40 |
41 | };
42 | }
43 |
--------------------------------------------------------------------------------
/src/jopenvr/Compositor_FrameTiming.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class Compositor_FrameTiming extends Structure {
12 | public int m_nSize;
13 | public int m_nFrameIndex;
14 | public int m_nNumFramePresents;
15 | public int m_nNumDroppedFrames;
16 | public int m_nReprojectionFlags;
17 | public double m_flSystemTimeInSeconds;
18 | public float m_flPreSubmitGpuMs;
19 | public float m_flPostSubmitGpuMs;
20 | public float m_flTotalRenderGpuMs;
21 | public float m_flCompositorRenderGpuMs;
22 | public float m_flCompositorRenderCpuMs;
23 | public float m_flCompositorIdleCpuMs;
24 | public float m_flClientFrameIntervalMs;
25 | public float m_flPresentCallCpuMs;
26 | public float m_flWaitForPresentCpuMs;
27 | public float m_flSubmitFrameMs;
28 | public float m_flWaitGetPosesCalledMs;
29 | public float m_flNewPosesReadyMs;
30 | public float m_flNewFrameReadyMs;
31 | public float m_flCompositorUpdateStartMs;
32 | public float m_flCompositorUpdateEndMs;
33 | public float m_flCompositorRenderStartMs;
34 | /** C type : TrackedDevicePose_t */
35 | public TrackedDevicePose_t m_HmdPose;
36 | public Compositor_FrameTiming() {
37 | super();
38 | }
39 | protected List > getFieldOrder() {
40 | return Arrays.asList("m_nSize", "m_nFrameIndex", "m_nNumFramePresents", "m_nNumDroppedFrames", "m_nReprojectionFlags", "m_flSystemTimeInSeconds", "m_flPreSubmitGpuMs", "m_flPostSubmitGpuMs", "m_flTotalRenderGpuMs", "m_flCompositorRenderGpuMs", "m_flCompositorRenderCpuMs", "m_flCompositorIdleCpuMs", "m_flClientFrameIntervalMs", "m_flPresentCallCpuMs", "m_flWaitForPresentCpuMs", "m_flSubmitFrameMs", "m_flWaitGetPosesCalledMs", "m_flNewPosesReadyMs", "m_flNewFrameReadyMs", "m_flCompositorUpdateStartMs", "m_flCompositorUpdateEndMs", "m_flCompositorRenderStartMs", "m_HmdPose");
41 | }
42 | public Compositor_FrameTiming(Pointer peer) {
43 | super(peer);
44 | }
45 | public static class ByReference extends Compositor_FrameTiming implements Structure.ByReference {
46 |
47 | };
48 | public static class ByValue extends Compositor_FrameTiming implements Structure.ByValue {
49 |
50 | };
51 | }
52 |
--------------------------------------------------------------------------------
/src/jopenvr/Compositor_OverlaySettings.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class Compositor_OverlaySettings extends Structure {
12 | public int size;
13 | public byte curved;
14 | public byte antialias;
15 | public float scale;
16 | public float distance;
17 | public float alpha;
18 | public float uOffset;
19 | public float vOffset;
20 | public float uScale;
21 | public float vScale;
22 | public float gridDivs;
23 | public float gridWidth;
24 | public float gridScale;
25 | /** C type : HmdMatrix44_t */
26 | public HmdMatrix44_t transform;
27 | public Compositor_OverlaySettings() {
28 | super();
29 | }
30 | protected List > getFieldOrder() {
31 | return Arrays.asList("size", "curved", "antialias", "scale", "distance", "alpha", "uOffset", "vOffset", "uScale", "vScale", "gridDivs", "gridWidth", "gridScale", "transform");
32 | }
33 | public Compositor_OverlaySettings(Pointer peer) {
34 | super(peer);
35 | }
36 | public static class ByReference extends Compositor_OverlaySettings implements Structure.ByReference {
37 |
38 | };
39 | public static class ByValue extends Compositor_OverlaySettings implements Structure.ByValue {
40 |
41 | };
42 | }
43 |
--------------------------------------------------------------------------------
/src/jopenvr/DistortionCoordinates_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class DistortionCoordinates_t extends Structure {
12 | /**
13 | * float[2]
14 | * C type : float[2]
15 | */
16 | public float[] rfRed = new float[2];
17 | /**
18 | * float[2]
19 | * C type : float[2]
20 | */
21 | public float[] rfGreen = new float[2];
22 | /**
23 | * float[2]
24 | * C type : float[2]
25 | */
26 | public float[] rfBlue = new float[2];
27 | public DistortionCoordinates_t() {
28 | super();
29 | }
30 | protected List > getFieldOrder() {
31 | return Arrays.asList("rfRed", "rfGreen", "rfBlue");
32 | }
33 | /**
34 | * @param rfRed float[2]
35 | * C type : float[2]
36 | * @param rfGreen float[2]
37 | * C type : float[2]
38 | * @param rfBlue float[2]
39 | * C type : float[2]
40 | */
41 | public DistortionCoordinates_t(float rfRed[], float rfGreen[], float rfBlue[]) {
42 | super();
43 | if ((rfRed.length != this.rfRed.length))
44 | throw new IllegalArgumentException("Wrong array size !");
45 | this.rfRed = rfRed;
46 | if ((rfGreen.length != this.rfGreen.length))
47 | throw new IllegalArgumentException("Wrong array size !");
48 | this.rfGreen = rfGreen;
49 | if ((rfBlue.length != this.rfBlue.length))
50 | throw new IllegalArgumentException("Wrong array size !");
51 | this.rfBlue = rfBlue;
52 | }
53 | public DistortionCoordinates_t(Pointer peer) {
54 | super(peer);
55 | }
56 | public static class ByReference extends DistortionCoordinates_t implements Structure.ByReference {
57 |
58 | };
59 | public static class ByValue extends DistortionCoordinates_t implements Structure.ByValue {
60 |
61 | };
62 | }
63 |
--------------------------------------------------------------------------------
/src/jopenvr/HiddenAreaMesh_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class HiddenAreaMesh_t extends Structure {
12 | /**
13 | * const struct vr::HmdVector2_t *
14 | * C type : HmdVector2_t*
15 | */
16 | public jopenvr.HmdVector2_t.ByReference pVertexData;
17 | public int unTriangleCount;
18 | public HiddenAreaMesh_t() {
19 | super();
20 | }
21 | protected List > getFieldOrder() {
22 | return Arrays.asList("pVertexData", "unTriangleCount");
23 | }
24 | /**
25 | * @param pVertexData const struct vr::HmdVector2_t *
26 | * C type : HmdVector2_t*
27 | */
28 | public HiddenAreaMesh_t(jopenvr.HmdVector2_t.ByReference pVertexData, int unTriangleCount) {
29 | super();
30 | this.pVertexData = pVertexData;
31 | this.unTriangleCount = unTriangleCount;
32 | }
33 | public HiddenAreaMesh_t(Pointer peer) {
34 | super(peer);
35 | }
36 | public static class ByReference extends HiddenAreaMesh_t implements Structure.ByReference {
37 |
38 | };
39 | public static class ByValue extends HiddenAreaMesh_t implements Structure.ByValue {
40 |
41 | };
42 | }
43 |
--------------------------------------------------------------------------------
/src/jopenvr/HmdColor_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class HmdColor_t extends Structure {
12 | public float r;
13 | public float g;
14 | public float b;
15 | public float a;
16 | public HmdColor_t() {
17 | super();
18 | }
19 | protected List > getFieldOrder() {
20 | return Arrays.asList("r", "g", "b", "a");
21 | }
22 | public HmdColor_t(float r, float g, float b, float a) {
23 | super();
24 | this.r = r;
25 | this.g = g;
26 | this.b = b;
27 | this.a = a;
28 | }
29 | public HmdColor_t(Pointer peer) {
30 | super(peer);
31 | }
32 | public static class ByReference extends HmdColor_t implements Structure.ByReference {
33 |
34 | };
35 | public static class ByValue extends HmdColor_t implements Structure.ByValue {
36 |
37 | };
38 | }
39 |
--------------------------------------------------------------------------------
/src/jopenvr/HmdMatrix34_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class HmdMatrix34_t extends Structure {
12 | /**
13 | * float[3][4]
14 | * C type : float[3][4]
15 | */
16 | public float[] m = new float[((3) * (4))];
17 | public HmdMatrix34_t() {
18 | super();
19 | }
20 | protected List > getFieldOrder() {
21 | return Arrays.asList("m");
22 | }
23 | /**
24 | * @param m float[3][4]
25 | * C type : float[3][4]
26 | */
27 | public HmdMatrix34_t(float m[]) {
28 | super();
29 | if ((m.length != this.m.length))
30 | throw new IllegalArgumentException("Wrong array size !");
31 | this.m = m;
32 | }
33 | public HmdMatrix34_t(Pointer peer) {
34 | super(peer);
35 | }
36 | public static class ByReference extends HmdMatrix34_t implements Structure.ByReference {
37 |
38 | };
39 | public static class ByValue extends HmdMatrix34_t implements Structure.ByValue {
40 |
41 | };
42 | }
43 |
--------------------------------------------------------------------------------
/src/jopenvr/HmdMatrix44_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class HmdMatrix44_t extends Structure {
12 | /**
13 | * float[4][4]
14 | * C type : float[4][4]
15 | */
16 | public float[] m = new float[((4) * (4))];
17 | public HmdMatrix44_t() {
18 | super();
19 | }
20 | protected List > getFieldOrder() {
21 | return Arrays.asList("m");
22 | }
23 | /**
24 | * @param m float[4][4]
25 | * C type : float[4][4]
26 | */
27 | public HmdMatrix44_t(float m[]) {
28 | super();
29 | if ((m.length != this.m.length))
30 | throw new IllegalArgumentException("Wrong array size !");
31 | this.m = m;
32 | }
33 | public HmdMatrix44_t(Pointer peer) {
34 | super(peer);
35 | }
36 | public static class ByReference extends HmdMatrix44_t implements Structure.ByReference {
37 |
38 | };
39 | public static class ByValue extends HmdMatrix44_t implements Structure.ByValue {
40 |
41 | };
42 | }
43 |
--------------------------------------------------------------------------------
/src/jopenvr/HmdQuad_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class HmdQuad_t extends Structure {
12 | /**
13 | * struct vr::HmdVector3_t[4]
14 | * C type : HmdVector3_t[4]
15 | */
16 | public HmdVector3_t[] vCorners = new HmdVector3_t[4];
17 | public HmdQuad_t() {
18 | super();
19 | }
20 | protected List > getFieldOrder() {
21 | return Arrays.asList("vCorners");
22 | }
23 | /**
24 | * @param vCorners struct vr::HmdVector3_t[4]
25 | * C type : HmdVector3_t[4]
26 | */
27 | public HmdQuad_t(HmdVector3_t vCorners[]) {
28 | super();
29 | if ((vCorners.length != this.vCorners.length))
30 | throw new IllegalArgumentException("Wrong array size !");
31 | this.vCorners = vCorners;
32 | }
33 | public HmdQuad_t(Pointer peer) {
34 | super(peer);
35 | }
36 | public static class ByReference extends HmdQuad_t implements Structure.ByReference {
37 |
38 | };
39 | public static class ByValue extends HmdQuad_t implements Structure.ByValue {
40 |
41 | };
42 | }
43 |
--------------------------------------------------------------------------------
/src/jopenvr/HmdQuaternion_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class HmdQuaternion_t extends Structure {
12 | public double w;
13 | public double x;
14 | public double y;
15 | public double z;
16 | public HmdQuaternion_t() {
17 | super();
18 | }
19 | protected List > getFieldOrder() {
20 | return Arrays.asList("w", "x", "y", "z");
21 | }
22 | public HmdQuaternion_t(double w, double x, double y, double z) {
23 | super();
24 | this.w = w;
25 | this.x = x;
26 | this.y = y;
27 | this.z = z;
28 | }
29 | public HmdQuaternion_t(Pointer peer) {
30 | super(peer);
31 | }
32 | public static class ByReference extends HmdQuaternion_t implements Structure.ByReference {
33 |
34 | };
35 | public static class ByValue extends HmdQuaternion_t implements Structure.ByValue {
36 |
37 | };
38 | }
39 |
--------------------------------------------------------------------------------
/src/jopenvr/HmdRect2_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class HmdRect2_t extends Structure {
12 | /** C type : HmdVector2_t */
13 | public HmdVector2_t vTopLeft;
14 | /** C type : HmdVector2_t */
15 | public HmdVector2_t vBottomRight;
16 | public HmdRect2_t() {
17 | super();
18 | }
19 | protected List > getFieldOrder() {
20 | return Arrays.asList("vTopLeft", "vBottomRight");
21 | }
22 | /**
23 | * @param vTopLeft C type : HmdVector2_t
24 | * @param vBottomRight C type : HmdVector2_t
25 | */
26 | public HmdRect2_t(HmdVector2_t vTopLeft, HmdVector2_t vBottomRight) {
27 | super();
28 | this.vTopLeft = vTopLeft;
29 | this.vBottomRight = vBottomRight;
30 | }
31 | public HmdRect2_t(Pointer peer) {
32 | super(peer);
33 | }
34 | public static class ByReference extends HmdRect2_t implements Structure.ByReference {
35 |
36 | };
37 | public static class ByValue extends HmdRect2_t implements Structure.ByValue {
38 |
39 | };
40 | }
41 |
--------------------------------------------------------------------------------
/src/jopenvr/HmdVector2_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class HmdVector2_t extends Structure {
12 | /**
13 | * float[2]
14 | * C type : float[2]
15 | */
16 | public float[] v = new float[2];
17 | public HmdVector2_t() {
18 | super();
19 | }
20 | protected List > getFieldOrder() {
21 | return Arrays.asList("v");
22 | }
23 | /**
24 | * @param v float[2]
25 | * C type : float[2]
26 | */
27 | public HmdVector2_t(float v[]) {
28 | super();
29 | if ((v.length != this.v.length))
30 | throw new IllegalArgumentException("Wrong array size !");
31 | this.v = v;
32 | }
33 | public HmdVector2_t(Pointer peer) {
34 | super(peer);
35 | }
36 | public static class ByReference extends HmdVector2_t implements Structure.ByReference {
37 |
38 | };
39 | public static class ByValue extends HmdVector2_t implements Structure.ByValue {
40 |
41 | };
42 | }
43 |
--------------------------------------------------------------------------------
/src/jopenvr/HmdVector3_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class HmdVector3_t extends Structure {
12 | /**
13 | * float[3]
14 | * C type : float[3]
15 | */
16 | public float[] v = new float[3];
17 | public HmdVector3_t() {
18 | super();
19 | }
20 | protected List > getFieldOrder() {
21 | return Arrays.asList("v");
22 | }
23 | /**
24 | * @param v float[3]
25 | * C type : float[3]
26 | */
27 | public HmdVector3_t(float v[]) {
28 | super();
29 | if ((v.length != this.v.length))
30 | throw new IllegalArgumentException("Wrong array size !");
31 | this.v = v;
32 | }
33 | public HmdVector3_t(Pointer peer) {
34 | super(peer);
35 | }
36 | public static class ByReference extends HmdVector3_t implements Structure.ByReference {
37 |
38 | };
39 | public static class ByValue extends HmdVector3_t implements Structure.ByValue {
40 |
41 | };
42 | }
43 |
--------------------------------------------------------------------------------
/src/jopenvr/HmdVector3d_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class HmdVector3d_t extends Structure {
12 | /**
13 | * double[3]
14 | * C type : double[3]
15 | */
16 | public double[] v = new double[3];
17 | public HmdVector3d_t() {
18 | super();
19 | }
20 | protected List > getFieldOrder() {
21 | return Arrays.asList("v");
22 | }
23 | /**
24 | * @param v double[3]
25 | * C type : double[3]
26 | */
27 | public HmdVector3d_t(double v[]) {
28 | super();
29 | if ((v.length != this.v.length))
30 | throw new IllegalArgumentException("Wrong array size !");
31 | this.v = v;
32 | }
33 | public HmdVector3d_t(Pointer peer) {
34 | super(peer);
35 | }
36 | public static class ByReference extends HmdVector3d_t implements Structure.ByReference {
37 |
38 | };
39 | public static class ByValue extends HmdVector3d_t implements Structure.ByValue {
40 |
41 | };
42 | }
43 |
--------------------------------------------------------------------------------
/src/jopenvr/HmdVector4_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class HmdVector4_t extends Structure {
12 | /**
13 | * float[4]
14 | * C type : float[4]
15 | */
16 | public float[] v = new float[4];
17 | public HmdVector4_t() {
18 | super();
19 | }
20 | protected List > getFieldOrder() {
21 | return Arrays.asList("v");
22 | }
23 | /**
24 | * @param v float[4]
25 | * C type : float[4]
26 | */
27 | public HmdVector4_t(float v[]) {
28 | super();
29 | if ((v.length != this.v.length))
30 | throw new IllegalArgumentException("Wrong array size !");
31 | this.v = v;
32 | }
33 | public HmdVector4_t(Pointer peer) {
34 | super(peer);
35 | }
36 | public static class ByReference extends HmdVector4_t implements Structure.ByReference {
37 |
38 | };
39 | public static class ByValue extends HmdVector4_t implements Structure.ByValue {
40 |
41 | };
42 | }
43 |
--------------------------------------------------------------------------------
/src/jopenvr/NotificationBitmap_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class NotificationBitmap_t extends Structure {
12 | /**
13 | * void *
14 | * C type : void*
15 | */
16 | public Pointer m_pImageData;
17 | public int m_nWidth;
18 | public int m_nHeight;
19 | public int m_nBytesPerPixel;
20 | public NotificationBitmap_t() {
21 | super();
22 | }
23 | protected List > getFieldOrder() {
24 | return Arrays.asList("m_pImageData", "m_nWidth", "m_nHeight", "m_nBytesPerPixel");
25 | }
26 | /**
27 | * @param m_pImageData void *
28 | * C type : void*
29 | */
30 | public NotificationBitmap_t(Pointer m_pImageData, int m_nWidth, int m_nHeight, int m_nBytesPerPixel) {
31 | super();
32 | this.m_pImageData = m_pImageData;
33 | this.m_nWidth = m_nWidth;
34 | this.m_nHeight = m_nHeight;
35 | this.m_nBytesPerPixel = m_nBytesPerPixel;
36 | }
37 | public NotificationBitmap_t(Pointer peer) {
38 | super(peer);
39 | }
40 | public static class ByReference extends NotificationBitmap_t implements Structure.ByReference {
41 |
42 | };
43 | public static class ByValue extends NotificationBitmap_t implements Structure.ByValue {
44 |
45 | };
46 | }
47 |
--------------------------------------------------------------------------------
/src/jopenvr/RenderModel_ComponentState_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class RenderModel_ComponentState_t extends Structure {
12 | /** C type : HmdMatrix34_t */
13 | public HmdMatrix34_t mTrackingToComponentRenderModel;
14 | /** C type : HmdMatrix34_t */
15 | public HmdMatrix34_t mTrackingToComponentLocal;
16 | /** C type : VRComponentProperties */
17 | public int uProperties;
18 | public RenderModel_ComponentState_t() {
19 | super();
20 | }
21 | protected List > getFieldOrder() {
22 | return Arrays.asList("mTrackingToComponentRenderModel", "mTrackingToComponentLocal", "uProperties");
23 | }
24 | /**
25 | * @param mTrackingToComponentRenderModel C type : HmdMatrix34_t
26 | * @param mTrackingToComponentLocal C type : HmdMatrix34_t
27 | * @param uProperties C type : VRComponentProperties
28 | */
29 | public RenderModel_ComponentState_t(HmdMatrix34_t mTrackingToComponentRenderModel, HmdMatrix34_t mTrackingToComponentLocal, int uProperties) {
30 | super();
31 | this.mTrackingToComponentRenderModel = mTrackingToComponentRenderModel;
32 | this.mTrackingToComponentLocal = mTrackingToComponentLocal;
33 | this.uProperties = uProperties;
34 | }
35 | public RenderModel_ComponentState_t(Pointer peer) {
36 | super(peer);
37 | }
38 | public static class ByReference extends RenderModel_ComponentState_t implements Structure.ByReference {
39 |
40 | };
41 | public static class ByValue extends RenderModel_ComponentState_t implements Structure.ByValue {
42 |
43 | };
44 | }
45 |
--------------------------------------------------------------------------------
/src/jopenvr/RenderModel_ControllerMode_State_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class RenderModel_ControllerMode_State_t extends Structure {
12 | public byte bScrollWheelVisible;
13 | public RenderModel_ControllerMode_State_t() {
14 | super();
15 | }
16 | protected List > getFieldOrder() {
17 | return Arrays.asList("bScrollWheelVisible");
18 | }
19 | public RenderModel_ControllerMode_State_t(byte bScrollWheelVisible) {
20 | super();
21 | this.bScrollWheelVisible = bScrollWheelVisible;
22 | }
23 | public RenderModel_ControllerMode_State_t(Pointer peer) {
24 | super(peer);
25 | }
26 | public static class ByReference extends RenderModel_ControllerMode_State_t implements Structure.ByReference {
27 |
28 | };
29 | public static class ByValue extends RenderModel_ControllerMode_State_t implements Structure.ByValue {
30 |
31 | };
32 | }
33 |
--------------------------------------------------------------------------------
/src/jopenvr/RenderModel_TextureMap_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class RenderModel_TextureMap_t extends Structure {
12 | public short unWidth;
13 | public short unHeight;
14 | /**
15 | * const uint8_t *
16 | * C type : uint8_t*
17 | */
18 | public Pointer rubTextureMapData;
19 | public RenderModel_TextureMap_t() {
20 | super();
21 | }
22 | protected List > getFieldOrder() {
23 | return Arrays.asList("unWidth", "unHeight", "rubTextureMapData");
24 | }
25 | /**
26 | * @param rubTextureMapData const uint8_t *
27 | * C type : uint8_t*
28 | */
29 | public RenderModel_TextureMap_t(short unWidth, short unHeight, Pointer rubTextureMapData) {
30 | super();
31 | this.unWidth = unWidth;
32 | this.unHeight = unHeight;
33 | this.rubTextureMapData = rubTextureMapData;
34 | }
35 | public RenderModel_TextureMap_t(Pointer peer) {
36 | super(peer);
37 | }
38 | public static class ByReference extends RenderModel_TextureMap_t implements Structure.ByReference {
39 |
40 | };
41 | public static class ByValue extends RenderModel_TextureMap_t implements Structure.ByValue {
42 |
43 | };
44 | }
45 |
--------------------------------------------------------------------------------
/src/jopenvr/RenderModel_Vertex_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class RenderModel_Vertex_t extends Structure {
12 | /** C type : HmdVector3_t */
13 | public HmdVector3_t vPosition;
14 | /** C type : HmdVector3_t */
15 | public HmdVector3_t vNormal;
16 | /**
17 | * float[2]
18 | * C type : float[2]
19 | */
20 | public float[] rfTextureCoord = new float[2];
21 | public RenderModel_Vertex_t() {
22 | super();
23 | }
24 | protected List > getFieldOrder() {
25 | return Arrays.asList("vPosition", "vNormal", "rfTextureCoord");
26 | }
27 | /**
28 | * @param vPosition C type : HmdVector3_t
29 | * @param vNormal C type : HmdVector3_t
30 | * @param rfTextureCoord float[2]
31 | * C type : float[2]
32 | */
33 | public RenderModel_Vertex_t(HmdVector3_t vPosition, HmdVector3_t vNormal, float rfTextureCoord[]) {
34 | super();
35 | this.vPosition = vPosition;
36 | this.vNormal = vNormal;
37 | if ((rfTextureCoord.length != this.rfTextureCoord.length))
38 | throw new IllegalArgumentException("Wrong array size !");
39 | this.rfTextureCoord = rfTextureCoord;
40 | }
41 | public RenderModel_Vertex_t(Pointer peer) {
42 | super(peer);
43 | }
44 | public static class ByReference extends RenderModel_Vertex_t implements Structure.ByReference {
45 |
46 | };
47 | public static class ByValue extends RenderModel_Vertex_t implements Structure.ByValue {
48 |
49 | };
50 | }
51 |
--------------------------------------------------------------------------------
/src/jopenvr/RenderModel_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import com.sun.jna.ptr.ShortByReference;
5 | import java.util.Arrays;
6 | import java.util.List;
7 | /**
8 | * This file was autogenerated by JNAerator,
9 | * a tool written by Olivier Chafik that uses a few opensource projects..
10 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
11 | */
12 | public class RenderModel_t extends Structure {
13 | /**
14 | * const struct vr::RenderModel_Vertex_t *
15 | * C type : RenderModel_Vertex_t*
16 | */
17 | public jopenvr.RenderModel_Vertex_t.ByReference rVertexData;
18 | public int unVertexCount;
19 | /**
20 | * const uint16_t *
21 | * C type : uint16_t*
22 | */
23 | public ShortByReference rIndexData;
24 | public int unTriangleCount;
25 | /** C type : TextureID_t */
26 | public int diffuseTextureId;
27 | public RenderModel_t() {
28 | super();
29 | }
30 | protected List > getFieldOrder() {
31 | return Arrays.asList("rVertexData", "unVertexCount", "rIndexData", "unTriangleCount", "diffuseTextureId");
32 | }
33 | /**
34 | * @param rVertexData const struct vr::RenderModel_Vertex_t *
35 | * C type : RenderModel_Vertex_t*
36 | * @param rIndexData const uint16_t *
37 | * C type : uint16_t*
38 | * @param diffuseTextureId C type : TextureID_t
39 | */
40 | public RenderModel_t(jopenvr.RenderModel_Vertex_t.ByReference rVertexData, int unVertexCount, ShortByReference rIndexData, int unTriangleCount, int diffuseTextureId) {
41 | super();
42 | this.rVertexData = rVertexData;
43 | this.unVertexCount = unVertexCount;
44 | this.rIndexData = rIndexData;
45 | this.unTriangleCount = unTriangleCount;
46 | this.diffuseTextureId = diffuseTextureId;
47 | }
48 | public RenderModel_t(Pointer peer) {
49 | super(peer);
50 | }
51 | public static class ByReference extends RenderModel_t implements Structure.ByReference {
52 |
53 | };
54 | public static class ByValue extends RenderModel_t implements Structure.ByValue {
55 |
56 | };
57 | }
58 |
--------------------------------------------------------------------------------
/src/jopenvr/Texture_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class Texture_t extends Structure {
12 | /**
13 | * void *
14 | * C type : void*
15 | */
16 | public int handle;
17 | /**
18 | * @see EGraphicsAPIConvention
19 | * C type : EGraphicsAPIConvention
20 | */
21 | public int eType;
22 | /**
23 | * @see EColorSpace
24 | * C type : EColorSpace
25 | */
26 | public int eColorSpace;
27 | public Texture_t() {
28 | super();
29 | }
30 | protected List > getFieldOrder() {
31 | return Arrays.asList("handle", "eType", "eColorSpace");
32 | }
33 | /**
34 | * @param handle void *
35 | * C type : void*
36 | * @param eType @see EGraphicsAPIConvention
37 | * C type : EGraphicsAPIConvention
38 | * @param eColorSpace @see EColorSpace
39 | * C type : EColorSpace
40 | */
41 | public Texture_t(int handle, int eType, int eColorSpace) {
42 | super();
43 | this.handle = handle;
44 | this.eType = eType;
45 | this.eColorSpace = eColorSpace;
46 | }
47 | public Texture_t(Pointer peer) {
48 | super(peer);
49 | }
50 | public static class ByReference extends Texture_t implements Structure.ByReference {
51 |
52 | };
53 | public static class ByValue extends Texture_t implements Structure.ByValue {
54 |
55 | };
56 | }
57 |
--------------------------------------------------------------------------------
/src/jopenvr/TrackedDevicePose_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class TrackedDevicePose_t extends Structure {
12 | /** C type : HmdMatrix34_t */
13 | public HmdMatrix34_t mDeviceToAbsoluteTracking;
14 | /** C type : HmdVector3_t */
15 | public HmdVector3_t vVelocity;
16 | /** C type : HmdVector3_t */
17 | public HmdVector3_t vAngularVelocity;
18 | /**
19 | * @see ETrackingResult
20 | * C type : ETrackingResult
21 | */
22 | public int eTrackingResult;
23 | public byte bPoseIsValid;
24 | public byte bDeviceIsConnected;
25 | public TrackedDevicePose_t() {
26 | super();
27 | }
28 | protected List > getFieldOrder() {
29 | return Arrays.asList("mDeviceToAbsoluteTracking", "vVelocity", "vAngularVelocity", "eTrackingResult", "bPoseIsValid", "bDeviceIsConnected");
30 | }
31 | /**
32 | * @param mDeviceToAbsoluteTracking C type : HmdMatrix34_t
33 | * @param vVelocity C type : HmdVector3_t
34 | * @param vAngularVelocity C type : HmdVector3_t
35 | * @param eTrackingResult @see ETrackingResult
36 | * C type : ETrackingResult
37 | */
38 | public TrackedDevicePose_t(HmdMatrix34_t mDeviceToAbsoluteTracking, HmdVector3_t vVelocity, HmdVector3_t vAngularVelocity, int eTrackingResult, byte bPoseIsValid, byte bDeviceIsConnected) {
39 | super();
40 | this.mDeviceToAbsoluteTracking = mDeviceToAbsoluteTracking;
41 | this.vVelocity = vVelocity;
42 | this.vAngularVelocity = vAngularVelocity;
43 | this.eTrackingResult = eTrackingResult;
44 | this.bPoseIsValid = bPoseIsValid;
45 | this.bDeviceIsConnected = bDeviceIsConnected;
46 | }
47 | public TrackedDevicePose_t(Pointer peer) {
48 | super(peer);
49 | }
50 | public static class ByReference extends TrackedDevicePose_t implements Structure.ByReference {
51 |
52 | };
53 | public static class ByValue extends TrackedDevicePose_t implements Structure.ByValue {
54 |
55 | };
56 | }
57 |
--------------------------------------------------------------------------------
/src/jopenvr/VRControllerAxis_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VRControllerAxis_t extends Structure {
12 | public float x;
13 | public float y;
14 | public VRControllerAxis_t() {
15 | super();
16 | }
17 | protected List > getFieldOrder() {
18 | return Arrays.asList("x", "y");
19 | }
20 | public VRControllerAxis_t(float x, float y) {
21 | super();
22 | this.x = x;
23 | this.y = y;
24 | }
25 | public VRControllerAxis_t(Pointer peer) {
26 | super(peer);
27 | }
28 | public static class ByReference extends VRControllerAxis_t implements Structure.ByReference {
29 |
30 | };
31 | public static class ByValue extends VRControllerAxis_t implements Structure.ByValue {
32 |
33 | };
34 | }
35 |
--------------------------------------------------------------------------------
/src/jopenvr/VRControllerState_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VRControllerState_t extends Structure {
12 | public int unPacketNum;
13 | public long ulButtonPressed;
14 | public long ulButtonTouched;
15 | /**
16 | * struct vr::VRControllerAxis_t[5]
17 | * C type : VRControllerAxis_t[5]
18 | */
19 | public VRControllerAxis_t[] rAxis = new VRControllerAxis_t[5];
20 | public VRControllerState_t() {
21 | super();
22 | }
23 | protected List > getFieldOrder() {
24 | return Arrays.asList("unPacketNum", "ulButtonPressed", "ulButtonTouched", "rAxis");
25 | }
26 | /**
27 | * @param rAxis struct vr::VRControllerAxis_t[5]
28 | * C type : VRControllerAxis_t[5]
29 | */
30 | public VRControllerState_t(int unPacketNum, long ulButtonPressed, long ulButtonTouched, VRControllerAxis_t rAxis[]) {
31 | super();
32 | this.unPacketNum = unPacketNum;
33 | this.ulButtonPressed = ulButtonPressed;
34 | this.ulButtonTouched = ulButtonTouched;
35 | if ((rAxis.length != this.rAxis.length))
36 | throw new IllegalArgumentException("Wrong array size !");
37 | this.rAxis = rAxis;
38 | }
39 | public VRControllerState_t(Pointer peer) {
40 | super(peer);
41 | }
42 | public static class ByReference extends VRControllerState_t implements Structure.ByReference {
43 |
44 | };
45 | public static class ByValue extends VRControllerState_t implements Structure.ByValue {
46 |
47 | };
48 | }
49 |
--------------------------------------------------------------------------------
/src/jopenvr/VREvent_ApplicationLaunch_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VREvent_ApplicationLaunch_t extends Structure {
12 | public int pid;
13 | public int unArgsHandle;
14 | public VREvent_ApplicationLaunch_t() {
15 | super();
16 | }
17 | protected List > getFieldOrder() {
18 | return Arrays.asList("pid", "unArgsHandle");
19 | }
20 | public VREvent_ApplicationLaunch_t(int pid, int unArgsHandle) {
21 | super();
22 | this.pid = pid;
23 | this.unArgsHandle = unArgsHandle;
24 | }
25 | public VREvent_ApplicationLaunch_t(Pointer peer) {
26 | super(peer);
27 | }
28 | public static class ByReference extends VREvent_ApplicationLaunch_t implements Structure.ByReference {
29 |
30 | };
31 | public static class ByValue extends VREvent_ApplicationLaunch_t implements Structure.ByValue {
32 |
33 | };
34 | }
35 |
--------------------------------------------------------------------------------
/src/jopenvr/VREvent_Chaperone_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VREvent_Chaperone_t extends Structure {
12 | public long m_nPreviousUniverse;
13 | public long m_nCurrentUniverse;
14 | public VREvent_Chaperone_t() {
15 | super();
16 | }
17 | protected List > getFieldOrder() {
18 | return Arrays.asList("m_nPreviousUniverse", "m_nCurrentUniverse");
19 | }
20 | public VREvent_Chaperone_t(long m_nPreviousUniverse, long m_nCurrentUniverse) {
21 | super();
22 | this.m_nPreviousUniverse = m_nPreviousUniverse;
23 | this.m_nCurrentUniverse = m_nCurrentUniverse;
24 | }
25 | public VREvent_Chaperone_t(Pointer peer) {
26 | super(peer);
27 | }
28 | public static class ByReference extends VREvent_Chaperone_t implements Structure.ByReference {
29 |
30 | };
31 | public static class ByValue extends VREvent_Chaperone_t implements Structure.ByValue {
32 |
33 | };
34 | }
35 |
--------------------------------------------------------------------------------
/src/jopenvr/VREvent_Controller_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VREvent_Controller_t extends Structure {
12 | public int button;
13 | public VREvent_Controller_t() {
14 | super();
15 | }
16 | protected List > getFieldOrder() {
17 | return Arrays.asList("button");
18 | }
19 | public VREvent_Controller_t(int button) {
20 | super();
21 | this.button = button;
22 | }
23 | public VREvent_Controller_t(Pointer peer) {
24 | super(peer);
25 | }
26 | public static class ByReference extends VREvent_Controller_t implements Structure.ByReference {
27 |
28 | };
29 | public static class ByValue extends VREvent_Controller_t implements Structure.ByValue {
30 |
31 | };
32 | }
33 |
--------------------------------------------------------------------------------
/src/jopenvr/VREvent_Ipd_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VREvent_Ipd_t extends Structure {
12 | public float ipdMeters;
13 | public VREvent_Ipd_t() {
14 | super();
15 | }
16 | protected List > getFieldOrder() {
17 | return Arrays.asList("ipdMeters");
18 | }
19 | public VREvent_Ipd_t(float ipdMeters) {
20 | super();
21 | this.ipdMeters = ipdMeters;
22 | }
23 | public VREvent_Ipd_t(Pointer peer) {
24 | super(peer);
25 | }
26 | public static class ByReference extends VREvent_Ipd_t implements Structure.ByReference {
27 |
28 | };
29 | public static class ByValue extends VREvent_Ipd_t implements Structure.ByValue {
30 |
31 | };
32 | }
33 |
--------------------------------------------------------------------------------
/src/jopenvr/VREvent_Keyboard_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VREvent_Keyboard_t extends Structure {
12 | /**
13 | * char[8]
14 | * C type : char*[8]
15 | */
16 | public Pointer[] cNewInput = new Pointer[8];
17 | public long uUserValue;
18 | public VREvent_Keyboard_t() {
19 | super();
20 | }
21 | protected List > getFieldOrder() {
22 | return Arrays.asList("cNewInput", "uUserValue");
23 | }
24 | /**
25 | * @param cNewInput char[8]
26 | * C type : char*[8]
27 | */
28 | public VREvent_Keyboard_t(Pointer cNewInput[], long uUserValue) {
29 | super();
30 | if ((cNewInput.length != this.cNewInput.length))
31 | throw new IllegalArgumentException("Wrong array size !");
32 | this.cNewInput = cNewInput;
33 | this.uUserValue = uUserValue;
34 | }
35 | public VREvent_Keyboard_t(Pointer peer) {
36 | super(peer);
37 | }
38 | public static class ByReference extends VREvent_Keyboard_t implements Structure.ByReference {
39 |
40 | };
41 | public static class ByValue extends VREvent_Keyboard_t implements Structure.ByValue {
42 |
43 | };
44 | }
45 |
--------------------------------------------------------------------------------
/src/jopenvr/VREvent_Mouse_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VREvent_Mouse_t extends Structure {
12 | public float x;
13 | public float y;
14 | public int button;
15 | public VREvent_Mouse_t() {
16 | super();
17 | }
18 | protected List > getFieldOrder() {
19 | return Arrays.asList("x", "y", "button");
20 | }
21 | public VREvent_Mouse_t(float x, float y, int button) {
22 | super();
23 | this.x = x;
24 | this.y = y;
25 | this.button = button;
26 | }
27 | public VREvent_Mouse_t(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends VREvent_Mouse_t implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends VREvent_Mouse_t implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/jopenvr/VREvent_Notification_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VREvent_Notification_t extends Structure {
12 | public long ulUserValue;
13 | public int notificationId;
14 | public VREvent_Notification_t() {
15 | super();
16 | }
17 | protected List > getFieldOrder() {
18 | return Arrays.asList("ulUserValue", "notificationId");
19 | }
20 | public VREvent_Notification_t(long ulUserValue, int notificationId) {
21 | super();
22 | this.ulUserValue = ulUserValue;
23 | this.notificationId = notificationId;
24 | }
25 | public VREvent_Notification_t(Pointer peer) {
26 | super(peer);
27 | }
28 | public static class ByReference extends VREvent_Notification_t implements Structure.ByReference {
29 |
30 | };
31 | public static class ByValue extends VREvent_Notification_t implements Structure.ByValue {
32 |
33 | };
34 | }
35 |
--------------------------------------------------------------------------------
/src/jopenvr/VREvent_Overlay_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VREvent_Overlay_t extends Structure {
12 | public long overlayHandle;
13 | public VREvent_Overlay_t() {
14 | super();
15 | }
16 | protected List > getFieldOrder() {
17 | return Arrays.asList("overlayHandle");
18 | }
19 | public VREvent_Overlay_t(long overlayHandle) {
20 | super();
21 | this.overlayHandle = overlayHandle;
22 | }
23 | public VREvent_Overlay_t(Pointer peer) {
24 | super(peer);
25 | }
26 | public static class ByReference extends VREvent_Overlay_t implements Structure.ByReference {
27 |
28 | };
29 | public static class ByValue extends VREvent_Overlay_t implements Structure.ByValue {
30 |
31 | };
32 | }
33 |
--------------------------------------------------------------------------------
/src/jopenvr/VREvent_PerformanceTest_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VREvent_PerformanceTest_t extends Structure {
12 | public int m_nFidelityLevel;
13 | public VREvent_PerformanceTest_t() {
14 | super();
15 | }
16 | protected List > getFieldOrder() {
17 | return Arrays.asList("m_nFidelityLevel");
18 | }
19 | public VREvent_PerformanceTest_t(int m_nFidelityLevel) {
20 | super();
21 | this.m_nFidelityLevel = m_nFidelityLevel;
22 | }
23 | public VREvent_PerformanceTest_t(Pointer peer) {
24 | super(peer);
25 | }
26 | public static class ByReference extends VREvent_PerformanceTest_t implements Structure.ByReference {
27 |
28 | };
29 | public static class ByValue extends VREvent_PerformanceTest_t implements Structure.ByValue {
30 |
31 | };
32 | }
33 |
--------------------------------------------------------------------------------
/src/jopenvr/VREvent_Process_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VREvent_Process_t extends Structure {
12 | public int pid;
13 | public int oldPid;
14 | public byte bForced;
15 | public VREvent_Process_t() {
16 | super();
17 | }
18 | protected List > getFieldOrder() {
19 | return Arrays.asList("pid", "oldPid", "bForced");
20 | }
21 | public VREvent_Process_t(int pid, int oldPid, byte bForced) {
22 | super();
23 | this.pid = pid;
24 | this.oldPid = oldPid;
25 | this.bForced = bForced;
26 | }
27 | public VREvent_Process_t(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends VREvent_Process_t implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends VREvent_Process_t implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/jopenvr/VREvent_Reserved_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VREvent_Reserved_t extends Structure {
12 | public long reserved0;
13 | public long reserved1;
14 | public VREvent_Reserved_t() {
15 | super();
16 | }
17 | protected List > getFieldOrder() {
18 | return Arrays.asList("reserved0", "reserved1");
19 | }
20 | public VREvent_Reserved_t(long reserved0, long reserved1) {
21 | super();
22 | this.reserved0 = reserved0;
23 | this.reserved1 = reserved1;
24 | }
25 | public VREvent_Reserved_t(Pointer peer) {
26 | super(peer);
27 | }
28 | public static class ByReference extends VREvent_Reserved_t implements Structure.ByReference {
29 |
30 | };
31 | public static class ByValue extends VREvent_Reserved_t implements Structure.ByValue {
32 |
33 | };
34 | }
35 |
--------------------------------------------------------------------------------
/src/jopenvr/VREvent_ScreenshotProgress_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VREvent_ScreenshotProgress_t extends Structure {
12 | public float progress;
13 | public VREvent_ScreenshotProgress_t() {
14 | super();
15 | }
16 | protected List > getFieldOrder() {
17 | return Arrays.asList("progress");
18 | }
19 | public VREvent_ScreenshotProgress_t(float progress) {
20 | super();
21 | this.progress = progress;
22 | }
23 | public VREvent_ScreenshotProgress_t(Pointer peer) {
24 | super(peer);
25 | }
26 | public static class ByReference extends VREvent_ScreenshotProgress_t implements Structure.ByReference {
27 |
28 | };
29 | public static class ByValue extends VREvent_ScreenshotProgress_t implements Structure.ByValue {
30 |
31 | };
32 | }
33 |
--------------------------------------------------------------------------------
/src/jopenvr/VREvent_Screenshot_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VREvent_Screenshot_t extends Structure {
12 | public int handle;
13 | public int type;
14 | public VREvent_Screenshot_t() {
15 | super();
16 | }
17 | protected List > getFieldOrder() {
18 | return Arrays.asList("handle", "type");
19 | }
20 | public VREvent_Screenshot_t(int handle, int type) {
21 | super();
22 | this.handle = handle;
23 | this.type = type;
24 | }
25 | public VREvent_Screenshot_t(Pointer peer) {
26 | super(peer);
27 | }
28 | public static class ByReference extends VREvent_Screenshot_t implements Structure.ByReference {
29 |
30 | };
31 | public static class ByValue extends VREvent_Screenshot_t implements Structure.ByValue {
32 |
33 | };
34 | }
35 |
--------------------------------------------------------------------------------
/src/jopenvr/VREvent_Scroll_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VREvent_Scroll_t extends Structure {
12 | public float xdelta;
13 | public float ydelta;
14 | public int repeatCount;
15 | public VREvent_Scroll_t() {
16 | super();
17 | }
18 | protected List > getFieldOrder() {
19 | return Arrays.asList("xdelta", "ydelta", "repeatCount");
20 | }
21 | public VREvent_Scroll_t(float xdelta, float ydelta, int repeatCount) {
22 | super();
23 | this.xdelta = xdelta;
24 | this.ydelta = ydelta;
25 | this.repeatCount = repeatCount;
26 | }
27 | public VREvent_Scroll_t(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends VREvent_Scroll_t implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends VREvent_Scroll_t implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/jopenvr/VREvent_SeatedZeroPoseReset_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VREvent_SeatedZeroPoseReset_t extends Structure {
12 | public byte bResetBySystemMenu;
13 | public VREvent_SeatedZeroPoseReset_t() {
14 | super();
15 | }
16 | protected List > getFieldOrder() {
17 | return Arrays.asList("bResetBySystemMenu");
18 | }
19 | public VREvent_SeatedZeroPoseReset_t(byte bResetBySystemMenu) {
20 | super();
21 | this.bResetBySystemMenu = bResetBySystemMenu;
22 | }
23 | public VREvent_SeatedZeroPoseReset_t(Pointer peer) {
24 | super(peer);
25 | }
26 | public static class ByReference extends VREvent_SeatedZeroPoseReset_t implements Structure.ByReference {
27 |
28 | };
29 | public static class ByValue extends VREvent_SeatedZeroPoseReset_t implements Structure.ByValue {
30 |
31 | };
32 | }
33 |
--------------------------------------------------------------------------------
/src/jopenvr/VREvent_Status_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VREvent_Status_t extends Structure {
12 | public int statusState;
13 | public VREvent_Status_t() {
14 | super();
15 | }
16 | protected List > getFieldOrder() {
17 | return Arrays.asList("statusState");
18 | }
19 | public VREvent_Status_t(int statusState) {
20 | super();
21 | this.statusState = statusState;
22 | }
23 | public VREvent_Status_t(Pointer peer) {
24 | super(peer);
25 | }
26 | public static class ByReference extends VREvent_Status_t implements Structure.ByReference {
27 |
28 | };
29 | public static class ByValue extends VREvent_Status_t implements Structure.ByValue {
30 |
31 | };
32 | }
33 |
--------------------------------------------------------------------------------
/src/jopenvr/VREvent_TouchPadMove_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VREvent_TouchPadMove_t extends Structure {
12 | public byte bFingerDown;
13 | public float flSecondsFingerDown;
14 | public float fValueXFirst;
15 | public float fValueYFirst;
16 | public float fValueXRaw;
17 | public float fValueYRaw;
18 | public VREvent_TouchPadMove_t() {
19 | super();
20 | }
21 | protected List > getFieldOrder() {
22 | return Arrays.asList("bFingerDown", "flSecondsFingerDown", "fValueXFirst", "fValueYFirst", "fValueXRaw", "fValueYRaw");
23 | }
24 | public VREvent_TouchPadMove_t(byte bFingerDown, float flSecondsFingerDown, float fValueXFirst, float fValueYFirst, float fValueXRaw, float fValueYRaw) {
25 | super();
26 | this.bFingerDown = bFingerDown;
27 | this.flSecondsFingerDown = flSecondsFingerDown;
28 | this.fValueXFirst = fValueXFirst;
29 | this.fValueYFirst = fValueYFirst;
30 | this.fValueXRaw = fValueXRaw;
31 | this.fValueYRaw = fValueYRaw;
32 | }
33 | public VREvent_TouchPadMove_t(Pointer peer) {
34 | super(peer);
35 | }
36 | public static class ByReference extends VREvent_TouchPadMove_t implements Structure.ByReference {
37 |
38 | };
39 | public static class ByValue extends VREvent_TouchPadMove_t implements Structure.ByValue {
40 |
41 | };
42 | }
43 |
--------------------------------------------------------------------------------
/src/jopenvr/VREvent_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * An event posted by the server to all running applications
8 | * This file was autogenerated by JNAerator,
9 | * a tool written by Olivier Chafik that uses a few opensource projects..
10 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
11 | */
12 | public class VREvent_t extends Structure {
13 | /** EVREventType enum */
14 | public int eventType;
15 | /** C type : TrackedDeviceIndex_t */
16 | public int trackedDeviceIndex;
17 | public float eventAgeSeconds;
18 | /** C type : VREvent_Data_t */
19 | public VREvent_Data_t data;
20 | public VREvent_t() {
21 | super();
22 | }
23 | protected List > getFieldOrder() {
24 | return Arrays.asList("eventType", "trackedDeviceIndex", "eventAgeSeconds", "data");
25 | }
26 | /**
27 | * @param eventType EVREventType enum
28 | * @param trackedDeviceIndex C type : TrackedDeviceIndex_t
29 | * @param data C type : VREvent_Data_t
30 | */
31 | public VREvent_t(int eventType, int trackedDeviceIndex, float eventAgeSeconds, VREvent_Data_t data) {
32 | super();
33 | this.eventType = eventType;
34 | this.trackedDeviceIndex = trackedDeviceIndex;
35 | this.eventAgeSeconds = eventAgeSeconds;
36 | this.data = data;
37 | }
38 | public VREvent_t(Pointer peer) {
39 | super(peer);
40 | }
41 | public static class ByReference extends VREvent_t implements Structure.ByReference {
42 |
43 | };
44 | public static class ByValue extends VREvent_t implements Structure.ByValue {
45 |
46 | };
47 | }
48 |
--------------------------------------------------------------------------------
/src/jopenvr/VROverlayIntersectionParams_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VROverlayIntersectionParams_t extends Structure {
12 | /** C type : HmdVector3_t */
13 | public HmdVector3_t vSource;
14 | /** C type : HmdVector3_t */
15 | public HmdVector3_t vDirection;
16 | /**
17 | * @see ETrackingUniverseOrigin
18 | * C type : ETrackingUniverseOrigin
19 | */
20 | public int eOrigin;
21 | public VROverlayIntersectionParams_t() {
22 | super();
23 | }
24 | protected List > getFieldOrder() {
25 | return Arrays.asList("vSource", "vDirection", "eOrigin");
26 | }
27 | /**
28 | * @param vSource C type : HmdVector3_t
29 | * @param vDirection C type : HmdVector3_t
30 | * @param eOrigin @see ETrackingUniverseOrigin
31 | * C type : ETrackingUniverseOrigin
32 | */
33 | public VROverlayIntersectionParams_t(HmdVector3_t vSource, HmdVector3_t vDirection, int eOrigin) {
34 | super();
35 | this.vSource = vSource;
36 | this.vDirection = vDirection;
37 | this.eOrigin = eOrigin;
38 | }
39 | public VROverlayIntersectionParams_t(Pointer peer) {
40 | super(peer);
41 | }
42 | public static class ByReference extends VROverlayIntersectionParams_t implements Structure.ByReference {
43 |
44 | };
45 | public static class ByValue extends VROverlayIntersectionParams_t implements Structure.ByValue {
46 |
47 | };
48 | }
49 |
--------------------------------------------------------------------------------
/src/jopenvr/VROverlayIntersectionResults_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VROverlayIntersectionResults_t extends Structure {
12 | /** C type : HmdVector3_t */
13 | public HmdVector3_t vPoint;
14 | /** C type : HmdVector3_t */
15 | public HmdVector3_t vNormal;
16 | /** C type : HmdVector2_t */
17 | public HmdVector2_t vUVs;
18 | public float fDistance;
19 | public VROverlayIntersectionResults_t() {
20 | super();
21 | }
22 | protected List > getFieldOrder() {
23 | return Arrays.asList("vPoint", "vNormal", "vUVs", "fDistance");
24 | }
25 | /**
26 | * @param vPoint C type : HmdVector3_t
27 | * @param vNormal C type : HmdVector3_t
28 | * @param vUVs C type : HmdVector2_t
29 | */
30 | public VROverlayIntersectionResults_t(HmdVector3_t vPoint, HmdVector3_t vNormal, HmdVector2_t vUVs, float fDistance) {
31 | super();
32 | this.vPoint = vPoint;
33 | this.vNormal = vNormal;
34 | this.vUVs = vUVs;
35 | this.fDistance = fDistance;
36 | }
37 | public VROverlayIntersectionResults_t(Pointer peer) {
38 | super(peer);
39 | }
40 | public static class ByReference extends VROverlayIntersectionResults_t implements Structure.ByReference {
41 |
42 | };
43 | public static class ByValue extends VROverlayIntersectionResults_t implements Structure.ByValue {
44 |
45 | };
46 | }
47 |
--------------------------------------------------------------------------------
/src/jopenvr/VRTextureBounds_t.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class VRTextureBounds_t extends Structure {
12 | public float uMin;
13 | public float vMin;
14 | public float uMax;
15 | public float vMax;
16 | public VRTextureBounds_t() {
17 | super();
18 | }
19 | protected List > getFieldOrder() {
20 | return Arrays.asList("uMin", "vMin", "uMax", "vMax");
21 | }
22 | public VRTextureBounds_t(float uMin, float vMin, float uMax, float vMax) {
23 | super();
24 | this.uMin = uMin;
25 | this.vMin = vMin;
26 | this.uMax = uMax;
27 | this.vMax = vMax;
28 | }
29 | public VRTextureBounds_t(Pointer peer) {
30 | super(peer);
31 | }
32 | public static class ByReference extends VRTextureBounds_t implements Structure.ByReference {
33 |
34 | };
35 | public static class ByValue extends VRTextureBounds_t implements Structure.ByValue {
36 |
37 | };
38 | }
39 |
--------------------------------------------------------------------------------
/src/jopenvr/VR_IVRExtendedDisplay_FnTable.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Callback;
3 | import com.sun.jna.Pointer;
4 | import com.sun.jna.Structure;
5 | import com.sun.jna.ptr.IntByReference;
6 | import java.util.Arrays;
7 | import java.util.List;
8 | /**
9 | * This file was autogenerated by JNAerator,
10 | * a tool written by Olivier Chafik that uses a few opensource projects..
11 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
12 | */
13 | public class VR_IVRExtendedDisplay_FnTable extends Structure {
14 | /** C type : GetWindowBounds_callback* */
15 | public VR_IVRExtendedDisplay_FnTable.GetWindowBounds_callback GetWindowBounds;
16 | /** C type : GetEyeOutputViewport_callback* */
17 | public VR_IVRExtendedDisplay_FnTable.GetEyeOutputViewport_callback GetEyeOutputViewport;
18 | /** C type : GetDXGIOutputInfo_callback* */
19 | public VR_IVRExtendedDisplay_FnTable.GetDXGIOutputInfo_callback GetDXGIOutputInfo;
20 | public interface GetWindowBounds_callback extends Callback {
21 | void apply(IntByReference pnX, IntByReference pnY, IntByReference pnWidth, IntByReference pnHeight);
22 | };
23 | public interface GetEyeOutputViewport_callback extends Callback {
24 | void apply(int eEye, IntByReference pnX, IntByReference pnY, IntByReference pnWidth, IntByReference pnHeight);
25 | };
26 | public interface GetDXGIOutputInfo_callback extends Callback {
27 | void apply(IntByReference pnAdapterIndex, IntByReference pnAdapterOutputIndex);
28 | };
29 | public VR_IVRExtendedDisplay_FnTable() {
30 | super();
31 | }
32 | protected List > getFieldOrder() {
33 | return Arrays.asList("GetWindowBounds", "GetEyeOutputViewport", "GetDXGIOutputInfo");
34 | }
35 | /**
36 | * @param GetWindowBounds C type : GetWindowBounds_callback*
37 | * @param GetEyeOutputViewport C type : GetEyeOutputViewport_callback*
38 | * @param GetDXGIOutputInfo C type : GetDXGIOutputInfo_callback*
39 | */
40 | public VR_IVRExtendedDisplay_FnTable(VR_IVRExtendedDisplay_FnTable.GetWindowBounds_callback GetWindowBounds, VR_IVRExtendedDisplay_FnTable.GetEyeOutputViewport_callback GetEyeOutputViewport, VR_IVRExtendedDisplay_FnTable.GetDXGIOutputInfo_callback GetDXGIOutputInfo) {
41 | super();
42 | this.GetWindowBounds = GetWindowBounds;
43 | this.GetEyeOutputViewport = GetEyeOutputViewport;
44 | this.GetDXGIOutputInfo = GetDXGIOutputInfo;
45 | }
46 | public VR_IVRExtendedDisplay_FnTable(Pointer peer) {
47 | super(peer);
48 | }
49 | public static class ByReference extends VR_IVRExtendedDisplay_FnTable implements Structure.ByReference {
50 |
51 | };
52 | public static class ByValue extends VR_IVRExtendedDisplay_FnTable implements Structure.ByValue {
53 |
54 | };
55 | }
56 |
--------------------------------------------------------------------------------
/src/jopenvr/VR_IVRNotifications_FnTable.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Callback;
3 | import com.sun.jna.Pointer;
4 | import com.sun.jna.Structure;
5 | import com.sun.jna.ptr.IntByReference;
6 | import java.util.Arrays;
7 | import java.util.List;
8 | /**
9 | * This file was autogenerated by JNAerator,
10 | * a tool written by Olivier Chafik that uses a few opensource projects..
11 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
12 | */
13 | public class VR_IVRNotifications_FnTable extends Structure {
14 | /** C type : CreateNotification_callback* */
15 | public VR_IVRNotifications_FnTable.CreateNotification_callback CreateNotification;
16 | /** C type : RemoveNotification_callback* */
17 | public VR_IVRNotifications_FnTable.RemoveNotification_callback RemoveNotification;
18 | public interface CreateNotification_callback extends Callback {
19 | int apply(long ulOverlayHandle, long ulUserValue, int type, Pointer pchText, int style, NotificationBitmap_t pImage, IntByReference pNotificationId);
20 | };
21 | public interface RemoveNotification_callback extends Callback {
22 | int apply(int notificationId);
23 | };
24 | public VR_IVRNotifications_FnTable() {
25 | super();
26 | }
27 | protected List > getFieldOrder() {
28 | return Arrays.asList("CreateNotification", "RemoveNotification");
29 | }
30 | /**
31 | * @param CreateNotification C type : CreateNotification_callback*
32 | * @param RemoveNotification C type : RemoveNotification_callback*
33 | */
34 | public VR_IVRNotifications_FnTable(VR_IVRNotifications_FnTable.CreateNotification_callback CreateNotification, VR_IVRNotifications_FnTable.RemoveNotification_callback RemoveNotification) {
35 | super();
36 | this.CreateNotification = CreateNotification;
37 | this.RemoveNotification = RemoveNotification;
38 | }
39 | public VR_IVRNotifications_FnTable(Pointer peer) {
40 | super(peer);
41 | }
42 | public static class ByReference extends VR_IVRNotifications_FnTable implements Structure.ByReference {
43 |
44 | };
45 | public static class ByValue extends VR_IVRNotifications_FnTable implements Structure.ByValue {
46 |
47 | };
48 | }
49 |
--------------------------------------------------------------------------------
/src/jopenvr/VR_IVRResources_FnTable.java:
--------------------------------------------------------------------------------
1 | package jopenvr;
2 | import com.sun.jna.Callback;
3 | import com.sun.jna.Pointer;
4 | import com.sun.jna.Structure;
5 | import java.util.Arrays;
6 | import java.util.List;
7 | /**
8 | * This file was autogenerated by JNAerator,
9 | * a tool written by Olivier Chafik that uses a few opensource projects..
10 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
11 | */
12 | public class VR_IVRResources_FnTable extends Structure {
13 | /** C type : LoadSharedResource_callback* */
14 | public VR_IVRResources_FnTable.LoadSharedResource_callback LoadSharedResource;
15 | /** C type : GetResourceFullPath_callback* */
16 | public VR_IVRResources_FnTable.GetResourceFullPath_callback GetResourceFullPath;
17 | public interface LoadSharedResource_callback extends Callback {
18 | int apply(Pointer pchResourceName, Pointer pchBuffer, int unBufferLen);
19 | };
20 | public interface GetResourceFullPath_callback extends Callback {
21 | int apply(Pointer pchResourceName, Pointer pchResourceTypeDirectory, Pointer pchPathBuffer, int unBufferLen);
22 | };
23 | public VR_IVRResources_FnTable() {
24 | super();
25 | }
26 | protected List > getFieldOrder() {
27 | return Arrays.asList("LoadSharedResource", "GetResourceFullPath");
28 | }
29 | /**
30 | * @param LoadSharedResource C type : LoadSharedResource_callback*
31 | * @param GetResourceFullPath C type : GetResourceFullPath_callback*
32 | */
33 | public VR_IVRResources_FnTable(VR_IVRResources_FnTable.LoadSharedResource_callback LoadSharedResource, VR_IVRResources_FnTable.GetResourceFullPath_callback GetResourceFullPath) {
34 | super();
35 | this.LoadSharedResource = LoadSharedResource;
36 | this.GetResourceFullPath = GetResourceFullPath;
37 | }
38 | public VR_IVRResources_FnTable(Pointer peer) {
39 | super(peer);
40 | }
41 | public static class ByReference extends VR_IVRResources_FnTable implements Structure.ByReference {
42 |
43 | };
44 | public static class ByValue extends VR_IVRResources_FnTable implements Structure.ByValue {
45 |
46 | };
47 | }
48 |
--------------------------------------------------------------------------------
/src/linux-x86-64/libopenvr_api.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/linux-x86-64/libopenvr_api.so
--------------------------------------------------------------------------------
/src/linux-x86-64/libopenvr_api.so.dbg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/linux-x86-64/libopenvr_api.so.dbg
--------------------------------------------------------------------------------
/src/linux-x86/libopenvr_api.so:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/linux-x86/libopenvr_api.so
--------------------------------------------------------------------------------
/src/linux-x86/libopenvr_api.so.dbg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/linux-x86/libopenvr_api.so.dbg
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_AccelerationReport.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_AccelerationReport extends Structure {
12 | public int sensor;
13 | /** C type : OSVR_AccelerationState */
14 | public OSVR_AccelerationState state;
15 | public OSVR_AccelerationReport() {
16 | super();
17 | }
18 | protected List > getFieldOrder() {
19 | return Arrays.asList("sensor", "state");
20 | }
21 | /** @param state C type : OSVR_AccelerationState */
22 | public OSVR_AccelerationReport(int sensor, OSVR_AccelerationState state) {
23 | super();
24 | this.sensor = sensor;
25 | this.state = state;
26 | }
27 | public OSVR_AccelerationReport(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends OSVR_AccelerationReport implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends OSVR_AccelerationReport implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_AccelerationState.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_AccelerationState extends Structure {
12 | /** C type : OSVR_LinearAccelerationState */
13 | public OSVR_Vec3 linearAcceleration;
14 | /** C type : OSVR_CBool */
15 | public byte linearAccelerationValid;
16 | /** C type : OSVR_AngularAccelerationState */
17 | public OSVR_IncrementalQuaternion angularAcceleration;
18 | /** C type : OSVR_CBool */
19 | public byte angularAccelerationValid;
20 | public OSVR_AccelerationState() {
21 | super();
22 | }
23 | protected List > getFieldOrder() {
24 | return Arrays.asList("linearAcceleration", "linearAccelerationValid", "angularAcceleration", "angularAccelerationValid");
25 | }
26 | /**
27 | * @param linearAcceleration C type : OSVR_LinearAccelerationState
28 | * @param linearAccelerationValid C type : OSVR_CBool
29 | * @param angularAcceleration C type : OSVR_AngularAccelerationState
30 | * @param angularAccelerationValid C type : OSVR_CBool
31 | */
32 | public OSVR_AccelerationState(OSVR_Vec3 linearAcceleration, byte linearAccelerationValid, OSVR_IncrementalQuaternion angularAcceleration, byte angularAccelerationValid) {
33 | super();
34 | this.linearAcceleration = linearAcceleration;
35 | this.linearAccelerationValid = linearAccelerationValid;
36 | this.angularAcceleration = angularAcceleration;
37 | this.angularAccelerationValid = angularAccelerationValid;
38 | }
39 | public OSVR_AccelerationState(Pointer peer) {
40 | super(peer);
41 | }
42 | public static class ByReference extends OSVR_AccelerationState implements Structure.ByReference {
43 |
44 | };
45 | public static class ByValue extends OSVR_AccelerationState implements Structure.ByValue {
46 |
47 | };
48 | }
49 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_AnalogReport.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_AnalogReport extends Structure {
12 | public int sensor;
13 | /** C type : OSVR_AnalogState */
14 | public double state;
15 | public OSVR_AnalogReport() {
16 | super();
17 | }
18 | protected List > getFieldOrder() {
19 | return Arrays.asList("sensor", "state");
20 | }
21 | /** @param state C type : OSVR_AnalogState */
22 | public OSVR_AnalogReport(int sensor, double state) {
23 | super();
24 | this.sensor = sensor;
25 | this.state = state;
26 | }
27 | public OSVR_AnalogReport(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends OSVR_AnalogReport implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends OSVR_AnalogReport implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_AngularAccelerationReport.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_AngularAccelerationReport extends Structure {
12 | public int sensor;
13 | /** C type : OSVR_AngularAccelerationState */
14 | public OSVR_IncrementalQuaternion state;
15 | public OSVR_AngularAccelerationReport() {
16 | super();
17 | }
18 | protected List > getFieldOrder() {
19 | return Arrays.asList("sensor", "state");
20 | }
21 | /** @param state C type : OSVR_AngularAccelerationState */
22 | public OSVR_AngularAccelerationReport(int sensor, OSVR_IncrementalQuaternion state) {
23 | super();
24 | this.sensor = sensor;
25 | this.state = state;
26 | }
27 | public OSVR_AngularAccelerationReport(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends OSVR_AngularAccelerationReport implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends OSVR_AngularAccelerationReport implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_AngularVelocityReport.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_AngularVelocityReport extends Structure {
12 | public int sensor;
13 | /** C type : OSVR_AngularVelocityState */
14 | public OSVR_IncrementalQuaternion state;
15 | public OSVR_AngularVelocityReport() {
16 | super();
17 | }
18 | protected List > getFieldOrder() {
19 | return Arrays.asList("sensor", "state");
20 | }
21 | /** @param state C type : OSVR_AngularVelocityState */
22 | public OSVR_AngularVelocityReport(int sensor, OSVR_IncrementalQuaternion state) {
23 | super();
24 | this.sensor = sensor;
25 | this.state = state;
26 | }
27 | public OSVR_AngularVelocityReport(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends OSVR_AngularVelocityReport implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends OSVR_AngularVelocityReport implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_ButtonReport.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_ButtonReport extends Structure {
12 | public int sensor;
13 | /** C type : OSVR_ButtonState */
14 | public byte state;
15 | public OSVR_ButtonReport() {
16 | super();
17 | }
18 | protected List > getFieldOrder() {
19 | return Arrays.asList("sensor", "state");
20 | }
21 | /** @param state C type : OSVR_ButtonState */
22 | public OSVR_ButtonReport(int sensor, byte state) {
23 | super();
24 | this.sensor = sensor;
25 | this.state = state;
26 | }
27 | public OSVR_ButtonReport(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends OSVR_ButtonReport implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends OSVR_ButtonReport implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_DirectionReport.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_DirectionReport extends Structure {
12 | /** C type : OSVR_ChannelCount */
13 | public int sensor;
14 | /** C type : OSVR_DirectionState */
15 | public OSVR_Vec3 direction;
16 | public OSVR_DirectionReport() {
17 | super();
18 | }
19 | protected List > getFieldOrder() {
20 | return Arrays.asList("sensor", "direction");
21 | }
22 | /**
23 | * @param sensor C type : OSVR_ChannelCount
24 | * @param direction C type : OSVR_DirectionState
25 | */
26 | public OSVR_DirectionReport(int sensor, OSVR_Vec3 direction) {
27 | super();
28 | this.sensor = sensor;
29 | this.direction = direction;
30 | }
31 | public OSVR_DirectionReport(Pointer peer) {
32 | super(peer);
33 | }
34 | public static class ByReference extends OSVR_DirectionReport implements Structure.ByReference {
35 |
36 | };
37 | public static class ByValue extends OSVR_DirectionReport implements Structure.ByValue {
38 |
39 | };
40 | }
41 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_EyeTracker2DReport.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_EyeTracker2DReport extends Structure {
12 | /** C type : OSVR_ChannelCount */
13 | public int sensor;
14 | /** C type : OSVR_EyeTracker2DState */
15 | public OSVR_Vec2 state;
16 | public OSVR_EyeTracker2DReport() {
17 | super();
18 | }
19 | protected List > getFieldOrder() {
20 | return Arrays.asList("sensor", "state");
21 | }
22 | /**
23 | * @param sensor C type : OSVR_ChannelCount
24 | * @param state C type : OSVR_EyeTracker2DState
25 | */
26 | public OSVR_EyeTracker2DReport(int sensor, OSVR_Vec2 state) {
27 | super();
28 | this.sensor = sensor;
29 | this.state = state;
30 | }
31 | public OSVR_EyeTracker2DReport(Pointer peer) {
32 | super(peer);
33 | }
34 | public static class ByReference extends OSVR_EyeTracker2DReport implements Structure.ByReference {
35 |
36 | };
37 | public static class ByValue extends OSVR_EyeTracker2DReport implements Structure.ByValue {
38 |
39 | };
40 | }
41 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_EyeTracker3DReport.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_EyeTracker3DReport extends Structure {
12 | /** C type : OSVR_ChannelCount */
13 | public int sensor;
14 | /** C type : OSVR_EyeTracker3DState */
15 | public OSVR_EyeTracker3DState state;
16 | public OSVR_EyeTracker3DReport() {
17 | super();
18 | }
19 | protected List > getFieldOrder() {
20 | return Arrays.asList("sensor", "state");
21 | }
22 | /**
23 | * @param sensor C type : OSVR_ChannelCount
24 | * @param state C type : OSVR_EyeTracker3DState
25 | */
26 | public OSVR_EyeTracker3DReport(int sensor, OSVR_EyeTracker3DState state) {
27 | super();
28 | this.sensor = sensor;
29 | this.state = state;
30 | }
31 | public OSVR_EyeTracker3DReport(Pointer peer) {
32 | super(peer);
33 | }
34 | public static class ByReference extends OSVR_EyeTracker3DReport implements Structure.ByReference {
35 |
36 | };
37 | public static class ByValue extends OSVR_EyeTracker3DReport implements Structure.ByValue {
38 |
39 | };
40 | }
41 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_EyeTracker3DState.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_EyeTracker3DState extends Structure {
12 | /** C type : OSVR_CBool */
13 | public byte directionValid;
14 | /** C type : OSVR_DirectionState */
15 | public OSVR_Vec3 direction;
16 | /** C type : OSVR_CBool */
17 | public byte basePointValid;
18 | /** C type : OSVR_PositionState */
19 | public OSVR_Vec3 basePoint;
20 | public OSVR_EyeTracker3DState() {
21 | super();
22 | }
23 | protected List > getFieldOrder() {
24 | return Arrays.asList("directionValid", "direction", "basePointValid", "basePoint");
25 | }
26 | /**
27 | * @param directionValid C type : OSVR_CBool
28 | * @param direction C type : OSVR_DirectionState
29 | * @param basePointValid C type : OSVR_CBool
30 | * @param basePoint C type : OSVR_PositionState
31 | */
32 | public OSVR_EyeTracker3DState(byte directionValid, OSVR_Vec3 direction, byte basePointValid, OSVR_Vec3 basePoint) {
33 | super();
34 | this.directionValid = directionValid;
35 | this.direction = direction;
36 | this.basePointValid = basePointValid;
37 | this.basePoint = basePoint;
38 | }
39 | public OSVR_EyeTracker3DState(Pointer peer) {
40 | super(peer);
41 | }
42 | public static class ByReference extends OSVR_EyeTracker3DState implements Structure.ByReference {
43 |
44 | };
45 | public static class ByValue extends OSVR_EyeTracker3DState implements Structure.ByValue {
46 |
47 | };
48 | }
49 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_EyeTrackerBlinkReport.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_EyeTrackerBlinkReport extends Structure {
12 | /** C type : OSVR_ChannelCount */
13 | public int sensor;
14 | /** C type : OSVR_EyeTrackerBlinkState */
15 | public byte state;
16 | public OSVR_EyeTrackerBlinkReport() {
17 | super();
18 | }
19 | protected List > getFieldOrder() {
20 | return Arrays.asList("sensor", "state");
21 | }
22 | /**
23 | * @param sensor C type : OSVR_ChannelCount
24 | * @param state C type : OSVR_EyeTrackerBlinkState
25 | */
26 | public OSVR_EyeTrackerBlinkReport(int sensor, byte state) {
27 | super();
28 | this.sensor = sensor;
29 | this.state = state;
30 | }
31 | public OSVR_EyeTrackerBlinkReport(Pointer peer) {
32 | super(peer);
33 | }
34 | public static class ByReference extends OSVR_EyeTrackerBlinkReport implements Structure.ByReference {
35 |
36 | };
37 | public static class ByValue extends OSVR_EyeTrackerBlinkReport implements Structure.ByValue {
38 |
39 | };
40 | }
41 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_IncrementalQuaternion.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_IncrementalQuaternion extends Structure {
12 | /** C type : OSVR_Quaternion */
13 | public OSVR_Quaternion incrementalRotation;
14 | public double dt;
15 | public OSVR_IncrementalQuaternion() {
16 | super();
17 | }
18 | protected List > getFieldOrder() {
19 | return Arrays.asList("incrementalRotation", "dt");
20 | }
21 | /** @param incrementalRotation C type : OSVR_Quaternion */
22 | public OSVR_IncrementalQuaternion(OSVR_Quaternion incrementalRotation, double dt) {
23 | super();
24 | this.incrementalRotation = incrementalRotation;
25 | this.dt = dt;
26 | }
27 | public OSVR_IncrementalQuaternion(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends OSVR_IncrementalQuaternion implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends OSVR_IncrementalQuaternion implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_LinearAccelerationReport.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_LinearAccelerationReport extends Structure {
12 | public int sensor;
13 | /** C type : OSVR_LinearAccelerationState */
14 | public OSVR_Vec3 state;
15 | public OSVR_LinearAccelerationReport() {
16 | super();
17 | }
18 | protected List > getFieldOrder() {
19 | return Arrays.asList("sensor", "state");
20 | }
21 | /** @param state C type : OSVR_LinearAccelerationState */
22 | public OSVR_LinearAccelerationReport(int sensor, OSVR_Vec3 state) {
23 | super();
24 | this.sensor = sensor;
25 | this.state = state;
26 | }
27 | public OSVR_LinearAccelerationReport(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends OSVR_LinearAccelerationReport implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends OSVR_LinearAccelerationReport implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_LinearVelocityReport.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_LinearVelocityReport extends Structure {
12 | public int sensor;
13 | /** C type : OSVR_LinearVelocityState */
14 | public OSVR_Vec3 state;
15 | public OSVR_LinearVelocityReport() {
16 | super();
17 | }
18 | protected List > getFieldOrder() {
19 | return Arrays.asList("sensor", "state");
20 | }
21 | /** @param state C type : OSVR_LinearVelocityState */
22 | public OSVR_LinearVelocityReport(int sensor, OSVR_Vec3 state) {
23 | super();
24 | this.sensor = sensor;
25 | this.state = state;
26 | }
27 | public OSVR_LinearVelocityReport(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends OSVR_LinearVelocityReport implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends OSVR_LinearVelocityReport implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_Location2DReport.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_Location2DReport extends Structure {
12 | /** C type : OSVR_ChannelCount */
13 | public int sensor;
14 | /** C type : OSVR_Location2DState */
15 | public OSVR_Vec2 location;
16 | public OSVR_Location2DReport() {
17 | super();
18 | }
19 | protected List > getFieldOrder() {
20 | return Arrays.asList("sensor", "location");
21 | }
22 | /**
23 | * @param sensor C type : OSVR_ChannelCount
24 | * @param location C type : OSVR_Location2DState
25 | */
26 | public OSVR_Location2DReport(int sensor, OSVR_Vec2 location) {
27 | super();
28 | this.sensor = sensor;
29 | this.location = location;
30 | }
31 | public OSVR_Location2DReport(Pointer peer) {
32 | super(peer);
33 | }
34 | public static class ByReference extends OSVR_Location2DReport implements Structure.ByReference {
35 |
36 | };
37 | public static class ByValue extends OSVR_Location2DReport implements Structure.ByValue {
38 |
39 | };
40 | }
41 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_NaviPositionReport.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_NaviPositionReport extends Structure {
12 | /** C type : OSVR_ChannelCount */
13 | public int sensor;
14 | /** C type : OSVR_NaviPositionState */
15 | public OSVR_Vec2 state;
16 | public OSVR_NaviPositionReport() {
17 | super();
18 | }
19 | protected List > getFieldOrder() {
20 | return Arrays.asList("sensor", "state");
21 | }
22 | /**
23 | * @param sensor C type : OSVR_ChannelCount
24 | * @param state C type : OSVR_NaviPositionState
25 | */
26 | public OSVR_NaviPositionReport(int sensor, OSVR_Vec2 state) {
27 | super();
28 | this.sensor = sensor;
29 | this.state = state;
30 | }
31 | public OSVR_NaviPositionReport(Pointer peer) {
32 | super(peer);
33 | }
34 | public static class ByReference extends OSVR_NaviPositionReport implements Structure.ByReference {
35 |
36 | };
37 | public static class ByValue extends OSVR_NaviPositionReport implements Structure.ByValue {
38 |
39 | };
40 | }
41 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_NaviVelocityReport.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_NaviVelocityReport extends Structure {
12 | /** C type : OSVR_ChannelCount */
13 | public int sensor;
14 | /** C type : OSVR_NaviVelocityState */
15 | public OSVR_Vec2 state;
16 | public OSVR_NaviVelocityReport() {
17 | super();
18 | }
19 | protected List > getFieldOrder() {
20 | return Arrays.asList("sensor", "state");
21 | }
22 | /**
23 | * @param sensor C type : OSVR_ChannelCount
24 | * @param state C type : OSVR_NaviVelocityState
25 | */
26 | public OSVR_NaviVelocityReport(int sensor, OSVR_Vec2 state) {
27 | super();
28 | this.sensor = sensor;
29 | this.state = state;
30 | }
31 | public OSVR_NaviVelocityReport(Pointer peer) {
32 | super(peer);
33 | }
34 | public static class ByReference extends OSVR_NaviVelocityReport implements Structure.ByReference {
35 |
36 | };
37 | public static class ByValue extends OSVR_NaviVelocityReport implements Structure.ByValue {
38 |
39 | };
40 | }
41 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_OrientationReport.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_OrientationReport extends Structure {
12 | public int sensor;
13 | /** C type : OSVR_OrientationState */
14 | public OSVR_Quaternion rotation;
15 | public OSVR_OrientationReport() {
16 | super();
17 | }
18 | protected List > getFieldOrder() {
19 | return Arrays.asList("sensor", "rotation");
20 | }
21 | /** @param rotation C type : OSVR_OrientationState */
22 | public OSVR_OrientationReport(int sensor, OSVR_Quaternion rotation) {
23 | super();
24 | this.sensor = sensor;
25 | this.rotation = rotation;
26 | }
27 | public OSVR_OrientationReport(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends OSVR_OrientationReport implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends OSVR_OrientationReport implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_Pose3.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_Pose3 extends Structure {
12 | /** C type : OSVR_Vec3 */
13 | public OSVR_Vec3 translation;
14 | /** C type : OSVR_Quaternion */
15 | public OSVR_Quaternion rotation;
16 | public OSVR_Pose3() {
17 | super();
18 | }
19 | protected List > getFieldOrder() {
20 | return Arrays.asList("translation", "rotation");
21 | }
22 | /**
23 | * @param translation C type : OSVR_Vec3
24 | * @param rotation C type : OSVR_Quaternion
25 | */
26 | public OSVR_Pose3(OSVR_Vec3 translation, OSVR_Quaternion rotation) {
27 | super();
28 | this.translation = translation;
29 | this.rotation = rotation;
30 | }
31 | public OSVR_Pose3(Pointer peer) {
32 | super(peer);
33 | }
34 | public static class ByReference extends OSVR_Pose3 implements Structure.ByReference {
35 |
36 | };
37 | public static class ByValue extends OSVR_Pose3 implements Structure.ByValue {
38 |
39 | };
40 | }
41 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_PoseReport.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_PoseReport extends Structure {
12 | public int sensor;
13 | /** C type : OSVR_PoseState */
14 | public OSVR_Pose3 pose;
15 | public OSVR_PoseReport() {
16 | super();
17 | }
18 | protected List > getFieldOrder() {
19 | return Arrays.asList("sensor", "pose");
20 | }
21 | /** @param pose C type : OSVR_PoseState */
22 | public OSVR_PoseReport(int sensor, OSVR_Pose3 pose) {
23 | super();
24 | this.sensor = sensor;
25 | this.pose = pose;
26 | }
27 | public OSVR_PoseReport(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends OSVR_PoseReport implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends OSVR_PoseReport implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_PositionReport.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_PositionReport extends Structure {
12 | public int sensor;
13 | /** C type : OSVR_PositionState */
14 | public OSVR_Vec3 xyz;
15 | public OSVR_PositionReport() {
16 | super();
17 | }
18 | protected List > getFieldOrder() {
19 | return Arrays.asList("sensor", "xyz");
20 | }
21 | /** @param xyz C type : OSVR_PositionState */
22 | public OSVR_PositionReport(int sensor, OSVR_Vec3 xyz) {
23 | super();
24 | this.sensor = sensor;
25 | this.xyz = xyz;
26 | }
27 | public OSVR_PositionReport(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends OSVR_PositionReport implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends OSVR_PositionReport implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_Quaternion.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_Quaternion extends Structure {
12 | /** C type : double[4] */
13 | public double[] data = new double[4];
14 | public OSVR_Quaternion() {
15 | super();
16 | }
17 | protected List > getFieldOrder() {
18 | return Arrays.asList("data");
19 | }
20 | /** @param data C type : double[4] */
21 | public OSVR_Quaternion(double data[]) {
22 | super();
23 | if ((data.length != this.data.length))
24 | throw new IllegalArgumentException("Wrong array size !");
25 | this.data = data;
26 | }
27 | public OSVR_Quaternion(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends OSVR_Quaternion implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends OSVR_Quaternion implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_Vec2.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_Vec2 extends Structure {
12 | /** C type : double[2] */
13 | public double[] data = new double[2];
14 | public OSVR_Vec2() {
15 | super();
16 | }
17 | protected List > getFieldOrder() {
18 | return Arrays.asList("data");
19 | }
20 | /** @param data C type : double[2] */
21 | public OSVR_Vec2(double data[]) {
22 | super();
23 | if ((data.length != this.data.length))
24 | throw new IllegalArgumentException("Wrong array size !");
25 | this.data = data;
26 | }
27 | public OSVR_Vec2(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends OSVR_Vec2 implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends OSVR_Vec2 implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_Vec3.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_Vec3 extends Structure {
12 | /** C type : double[3] */
13 | public double[] data = new double[3];
14 | public OSVR_Vec3() {
15 | super();
16 | }
17 | protected List > getFieldOrder() {
18 | return Arrays.asList("data");
19 | }
20 | /** @param data C type : double[3] */
21 | public OSVR_Vec3(double data[]) {
22 | super();
23 | if ((data.length != this.data.length))
24 | throw new IllegalArgumentException("Wrong array size !");
25 | this.data = data;
26 | }
27 | public OSVR_Vec3(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends OSVR_Vec3 implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends OSVR_Vec3 implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_VelocityReport.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_VelocityReport extends Structure {
12 | public int sensor;
13 | /** C type : OSVR_VelocityState */
14 | public OSVR_VelocityState state;
15 | public OSVR_VelocityReport() {
16 | super();
17 | }
18 | protected List > getFieldOrder() {
19 | return Arrays.asList("sensor", "state");
20 | }
21 | /** @param state C type : OSVR_VelocityState */
22 | public OSVR_VelocityReport(int sensor, OSVR_VelocityState state) {
23 | super();
24 | this.sensor = sensor;
25 | this.state = state;
26 | }
27 | public OSVR_VelocityReport(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends OSVR_VelocityReport implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends OSVR_VelocityReport implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/osvrclientreporttypes/OSVR_VelocityState.java:
--------------------------------------------------------------------------------
1 | package osvrclientreporttypes;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_VelocityState extends Structure {
12 | /** C type : OSVR_LinearVelocityState */
13 | public OSVR_Vec3 linearVelocity;
14 | /** C type : OSVR_CBool */
15 | public byte linearVelocityValid;
16 | /** C type : OSVR_AngularVelocityState */
17 | public OSVR_IncrementalQuaternion angularVelocity;
18 | /** C type : OSVR_CBool */
19 | public byte angularVelocityValid;
20 | public OSVR_VelocityState() {
21 | super();
22 | }
23 | protected List > getFieldOrder() {
24 | return Arrays.asList("linearVelocity", "linearVelocityValid", "angularVelocity", "angularVelocityValid");
25 | }
26 | /**
27 | * @param linearVelocity C type : OSVR_LinearVelocityState
28 | * @param linearVelocityValid C type : OSVR_CBool
29 | * @param angularVelocity C type : OSVR_AngularVelocityState
30 | * @param angularVelocityValid C type : OSVR_CBool
31 | */
32 | public OSVR_VelocityState(OSVR_Vec3 linearVelocity, byte linearVelocityValid, OSVR_IncrementalQuaternion angularVelocity, byte angularVelocityValid) {
33 | super();
34 | this.linearVelocity = linearVelocity;
35 | this.linearVelocityValid = linearVelocityValid;
36 | this.angularVelocity = angularVelocity;
37 | this.angularVelocityValid = angularVelocityValid;
38 | }
39 | public OSVR_VelocityState(Pointer peer) {
40 | super(peer);
41 | }
42 | public static class ByReference extends OSVR_VelocityState implements Structure.ByReference {
43 |
44 | };
45 | public static class ByValue extends OSVR_VelocityState implements Structure.ByValue {
46 |
47 | };
48 | }
49 |
--------------------------------------------------------------------------------
/src/osvrinterface/OsvrInterfaceLibrary.java:
--------------------------------------------------------------------------------
1 | package osvrinterface;
2 | import com.sun.jna.Library;
3 | import com.sun.jna.Native;
4 | import com.sun.jna.NativeLibrary;
5 | import com.sun.jna.Pointer;
6 | import com.sun.jna.PointerType;
7 | import com.sun.jna.ptr.PointerByReference;
8 | import osvrclientkit.OsvrClientKitLibrary.OSVR_ClientInterface;
9 | import osvrclientreporttypes.OSVR_Pose3;
10 | import osvrtimevalue.OSVR_TimeValue;
11 | /**
12 | * JNA Wrapper for library osvrInterface
13 | * This file was autogenerated by JNAerator,
14 | * a tool written by Olivier Chafik that uses a few opensource projects..
15 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
16 | */
17 | public class OsvrInterfaceLibrary implements Library {
18 | public static final String JNA_LIBRARY_NAME = "osvrClientKit";
19 | public static final NativeLibrary JNA_NATIVE_LIB = NativeLibrary.getInstance(OsvrInterfaceLibrary.JNA_LIBRARY_NAME);
20 | static {
21 | Native.register(OsvrInterfaceLibrary.class, OsvrInterfaceLibrary.JNA_NATIVE_LIB);
22 | }
23 |
24 | /** Manually added */
25 | public static native byte osvrGetPoseState(OSVR_ClientInterface iface, OSVR_TimeValue timestamp, OSVR_Pose3 state);
26 |
27 | }
28 |
--------------------------------------------------------------------------------
/src/osvrmatrixconventions/OSVR_Pose3.java:
--------------------------------------------------------------------------------
1 | package osvrmatrixconventions;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_Pose3 extends Structure {
12 | /** C type : OSVR_Vec3 */
13 | public OSVR_Vec3 translation;
14 | /** C type : OSVR_Quaternion */
15 | public OSVR_Quaternion rotation;
16 | public OSVR_Pose3() {
17 | super();
18 | }
19 | protected List > getFieldOrder() {
20 | return Arrays.asList("translation", "rotation");
21 | }
22 | /**
23 | * @param translation C type : OSVR_Vec3
24 | * @param rotation C type : OSVR_Quaternion
25 | */
26 | public OSVR_Pose3(OSVR_Vec3 translation, OSVR_Quaternion rotation) {
27 | super();
28 | this.translation = translation;
29 | this.rotation = rotation;
30 | }
31 | public OSVR_Pose3(Pointer peer) {
32 | super(peer);
33 | }
34 | public static class ByReference extends OSVR_Pose3 implements Structure.ByReference {
35 |
36 | };
37 | public static class ByValue extends OSVR_Pose3 implements Structure.ByValue {
38 |
39 | };
40 | }
41 |
--------------------------------------------------------------------------------
/src/osvrmatrixconventions/OSVR_Quaternion.java:
--------------------------------------------------------------------------------
1 | package osvrmatrixconventions;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_Quaternion extends Structure {
12 | /** C type : double[4] */
13 | public double[] data = new double[4];
14 | public OSVR_Quaternion() {
15 | super();
16 | }
17 | protected List > getFieldOrder() {
18 | return Arrays.asList("data");
19 | }
20 | /** @param data C type : double[4] */
21 | public OSVR_Quaternion(double data[]) {
22 | super();
23 | if ((data.length != this.data.length))
24 | throw new IllegalArgumentException("Wrong array size !");
25 | this.data = data;
26 | }
27 | public OSVR_Quaternion(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends OSVR_Quaternion implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends OSVR_Quaternion implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/osvrmatrixconventions/OSVR_Vec3.java:
--------------------------------------------------------------------------------
1 | package osvrmatrixconventions;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_Vec3 extends Structure {
12 | /** C type : double[3] */
13 | public double[] data = new double[3];
14 | public OSVR_Vec3() {
15 | super();
16 | }
17 | protected List > getFieldOrder() {
18 | return Arrays.asList("data");
19 | }
20 | /** @param data C type : double[3] */
21 | public OSVR_Vec3(double data[]) {
22 | super();
23 | if ((data.length != this.data.length))
24 | throw new IllegalArgumentException("Wrong array size !");
25 | this.data = data;
26 | }
27 | public OSVR_Vec3(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends OSVR_Vec3 implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends OSVR_Vec3 implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/osvrrendermanager/OSVR_ProjectionMatrix.java:
--------------------------------------------------------------------------------
1 | package osvrrendermanager;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_ProjectionMatrix extends Structure {
12 | public double left;
13 | public double right;
14 | public double top;
15 | public double bottom;
16 | /** < Cannot name "near" because Visual Studio keyword */
17 | public double nearClip;
18 | public double farClip;
19 | public OSVR_ProjectionMatrix() {
20 | super();
21 | }
22 | protected List > getFieldOrder() {
23 | return Arrays.asList("left", "right", "top", "bottom", "nearClip", "farClip");
24 | }
25 | /** @param nearClip < Cannot name "near" because Visual Studio keyword */
26 | public OSVR_ProjectionMatrix(double left, double right, double top, double bottom, double nearClip, double farClip) {
27 | super();
28 | this.left = left;
29 | this.right = right;
30 | this.top = top;
31 | this.bottom = bottom;
32 | this.nearClip = nearClip;
33 | this.farClip = farClip;
34 | }
35 | public OSVR_ProjectionMatrix(Pointer peer) {
36 | super(peer);
37 | }
38 | public static class ByReference extends OSVR_ProjectionMatrix implements Structure.ByReference {
39 |
40 | };
41 | public static class ByValue extends OSVR_ProjectionMatrix implements Structure.ByValue {
42 |
43 | };
44 | }
45 |
--------------------------------------------------------------------------------
/src/osvrrendermanager/OSVR_RGB.java:
--------------------------------------------------------------------------------
1 | package osvrrendermanager;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_RGB extends Structure {
12 | public float r;
13 | public float g;
14 | public float b;
15 | public OSVR_RGB() {
16 | super();
17 | }
18 | protected List > getFieldOrder() {
19 | return Arrays.asList("r", "g", "b");
20 | }
21 | public OSVR_RGB(float r, float g, float b) {
22 | super();
23 | this.r = r;
24 | this.g = g;
25 | this.b = b;
26 | }
27 | public OSVR_RGB(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends OSVR_RGB implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends OSVR_RGB implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/osvrrendermanager/OSVR_RenderParams.java:
--------------------------------------------------------------------------------
1 | package osvrrendermanager;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_RenderParams extends Structure {
12 | /**
13 | * < Room space to insert
14 | * C type : OSVR_PoseState*
15 | */
16 | public Pointer worldFromRoomAppend;
17 | /**
18 | * < Overrides head space
19 | * C type : OSVR_PoseState*
20 | */
21 | public Pointer roomFromHeadReplace;
22 | public double nearClipDistanceMeters;
23 | public double farClipDistanceMeters;
24 | public OSVR_RenderParams() {
25 | super();
26 | }
27 | protected List > getFieldOrder() {
28 | return Arrays.asList("worldFromRoomAppend", "roomFromHeadReplace", "nearClipDistanceMeters", "farClipDistanceMeters");
29 | }
30 | /**
31 | * @param worldFromRoomAppend < Room space to insert
32 | * C type : OSVR_PoseState*
33 | * @param roomFromHeadReplace < Overrides head space
34 | * C type : OSVR_PoseState*
35 | */
36 | public OSVR_RenderParams(Pointer worldFromRoomAppend, Pointer roomFromHeadReplace, double nearClipDistanceMeters, double farClipDistanceMeters) {
37 | super();
38 | this.worldFromRoomAppend = worldFromRoomAppend;
39 | this.roomFromHeadReplace = roomFromHeadReplace;
40 | this.nearClipDistanceMeters = nearClipDistanceMeters;
41 | this.farClipDistanceMeters = farClipDistanceMeters;
42 | }
43 | public OSVR_RenderParams(Pointer peer) {
44 | super(peer);
45 | }
46 | public static class ByReference extends OSVR_RenderParams implements Structure.ByReference {
47 |
48 | };
49 | public static class ByValue extends OSVR_RenderParams implements Structure.ByValue {
50 |
51 | };
52 | }
53 |
--------------------------------------------------------------------------------
/src/osvrrendermanager/OSVR_ViewportDescription.java:
--------------------------------------------------------------------------------
1 | package osvrrendermanager;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_ViewportDescription extends Structure {
12 | /** < Left side of the viewport in pixels */
13 | public double left;
14 | /** < First pixel in the viewport at the bottom. */
15 | public double lower;
16 | /** < Last pixel in the viewport at the top */
17 | public double width;
18 | /** < Last pixel on the right of the viewport in pixels */
19 | public double height;
20 | public OSVR_ViewportDescription() {
21 | super();
22 | }
23 | protected List > getFieldOrder() {
24 | return Arrays.asList("left", "lower", "width", "height");
25 | }
26 | /**
27 | * @param left < Left side of the viewport in pixels
28 | * @param lower < First pixel in the viewport at the bottom.
29 | * @param width < Last pixel in the viewport at the top
30 | * @param height < Last pixel on the right of the viewport in pixels
31 | */
32 | public OSVR_ViewportDescription(double left, double lower, double width, double height) {
33 | super();
34 | this.left = left;
35 | this.lower = lower;
36 | this.width = width;
37 | this.height = height;
38 | }
39 | public OSVR_ViewportDescription(Pointer peer) {
40 | super(peer);
41 | }
42 | public static class ByReference extends OSVR_ViewportDescription implements Structure.ByReference {
43 |
44 | };
45 | public static class ByValue extends OSVR_ViewportDescription implements Structure.ByValue {
46 |
47 | };
48 | }
49 |
--------------------------------------------------------------------------------
/src/osvrrendermanageropengl/OSVR_GraphicsLibraryOpenGL.java:
--------------------------------------------------------------------------------
1 | package osvrrendermanageropengl;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_GraphicsLibraryOpenGL extends Structure {
12 | /** C type : const OSVR_OpenGLToolkitFunctions* */
13 | public osvrrendermanageropengl.OSVR_OpenGLToolkitFunctions.ByReference toolkit;
14 | public OSVR_GraphicsLibraryOpenGL() {
15 | super();
16 | }
17 | protected List > getFieldOrder() {
18 | return Arrays.asList("toolkit");
19 | }
20 | /** @param toolkit C type : const OSVR_OpenGLToolkitFunctions* */
21 | public OSVR_GraphicsLibraryOpenGL(osvrrendermanageropengl.OSVR_OpenGLToolkitFunctions.ByReference toolkit) {
22 | super();
23 | this.toolkit = toolkit;
24 | }
25 | public OSVR_GraphicsLibraryOpenGL(Pointer peer) {
26 | super(peer);
27 | }
28 | public static class ByReference extends OSVR_GraphicsLibraryOpenGL implements Structure.ByReference {
29 |
30 | };
31 | public static class ByValue extends OSVR_GraphicsLibraryOpenGL implements Structure.ByValue {
32 |
33 | };
34 | }
35 |
--------------------------------------------------------------------------------
/src/osvrrendermanageropengl/OSVR_OpenGLContextParams.java:
--------------------------------------------------------------------------------
1 | package osvrrendermanageropengl;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_OpenGLContextParams extends Structure {
12 | /** C type : const char* */
13 | public Pointer windowTitle;
14 | /** C type : OSVR_CBool */
15 | public byte fullScreen;
16 | public int width;
17 | public int height;
18 | public int xPos;
19 | public int yPos;
20 | public int bitsPerPixel;
21 | public int numBuffers;
22 | /** C type : OSVR_CBool */
23 | public byte visible;
24 | public OSVR_OpenGLContextParams() {
25 | super();
26 | }
27 | protected List > getFieldOrder() {
28 | return Arrays.asList("windowTitle", "fullScreen", "width", "height", "xPos", "yPos", "bitsPerPixel", "numBuffers", "visible");
29 | }
30 | /**
31 | * @param windowTitle C type : const char*
32 | * @param fullScreen C type : OSVR_CBool
33 | * @param visible C type : OSVR_CBool
34 | */
35 | public OSVR_OpenGLContextParams(Pointer windowTitle, byte fullScreen, int width, int height, int xPos, int yPos, int bitsPerPixel, int numBuffers, byte visible) {
36 | super();
37 | this.windowTitle = windowTitle;
38 | this.fullScreen = fullScreen;
39 | this.width = width;
40 | this.height = height;
41 | this.xPos = xPos;
42 | this.yPos = yPos;
43 | this.bitsPerPixel = bitsPerPixel;
44 | this.numBuffers = numBuffers;
45 | this.visible = visible;
46 | }
47 | public OSVR_OpenGLContextParams(Pointer peer) {
48 | super(peer);
49 | }
50 | public static class ByReference extends OSVR_OpenGLContextParams implements Structure.ByReference {
51 |
52 | };
53 | public static class ByValue extends OSVR_OpenGLContextParams implements Structure.ByValue {
54 |
55 | };
56 | }
57 |
--------------------------------------------------------------------------------
/src/osvrrendermanageropengl/OSVR_OpenResultsOpenGL.java:
--------------------------------------------------------------------------------
1 | package osvrrendermanageropengl;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_OpenResultsOpenGL extends Structure {
12 | /**
13 | * @see OSVR_OpenStatus
14 | * C type : OSVR_OpenStatus
15 | */
16 | public int status;
17 | /** C type : OSVR_GraphicsLibraryOpenGL */
18 | public OSVR_GraphicsLibraryOpenGL library;
19 | /** C type : OSVR_RenderBufferOpenGL */
20 | public OSVR_RenderBufferOpenGL buffers;
21 | public OSVR_OpenResultsOpenGL() {
22 | super();
23 | }
24 | protected List > getFieldOrder() {
25 | return Arrays.asList("status", "library", "buffers");
26 | }
27 | /**
28 | * @param status @see OSVR_OpenStatus
29 | * C type : OSVR_OpenStatus
30 | * @param library C type : OSVR_GraphicsLibraryOpenGL
31 | * @param buffers C type : OSVR_RenderBufferOpenGL
32 | */
33 | public OSVR_OpenResultsOpenGL(int status, OSVR_GraphicsLibraryOpenGL library, OSVR_RenderBufferOpenGL buffers) {
34 | super();
35 | this.status = status;
36 | this.library = library;
37 | this.buffers = buffers;
38 | }
39 | public OSVR_OpenResultsOpenGL(Pointer peer) {
40 | super(peer);
41 | }
42 | public static class ByReference extends OSVR_OpenResultsOpenGL implements Structure.ByReference {
43 |
44 | };
45 | public static class ByValue extends OSVR_OpenResultsOpenGL implements Structure.ByValue {
46 |
47 | };
48 | }
49 |
--------------------------------------------------------------------------------
/src/osvrrendermanageropengl/OSVR_ProjectionMatrix.java:
--------------------------------------------------------------------------------
1 | package osvrrendermanageropengl;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_ProjectionMatrix extends Structure {
12 | public double left;
13 | public double right;
14 | public double top;
15 | public double bottom;
16 | /** < Cannot name "near" because Visual Studio keyword */
17 | public double nearClip;
18 | public double farClip;
19 | public OSVR_ProjectionMatrix() {
20 | super();
21 | }
22 | protected List > getFieldOrder() {
23 | return Arrays.asList("left", "right", "top", "bottom", "nearClip", "farClip");
24 | }
25 | /** @param nearClip < Cannot name "near" because Visual Studio keyword */
26 | public OSVR_ProjectionMatrix(double left, double right, double top, double bottom, double nearClip, double farClip) {
27 | super();
28 | this.left = left;
29 | this.right = right;
30 | this.top = top;
31 | this.bottom = bottom;
32 | this.nearClip = nearClip;
33 | this.farClip = farClip;
34 | }
35 | public OSVR_ProjectionMatrix(Pointer peer) {
36 | super(peer);
37 | }
38 | public static class ByReference extends OSVR_ProjectionMatrix implements Structure.ByReference {
39 |
40 | };
41 | public static class ByValue extends OSVR_ProjectionMatrix implements Structure.ByValue {
42 |
43 | };
44 | }
45 |
--------------------------------------------------------------------------------
/src/osvrrendermanageropengl/OSVR_RGB.java:
--------------------------------------------------------------------------------
1 | package osvrrendermanageropengl;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_RGB extends Structure {
12 | public float r;
13 | public float g;
14 | public float b;
15 | public OSVR_RGB() {
16 | super();
17 | }
18 | protected List > getFieldOrder() {
19 | return Arrays.asList("r", "g", "b");
20 | }
21 | public OSVR_RGB(float r, float g, float b) {
22 | super();
23 | this.r = r;
24 | this.g = g;
25 | this.b = b;
26 | }
27 | public OSVR_RGB(Pointer peer) {
28 | super(peer);
29 | }
30 | public static class ByReference extends OSVR_RGB implements Structure.ByReference {
31 |
32 | };
33 | public static class ByValue extends OSVR_RGB implements Structure.ByValue {
34 |
35 | };
36 | }
37 |
--------------------------------------------------------------------------------
/src/osvrrendermanageropengl/OSVR_RenderBufferOpenGL.java:
--------------------------------------------------------------------------------
1 | package osvrrendermanageropengl;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_RenderBufferOpenGL extends Structure {
12 | public int colorBufferName;
13 | public int depthStencilBufferName;
14 | public OSVR_RenderBufferOpenGL() {
15 | super();
16 | }
17 | protected List > getFieldOrder() {
18 | return Arrays.asList("colorBufferName", "depthStencilBufferName");
19 | }
20 | public OSVR_RenderBufferOpenGL(int colorBufferName, int depthStencilBufferName) {
21 | super();
22 | this.colorBufferName = colorBufferName;
23 | this.depthStencilBufferName = depthStencilBufferName;
24 | }
25 | public OSVR_RenderBufferOpenGL(Pointer peer) {
26 | super(peer);
27 | }
28 | public static class ByReference extends OSVR_RenderBufferOpenGL implements Structure.ByReference {
29 |
30 | };
31 | public static class ByValue extends OSVR_RenderBufferOpenGL implements Structure.ByValue {
32 |
33 | };
34 | }
35 |
--------------------------------------------------------------------------------
/src/osvrrendermanageropengl/OSVR_RenderInfoOpenGL.java:
--------------------------------------------------------------------------------
1 | package osvrrendermanageropengl;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | import osvrmatrixconventions.OSVR_Pose3;
7 | /**
8 | * This file was autogenerated by JNAerator,
9 | * a tool written by Olivier Chafik that uses a few opensource projects..
10 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
11 | */
12 | public /*abstract*/ class OSVR_RenderInfoOpenGL extends Structure {
13 | /** C type : OSVR_GraphicsLibraryOpenGL */
14 | public OSVR_GraphicsLibraryOpenGL library;
15 | /** C type : OSVR_ViewportDescription */
16 | public OSVR_ViewportDescription viewport;
17 | public OSVR_Pose3 pose;
18 | /** C type : OSVR_ProjectionMatrix */
19 | public OSVR_ProjectionMatrix projection;
20 | public OSVR_RenderInfoOpenGL() {
21 | super();
22 | }
23 | protected List > getFieldOrder() {
24 | return Arrays.asList("library", "viewport", "pose", "projection");
25 | }
26 | /**
27 | * @param library C type : OSVR_GraphicsLibraryOpenGL
28 | * @param viewport C type : OSVR_ViewportDescription
29 | * @param projection C type : OSVR_ProjectionMatrix
30 | */
31 | public OSVR_RenderInfoOpenGL(OSVR_GraphicsLibraryOpenGL library, OSVR_ViewportDescription viewport, OSVR_Pose3 pose, OSVR_ProjectionMatrix projection) {
32 | super();
33 | this.library = library;
34 | this.viewport = viewport;
35 | this.pose = pose;
36 | this.projection = projection;
37 | }
38 | public OSVR_RenderInfoOpenGL(Pointer peer) {
39 | super(peer);
40 | }
41 | public static /*abstract*/ class ByReference extends OSVR_RenderInfoOpenGL implements Structure.ByReference {
42 |
43 | };
44 | public static /*abstract*/ class ByValue extends OSVR_RenderInfoOpenGL implements Structure.ByValue {
45 |
46 | };
47 | }
48 |
--------------------------------------------------------------------------------
/src/osvrrendermanageropengl/OSVR_RenderParams.java:
--------------------------------------------------------------------------------
1 | package osvrrendermanageropengl;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_RenderParams extends Structure {
12 | /**
13 | * < Room space to insert
14 | * C type : OSVR_PoseState*
15 | */
16 | public Pointer worldFromRoomAppend;
17 | /**
18 | * < Overrides head space
19 | * C type : OSVR_PoseState*
20 | */
21 | public Pointer roomFromHeadReplace;
22 | public double nearClipDistanceMeters;
23 | public double farClipDistanceMeters;
24 | public OSVR_RenderParams() {
25 | super();
26 | }
27 | protected List > getFieldOrder() {
28 | return Arrays.asList("worldFromRoomAppend", "roomFromHeadReplace", "nearClipDistanceMeters", "farClipDistanceMeters");
29 | }
30 | /**
31 | * @param worldFromRoomAppend < Room space to insert
32 | * C type : OSVR_PoseState*
33 | * @param roomFromHeadReplace < Overrides head space
34 | * C type : OSVR_PoseState*
35 | */
36 | public OSVR_RenderParams(Pointer worldFromRoomAppend, Pointer roomFromHeadReplace, double nearClipDistanceMeters, double farClipDistanceMeters) {
37 | super();
38 | this.worldFromRoomAppend = worldFromRoomAppend;
39 | this.roomFromHeadReplace = roomFromHeadReplace;
40 | this.nearClipDistanceMeters = nearClipDistanceMeters;
41 | this.farClipDistanceMeters = farClipDistanceMeters;
42 | }
43 | public OSVR_RenderParams(Pointer peer) {
44 | super(peer);
45 | }
46 | public static class ByReference extends OSVR_RenderParams implements Structure.ByReference {
47 |
48 | };
49 | public static class ByValue extends OSVR_RenderParams implements Structure.ByValue {
50 |
51 | };
52 | }
53 |
--------------------------------------------------------------------------------
/src/osvrrendermanageropengl/OSVR_ViewportDescription.java:
--------------------------------------------------------------------------------
1 | package osvrrendermanageropengl;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_ViewportDescription extends Structure {
12 | /** < Left side of the viewport in pixels */
13 | public double left;
14 | /** < First pixel in the viewport at the bottom. */
15 | public double lower;
16 | /** < Last pixel in the viewport at the top */
17 | public double width;
18 | /** < Last pixel on the right of the viewport in pixels */
19 | public double height;
20 | public OSVR_ViewportDescription() {
21 | super();
22 | }
23 | protected List > getFieldOrder() {
24 | return Arrays.asList("left", "lower", "width", "height");
25 | }
26 | /**
27 | * @param left < Left side of the viewport in pixels
28 | * @param lower < First pixel in the viewport at the bottom.
29 | * @param width < Last pixel in the viewport at the top
30 | * @param height < Last pixel on the right of the viewport in pixels
31 | */
32 | public OSVR_ViewportDescription(double left, double lower, double width, double height) {
33 | super();
34 | this.left = left;
35 | this.lower = lower;
36 | this.width = width;
37 | this.height = height;
38 | }
39 | public OSVR_ViewportDescription(Pointer peer) {
40 | super(peer);
41 | }
42 | public static class ByReference extends OSVR_ViewportDescription implements Structure.ByReference {
43 |
44 | };
45 | public static class ByValue extends OSVR_ViewportDescription implements Structure.ByValue {
46 |
47 | };
48 | }
49 |
--------------------------------------------------------------------------------
/src/osvrtimevalue/OSVR_TimeValue.java:
--------------------------------------------------------------------------------
1 | package osvrtimevalue;
2 | import com.sun.jna.Pointer;
3 | import com.sun.jna.Structure;
4 | import java.util.Arrays;
5 | import java.util.List;
6 | /**
7 | * This file was autogenerated by JNAerator,
8 | * a tool written by Olivier Chafik that uses a few opensource projects..
9 | * For help, please visit NativeLibs4Java , Rococoa, or JNA.
10 | */
11 | public class OSVR_TimeValue extends Structure {
12 | /** C type : OSVR_TimeValue_Seconds */
13 | public long seconds;
14 | /** C type : OSVR_TimeValue_Microseconds */
15 | public int microseconds;
16 | public OSVR_TimeValue() {
17 | super();
18 | }
19 | protected List > getFieldOrder() {
20 | return Arrays.asList("seconds", "microseconds");
21 | }
22 | /**
23 | * @param seconds C type : OSVR_TimeValue_Seconds
24 | * @param microseconds C type : OSVR_TimeValue_Microseconds
25 | */
26 | public OSVR_TimeValue(long seconds, int microseconds) {
27 | super();
28 | this.seconds = seconds;
29 | this.microseconds = microseconds;
30 | }
31 | public OSVR_TimeValue(Pointer peer) {
32 | super(peer);
33 | }
34 | public static class ByReference extends OSVR_TimeValue implements Structure.ByReference {
35 |
36 | };
37 | public static class ByValue extends OSVR_TimeValue implements Structure.ByValue {
38 |
39 | };
40 | }
41 |
--------------------------------------------------------------------------------
/src/win32-x86-64/LICENSE.txt:
--------------------------------------------------------------------------------
1 | Copyright (c) 2015, Valve Corporation
2 | All rights reserved.
3 |
4 | Redistribution and use in source and binary forms, with or without modification,
5 | are permitted provided that the following conditions are met:
6 |
7 | 1. Redistributions of source code must retain the above copyright notice, this
8 | list of conditions and the following disclaimer.
9 |
10 | 2. Redistributions in binary form must reproduce the above copyright notice,
11 | this list of conditions and the following disclaimer in the documentation and/or
12 | other materials provided with the distribution.
13 |
14 | 3. Neither the name of the copyright holder nor the names of its contributors
15 | may be used to endorse or promote products derived from this software without
16 | specific prior written permission.
17 |
18 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
22 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
25 | ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 |
--------------------------------------------------------------------------------
/src/win32-x86-64/Qt5Core.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/Qt5Core.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/Qt5Gui.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/Qt5Gui.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/Qt5Widgets.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/Qt5Widgets.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/SDL2.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/SDL2.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/d3dcompiler_47.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/d3dcompiler_47.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/functionality.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/functionality.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/glew32.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/glew32.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/msvcp120.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/msvcp120.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/msvcr120.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/msvcr120.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/opencv_calib3d2410.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/opencv_calib3d2410.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/opencv_core2410.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/opencv_core2410.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/opencv_features2d2410.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/opencv_features2d2410.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/opencv_flann2410.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/opencv_flann2410.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/opencv_highgui2410.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/opencv_highgui2410.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/opencv_imgproc2410.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/opencv_imgproc2410.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/openvr_api.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/openvr_api.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/openvr_api.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/openvr_api.pdb
--------------------------------------------------------------------------------
/src/win32-x86-64/osg100-osg.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osg100-osg.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osg100-osgDB.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osg100-osgDB.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osg100-osgGA.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osg100-osgGA.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osg100-osgText.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osg100-osgText.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osg100-osgUtil.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osg100-osgUtil.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osg100-osgViewer.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osg100-osgViewer.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osgdb_deprecated_osg.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osgdb_deprecated_osg.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osgdb_osg.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osgdb_osg.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osvrAnalysisPluginKit.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osvrAnalysisPluginKit.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osvrClient.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osvrClient.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osvrClientKit.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osvrClientKit.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osvrCommon.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osvrCommon.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osvrConnection.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osvrConnection.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osvrJointClientKit.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osvrJointClientKit.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osvrPluginHost.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osvrPluginHost.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osvrPluginKit.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osvrPluginKit.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osvrRenderManager.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osvrRenderManager.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osvrServer.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osvrServer.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osvrUSBSerial.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osvrUSBSerial.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osvrUtil.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osvrUtil.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/osvrVRPNServer.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/osvrVRPNServer.dll
--------------------------------------------------------------------------------
/src/win32-x86-64/ot20-OpenThreads.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86-64/ot20-OpenThreads.dll
--------------------------------------------------------------------------------
/src/win32-x86/openvr_api.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86/openvr_api.dll
--------------------------------------------------------------------------------
/src/win32-x86/openvr_api.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/phr00t/jMonkeyVR/6a2a80cc47b58c84af47837545250a5443037ab9/src/win32-x86/openvr_api.pdb
--------------------------------------------------------------------------------