Advertisement
Guest User

Windows.Human 9901

a guest
Dec 15th, 2014
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 6.90 KB | None | 0 0
  1.  MetaDiff v0.1 https://github.com/WalkingCat/MetaDiff
  2.  
  3.  new file: new\Windows.Human.winmd
  4.  old file: old\Windows.Human.winmd (NOT EXISTS!)
  5.  
  6.  diff legends: +: added, -: removed, *: changed, |: type member changed
  7.  
  8. + public class Windows.Human.Person {
  9. +       public Pose GetPredictedPoseForCurrentFrame();
  10. +       public void ReorientToHead( Pose pose, ref Pose reoriented );
  11. +       public IAsyncOperation<Pose> LocateAsync();
  12. +       TypedEventHandler<Person, FingerPressedEventArgs> FingerPressed;
  13. +       TypedEventHandler<Person, FingerReleasedEventArgs> FingerReleased;
  14. +       TypedEventHandler<Person, HandDetectedEventArgs> HandDetected;
  15. +       TypedEventHandler<Person, HandLostEventArgs> HandLost;
  16. +       TypedEventHandler<Person, HandMovedEventArgs> HandMoved;
  17. +       TypedEventHandler<Person, SelectDetectedEventArgs> SelectDetected;
  18. + }
  19.  
  20. + public class Windows.Human.Pose {
  21. +       public Matrix4x4 CameraToPoseTransform { get; }
  22. +       public Ray GazeDirection { get; }
  23. +       public IVectorView<Hand> Hands { get; }
  24. +       public Matrix4x4 HeadToPoseTransform { get; }
  25. +       public Matrix4x4 LeftEarToPoseTransform { get; }
  26. +       public Matrix4x4 RightEarToPoseTransform { get; }
  27. +       public Locatability Locatability { get; }
  28. +       public Pose GetUpdatedPrediction();
  29. +       public Pose GetInterpolation( TimeSpan value );
  30. +       public Locatability TryGetRelativeTransformTo( ILocatable locatability, ref Matrix4x4 pTarget );
  31. +       public static TimeSpan GetTimeSpanBetweenPoses( Pose timeSpan, Pose from );
  32. + }
  33.  
  34. + public class Windows.Human.Gestures.GestureRecognizer {
  35. +       public NuiGestureSettings GestureSettings { get; set; }
  36. +       public bool IsActive { get; }
  37. +       public GestureRecognizer();
  38. +       public void ProcessFingerPressedEvent( FingerPressedEventArgs value );
  39. +       public void ProcessFingerReleasedEvent( FingerReleasedEventArgs value );
  40. +       public void ProcessHandMovedEvent( HandMovedEventArgs value );
  41. +       public void ProcessHandDetectedEvent( HandDetectedEventArgs value );
  42. +       public void ProcessHandLostEvent( HandLostEventArgs value );
  43. +       public void CompleteGesture();
  44. +       TypedEventHandler<GestureRecognizer, ScrollCanceledEventArgs> ScrollCanceled;
  45. +       TypedEventHandler<GestureRecognizer, ScrollCompletedEventArgs> ScrollCompleted;
  46. +       TypedEventHandler<GestureRecognizer, ScrollStartedEventArgs> ScrollStarted;
  47. +       TypedEventHandler<GestureRecognizer, ScrollUpdatedEventArgs> ScrollUpdated;
  48. +       TypedEventHandler<GestureRecognizer, SelectDetectedEventArgs> SelectDetected;
  49. +       TypedEventHandler<GestureRecognizer, ZoomCanceledEventArgs> ZoomCanceled;
  50. +       TypedEventHandler<GestureRecognizer, ZoomCompletedEventArgs> ZoomCompleted;
  51. +       TypedEventHandler<GestureRecognizer, ZoomStartedEventArgs> ZoomStarted;
  52. +       TypedEventHandler<GestureRecognizer, ZoomUpdatedEventArgs> ZoomUpdated;
  53. + }
  54.  
  55. + public enum Windows.Human.Gestures.GestureSource {
  56. +       None = 0,
  57. +       Hand = 1,
  58. +       Speech = 2,
  59. + }
  60.  
  61. + public interface Windows.Human.Gestures.IGestureEventArgs {
  62. +       public Hand Hand { get; }
  63. +       public Pose Pose { get; }
  64. +       public GestureSource Source { get; }
  65. + }
  66.  
  67. + public interface Windows.Human.Gestures.IScrollEventArgs {
  68. +       public Vector2 NormalizedVelocity { get; }
  69. + }
  70.  
  71. + public interface Windows.Human.Gestures.IZoomEventArgs {
  72. +       public float NormalizedVelocity { get; }
  73. + }
  74.  
  75. + public enum Windows.Human.Gestures.NuiGestureSettings {
  76. +       None = 0,
  77. +       Select = 1,
  78. +       ScrollX = 2,
  79. +       ScrollY = 4,
  80. +       ScrollRailsX = 8,
  81. +       ScrollRailsY = 16,
  82. +       Zoom = 32,
  83. +       ZoomRails = 64,
  84. + }
  85.  
  86. + public class Windows.Human.Gestures.ScrollCanceledEventArgs {
  87. +       public Hand Hand { get; }
  88. +       public Pose Pose { get; }
  89. +       public GestureSource Source { get; }
  90. +       public Vector2 NormalizedVelocity { get; }
  91. + }
  92.  
  93. + public class Windows.Human.Gestures.ScrollCompletedEventArgs {
  94. +       public Hand Hand { get; }
  95. +       public Pose Pose { get; }
  96. +       public GestureSource Source { get; }
  97. +       public Vector2 NormalizedVelocity { get; }
  98. + }
  99.  
  100. + public class Windows.Human.Gestures.ScrollStartedEventArgs {
  101. +       public Hand Hand { get; }
  102. +       public Pose Pose { get; }
  103. +       public GestureSource Source { get; }
  104. +       public Vector2 NormalizedVelocity { get; }
  105. + }
  106.  
  107. + public class Windows.Human.Gestures.ScrollUpdatedEventArgs {
  108. +       public Hand Hand { get; }
  109. +       public Pose Pose { get; }
  110. +       public GestureSource Source { get; }
  111. +       public Vector2 NormalizedVelocity { get; }
  112. + }
  113.  
  114. + public class Windows.Human.Gestures.SelectDetectedEventArgs {
  115. +       public Hand Hand { get; }
  116. +       public Pose Pose { get; }
  117. +       public GestureSource Source { get; }
  118. + }
  119.  
  120. + public class Windows.Human.Gestures.ZoomCanceledEventArgs {
  121. +       public Hand Hand { get; }
  122. +       public Pose Pose { get; }
  123. +       public GestureSource Source { get; }
  124. +       public float NormalizedVelocity { get; }
  125. + }
  126.  
  127. + public class Windows.Human.Gestures.ZoomCompletedEventArgs {
  128. +       public Hand Hand { get; }
  129. +       public Pose Pose { get; }
  130. +       public GestureSource Source { get; }
  131. +       public float NormalizedVelocity { get; }
  132. + }
  133.  
  134. + public class Windows.Human.Gestures.ZoomStartedEventArgs {
  135. +       public Hand Hand { get; }
  136. +       public Pose Pose { get; }
  137. +       public GestureSource Source { get; }
  138. +       public float NormalizedVelocity { get; }
  139. + }
  140.  
  141. + public class Windows.Human.Gestures.ZoomUpdatedEventArgs {
  142. +       public Hand Hand { get; }
  143. +       public Pose Pose { get; }
  144. +       public GestureSource Source { get; }
  145. +       public float NormalizedVelocity { get; }
  146. + }
  147.  
  148. + public class Windows.Human.Hands.FingerPressedEventArgs {
  149. +       public Hand Hand { get; }
  150. +       public Pose Pose { get; }
  151. + }
  152.  
  153. + public class Windows.Human.Hands.FingerReleasedEventArgs {
  154. +       public Hand Hand { get; }
  155. +       public Pose Pose { get; }
  156. + }
  157.  
  158. + public class Windows.Human.Hands.Hand {
  159. +       public Vector3 GuidanceDirection { get; }
  160. +       public float GuidanceScore { get; }
  161. +       public uint Id { get; }
  162. +       public Vector3 Position { get; }
  163. +       public HandState State { get; }
  164. + }
  165.  
  166. + public class Windows.Human.Hands.HandDetectedEventArgs {
  167. +       public Hand Hand { get; }
  168. +       public Pose Pose { get; }
  169. + }
  170.  
  171. + public class Windows.Human.Hands.HandLostEventArgs {
  172. +       public Hand Hand { get; }
  173. +       public Pose Pose { get; }
  174. + }
  175.  
  176. + public class Windows.Human.Hands.HandMovedEventArgs {
  177. +       public Hand Hand { get; }
  178. +       public Pose Pose { get; }
  179. + }
  180.  
  181. + public enum Windows.Human.Hands.HandState {
  182. +       Released = 0,
  183. +       Holding = 1,
  184. + }
  185.  
  186. + public interface Windows.Human.Hands.IHandEventArgs {
  187. +       public Hand Hand { get; }
  188. +       public Pose Pose { get; }
  189. + }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement