LandmarkSet.cs 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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 LandmarkSet : global::System.IDisposable {
  11. private global::System.Runtime.InteropServices.HandleRef swigCPtr;
  12. protected bool swigCMemOwn;
  13. internal LandmarkSet(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(LandmarkSet obj) {
  18. return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
  19. }
  20. ~LandmarkSet() {
  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_LandmarkSet(swigCPtr);
  33. }
  34. swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
  35. }
  36. }
  37. }
  38. public Point3fList body {
  39. set {
  40. GestureEstimatePINVOKE.LandmarkSet_body_set(swigCPtr, Point3fList.getCPtr(value));
  41. }
  42. get {
  43. global::System.IntPtr cPtr = GestureEstimatePINVOKE.LandmarkSet_body_get(swigCPtr);
  44. Point3fList ret = (cPtr == global::System.IntPtr.Zero) ? null : new Point3fList(cPtr, false);
  45. return ret;
  46. }
  47. }
  48. public Point3fList left {
  49. set {
  50. GestureEstimatePINVOKE.LandmarkSet_left_set(swigCPtr, Point3fList.getCPtr(value));
  51. }
  52. get {
  53. global::System.IntPtr cPtr = GestureEstimatePINVOKE.LandmarkSet_left_get(swigCPtr);
  54. Point3fList ret = (cPtr == global::System.IntPtr.Zero) ? null : new Point3fList(cPtr, false);
  55. return ret;
  56. }
  57. }
  58. public Point3fList right {
  59. set {
  60. GestureEstimatePINVOKE.LandmarkSet_right_set(swigCPtr, Point3fList.getCPtr(value));
  61. }
  62. get {
  63. global::System.IntPtr cPtr = GestureEstimatePINVOKE.LandmarkSet_right_get(swigCPtr);
  64. Point3fList ret = (cPtr == global::System.IntPtr.Zero) ? null : new Point3fList(cPtr, false);
  65. return ret;
  66. }
  67. }
  68. public LandmarkSet() : this(GestureEstimatePINVOKE.new_LandmarkSet(), true) {
  69. }
  70. }