public CVPoint2DListEnumerator(CVPoint2DList collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, CVPoint2DList values) { LandmarkDetectorPINVOKE.CVPoint2DList_SetRange(swigCPtr, index, CVPoint2DList.getCPtr(values)); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } }
public static CVPoint2DList CalculateLandmarks(CLNF clnf_model) { CVPoint2DList ret = new CVPoint2DList(LandmarkDetectorPINVOKE.CalculateLandmarks__SWIG_1(CLNF.getCPtr(clnf_model)), true); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static CVPoint2DList CalculateLandmarks(SWIGTYPE_p_cv__Mat_T_double_t shape2D, SWIGTYPE_p_cv__Mat_T_int_t visibilities) { CVPoint2DList ret = new CVPoint2DList(LandmarkDetectorPINVOKE.CalculateLandmarks__SWIG_0(SWIGTYPE_p_cv__Mat_T_double_t.getCPtr(shape2D), SWIGTYPE_p_cv__Mat_T_int_t.getCPtr(visibilities)), true); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static CVPoint2DList Repeat(SWIGTYPE_p_cv__Point2d value, int count) { global::System.IntPtr cPtr = LandmarkDetectorPINVOKE.CVPoint2DList_Repeat(SWIGTYPE_p_cv__Point2d.getCPtr(value), count); CVPoint2DList ret = (cPtr == global::System.IntPtr.Zero) ? null : new CVPoint2DList(cPtr, true); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public CVPoint2DList GetRange(int index, int count) { global::System.IntPtr cPtr = LandmarkDetectorPINVOKE.CVPoint2DList_GetRange(swigCPtr, index, count); CVPoint2DList ret = (cPtr == global::System.IntPtr.Zero) ? null : new CVPoint2DList(cPtr, true); if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public CVPoint2DList(CVPoint2DList other) : this(LandmarkDetectorPINVOKE.new_CVPoint2DList__SWIG_1(CVPoint2DList.getCPtr(other)), true) { if (LandmarkDetectorPINVOKE.SWIGPendingException.Pending) { throw LandmarkDetectorPINVOKE.SWIGPendingException.Retrieve(); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CVPoint2DList obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }