ArmsRaisedToLeft.cs 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. //------------------------------------------------------------------------------
  2. // <auto-generated />
  3. //
  4. // This file was automatically generated by SWIG (http://www.swig.org).
  5. // Version 4.0.2
  6. //
  7. // Do not make changes to this file unless you know what you are doing--modify
  8. // the SWIG interface file instead.
  9. //------------------------------------------------------------------------------
  10. public class ArmsRaisedToLeft : global::System.IDisposable {
  11. private global::System.Runtime.InteropServices.HandleRef swigCPtr;
  12. protected bool swigCMemOwn;
  13. internal ArmsRaisedToLeft(global::System.IntPtr cPtr, bool cMemoryOwn) {
  14. swigCMemOwn = cMemoryOwn;
  15. swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
  16. }
  17. internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ArmsRaisedToLeft obj) {
  18. return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
  19. }
  20. ~ArmsRaisedToLeft() {
  21. Dispose(false);
  22. }
  23. public void Dispose() {
  24. Dispose(true);
  25. global::System.GC.SuppressFinalize(this);
  26. }
  27. protected virtual void Dispose(bool disposing) {
  28. lock(this) {
  29. if (swigCPtr.Handle != global::System.IntPtr.Zero) {
  30. if (swigCMemOwn) {
  31. swigCMemOwn = false;
  32. GestureEstimatePINVOKE.delete_ArmsRaisedToLeft(swigCPtr);
  33. }
  34. swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
  35. }
  36. }
  37. }
  38. public bool Detect(Point3fList body) {
  39. bool ret = GestureEstimatePINVOKE.ArmsRaisedToLeft_Detect(swigCPtr, Point3fList.getCPtr(body));
  40. if (GestureEstimatePINVOKE.SWIGPendingException.Pending) throw GestureEstimatePINVOKE.SWIGPendingException.Retrieve();
  41. return ret;
  42. }
  43. public float shoulder_straight_angle {
  44. set {
  45. GestureEstimatePINVOKE.ArmsRaisedToLeft_shoulder_straight_angle_set(swigCPtr, value);
  46. }
  47. get {
  48. float ret = GestureEstimatePINVOKE.ArmsRaisedToLeft_shoulder_straight_angle_get(swigCPtr);
  49. return ret;
  50. }
  51. }
  52. public float elbow_straight_angle {
  53. set {
  54. GestureEstimatePINVOKE.ArmsRaisedToLeft_elbow_straight_angle_set(swigCPtr, value);
  55. }
  56. get {
  57. float ret = GestureEstimatePINVOKE.ArmsRaisedToLeft_elbow_straight_angle_get(swigCPtr);
  58. return ret;
  59. }
  60. }
  61. public ArmsRaisedToLeft() : this(GestureEstimatePINVOKE.new_ArmsRaisedToLeft(), true) {
  62. }
  63. }