public vector_ImgDiff(vector_ImgDiff other) : this(ImgCmpLibPINVOKE.new_vector_ImgDiff__SWIG_1(vector_ImgDiff.getCPtr(other)), true) { if (ImgCmpLibPINVOKE.SWIGPendingException.Pending) { throw ImgCmpLibPINVOKE.SWIGPendingException.Retrieve(); } }
public vector_ImgDiffEnumerator(vector_ImgDiff collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, vector_ImgDiff values) { ImgCmpLibPINVOKE.vector_ImgDiff_SetRange(swigCPtr, index, vector_ImgDiff.getCPtr(values)); if (ImgCmpLibPINVOKE.SWIGPendingException.Pending) { throw ImgCmpLibPINVOKE.SWIGPendingException.Retrieve(); } }
public vector_ImgDiff CompareImages(string ref_image, string test_image) { vector_ImgDiff ret = new vector_ImgDiff(ImgCmpLibPINVOKE.ImgCmp_CompareImages(swigCPtr, ref_image, test_image), true); if (ImgCmpLibPINVOKE.SWIGPendingException.Pending) { throw ImgCmpLibPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static vector_ImgDiff Repeat(ImgDiff value, int count) { global::System.IntPtr cPtr = ImgCmpLibPINVOKE.vector_ImgDiff_Repeat(ImgDiff.getCPtr(value), count); vector_ImgDiff ret = (cPtr == global::System.IntPtr.Zero) ? null : new vector_ImgDiff(cPtr, true); if (ImgCmpLibPINVOKE.SWIGPendingException.Pending) { throw ImgCmpLibPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public vector_ImgDiff GetRange(int index, int count) { global::System.IntPtr cPtr = ImgCmpLibPINVOKE.vector_ImgDiff_GetRange(swigCPtr, index, count); vector_ImgDiff ret = (cPtr == global::System.IntPtr.Zero) ? null : new vector_ImgDiff(cPtr, true); if (ImgCmpLibPINVOKE.SWIGPendingException.Pending) { throw ImgCmpLibPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_ImgDiff obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }