Beispiel #1
0
 protected virtual void Dispose(bool disposing)
 {
     System.Diagnostics.Debug.WriteLine(String.Format("[OSVR] In Interface.Dispose({0})", disposing));
     if (disposing)
     {
         if (mHandle != null && !mHandle.IsInvalid)
         {
             mHandle.Dispose();
             mHandle = null;
         }
     }
 }
Beispiel #2
0
 public extern static Byte osvrClientGetViewerEyeSurfaceProjectionClippingPlanes(SafeDisplayConfigHandle display,
     ViewerCount viewer, EyeCount eye, SurfaceCount surface,
     out double left, out double right, out double bottom, out double top);
Beispiel #3
0
 public extern static Byte osvrClientGetViewerEyeSurfaceDisplayInputIndex(SafeDisplayConfigHandle display,
     ViewerCount viewer, EyeCount eye, SurfaceCount surface, out DisplayInputCount displayInput);
Beispiel #4
0
 public extern static Byte osvrClientGetNumSurfacesForViewerEye(SafeDisplayConfigHandle display,
     ViewerCount viewer, EyeCount eye, out SurfaceCount surfaces);
Beispiel #5
0
 public extern static Byte osvrClientGetViewerEyePose(SafeDisplayConfigHandle display,
     ViewerCount viewer, EyeCount eye, out Pose3 pose);
Beispiel #6
0
 public extern static Byte osvrClientGetNumViewers(SafeDisplayConfigHandle display, out ViewerCount viewers);
Beispiel #7
0
 public extern static Byte osvrClientGetNumDisplayInputs(SafeDisplayConfigHandle display, out DisplayInputCount numDisplayInputs);
Beispiel #8
0
 public extern static Byte osvrClientCheckDisplayStartup(SafeDisplayConfigHandle context);
Beispiel #9
0
 public extern static Byte osvrClientGetNumSurfacesForViewerEye(SafeDisplayConfigHandle display,
                                                                ViewerCount viewer, EyeCount eye, out SurfaceCount surfaces);
Beispiel #10
0
 public extern static Byte osvrClientGetViewerEyeViewMatrixf(SafeDisplayConfigHandle display,
                                                             ViewerCount viewer, EyeCount eye, MatrixConventionsFlags flags, out Matrix44f mat);
Beispiel #11
0
 public extern static Byte osvrClientGetViewerEyePose(SafeDisplayConfigHandle display,
                                                      ViewerCount viewer, EyeCount eye, out Pose3 pose);
Beispiel #12
0
 public extern static Byte osvrClientGetNumEyesForViewer(SafeDisplayConfigHandle display,
                                                         ViewerCount viewer, out EyeCount eyes);
Beispiel #13
0
 public extern static Byte osvrClientGetNumViewers(SafeDisplayConfigHandle display, out ViewerCount viewers);
Beispiel #14
0
 public extern static Byte osvrClientGetDisplayDimensions(SafeDisplayConfigHandle display,
                                                          DisplayInputCount displayInputIndex, out DisplayDimension width, out DisplayDimension height);
Beispiel #15
0
 public extern static Byte osvrClientGetNumDisplayInputs(SafeDisplayConfigHandle display, out DisplayInputCount numDisplayInputs);
Beispiel #16
0
 public extern static Byte osvrClientGetViewerEyeSurfaceRadialDistortionPriority(SafeDisplayConfigHandle display,
     ViewerCount viewer, EyeCount eye, SurfaceCount surface, out DistortionPriority priority);
Beispiel #17
0
 internal DisplayConfig(SafeDisplayConfigHandle handle)
 {
     mHandle = handle;
 }
Beispiel #18
0
 public extern static Byte osvrClientGetRelativeViewportForViewerEyeSurface(SafeDisplayConfigHandle display,
                                                                            ViewerCount viewer, EyeCount eye, SurfaceCount surface,
                                                                            out ViewportDimension left, out ViewportDimension bottom, out ViewportDimension width, out ViewportDimension height);
Beispiel #19
0
 public extern static Byte osvrClientCheckDisplayStartup(SafeDisplayConfigHandle context);
Beispiel #20
0
 public extern static Byte osvrClientGetViewerEyeSurfaceDisplayInputIndex(SafeDisplayConfigHandle display,
                                                                          ViewerCount viewer, EyeCount eye, SurfaceCount surface, out DisplayInputCount displayInput);
Beispiel #21
0
 public extern static Byte osvrClientGetDisplayDimensions(SafeDisplayConfigHandle display,
     DisplayInputCount displayInputIndex, out DisplayDimension width, out DisplayDimension height);
Beispiel #22
0
 public extern static Byte osvrClientGetViewerEyeSurfaceProjectionMatrixf(SafeDisplayConfigHandle display,
                                                                          ViewerCount viewer, EyeCount eye, SurfaceCount surface, float near, float far,
                                                                          MatrixConventionsFlags flags, out Matrix44f matrix);
Beispiel #23
0
 public extern static Byte osvrClientGetNumEyesForViewer(SafeDisplayConfigHandle display,
     ViewerCount viewer, out EyeCount eyes);
Beispiel #24
0
 public extern static Byte osvrClientGetViewerEyeSurfaceProjectionClippingPlanes(SafeDisplayConfigHandle display,
                                                                                 ViewerCount viewer, EyeCount eye, SurfaceCount surface,
                                                                                 out double left, out double right, out double bottom, out double top);
Beispiel #25
0
 public extern static Byte osvrClientGetViewerEyeViewMatrixf(SafeDisplayConfigHandle display,
     ViewerCount viewer, EyeCount eye, MatrixConventionsFlags flags, out Matrix44f mat);
Beispiel #26
0
 public extern static Byte osvrClientDoesViewerEyeSurfaceWantDistortion(SafeDisplayConfigHandle display,
                                                                        ViewerCount viewer, EyeCount eye, SurfaceCount surface, [MarshalAs(UnmanagedType.I1)] out bool distortionRequested);
Beispiel #27
0
 public extern static Byte osvrClientGetRelativeViewportForViewerEyeSurface(SafeDisplayConfigHandle display,
     ViewerCount viewer, EyeCount eye, SurfaceCount surface,
     out ViewportDimension left, out ViewportDimension bottom, out ViewportDimension width, out ViewportDimension height);
Beispiel #28
0
 public extern static Byte osvrClientGetViewerEyeSurfaceRadialDistortionPriority(SafeDisplayConfigHandle display,
                                                                                 ViewerCount viewer, EyeCount eye, SurfaceCount surface, out DistortionPriority priority);
Beispiel #29
0
 public extern static Byte osvrClientGetViewerEyeSurfaceProjectionMatrixf(SafeDisplayConfigHandle display,
     ViewerCount viewer, EyeCount eye, SurfaceCount surface, float near, float far,
     MatrixConventionsFlags flags, out Matrix44f matrix);
Beispiel #30
0
 public extern static Byte osvrClientGetViewerEyeSurfaceRadialDistortion(SafeDisplayConfigHandle display,
                                                                         ViewerCount viewer, EyeCount eye, SurfaceCount surface, out RadialDistortionParameters distortionParams);
Beispiel #31
0
 public extern static Byte osvrClientDoesViewerEyeSurfaceWantDistortion(SafeDisplayConfigHandle display,
     ViewerCount viewer, EyeCount eye, SurfaceCount surface, [MarshalAs(UnmanagedType.I1)]out bool distortionRequested);
Beispiel #32
0
 internal DisplayConfig(SafeDisplayConfigHandle handle)
 {
     mHandle = handle;
 }
Beispiel #33
0
 public extern static Byte osvrClientGetViewerEyeSurfaceRadialDistortion(SafeDisplayConfigHandle display,
     ViewerCount viewer, EyeCount eye, SurfaceCount surface, out RadialDistortionParameters distortionParams);
Beispiel #34
0
 public extern static Byte osvrClientGetDisplay(SafeClientContextHandle context, out SafeDisplayConfigHandle display);
Beispiel #35
0
 protected virtual void Dispose(bool disposing)
 {
     System.Diagnostics.Debug.WriteLine(String.Format("[OSVR] In Interface.Dispose({0})", disposing));
     if (disposing)
     {
         if (mHandle != null && !mHandle.IsInvalid)
         {
             mHandle.Dispose();
             mHandle = null;
         }
     }
 }
Beispiel #36
0
 public extern static Byte osvrClientGetDisplay(SafeClientContextHandle context, out SafeDisplayConfigHandle display);