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_ImgDiff(int capacity) : this(ImgCmpLibPINVOKE.new_vector_ImgDiff__SWIG_2(capacity), true) { if (ImgCmpLibPINVOKE.SWIGPendingException.Pending) { throw ImgCmpLibPINVOKE.SWIGPendingException.Retrieve(); } }
public void RemoveAt(int index) { ImgCmpLibPINVOKE.vector_ImgDiff_RemoveAt(swigCPtr, index); if (ImgCmpLibPINVOKE.SWIGPendingException.Pending) { throw ImgCmpLibPINVOKE.SWIGPendingException.Retrieve(); } }
public void Insert(int index, ImgDiff x) { ImgCmpLibPINVOKE.vector_ImgDiff_Insert(swigCPtr, index, ImgDiff.getCPtr(x)); if (ImgCmpLibPINVOKE.SWIGPendingException.Pending) { throw ImgCmpLibPINVOKE.SWIGPendingException.Retrieve(); } }
public void Reverse(int index, int count) { ImgCmpLibPINVOKE.vector_ImgDiff_Reverse__SWIG_1(swigCPtr, index, count); if (ImgCmpLibPINVOKE.SWIGPendingException.Pending) { throw ImgCmpLibPINVOKE.SWIGPendingException.Retrieve(); } }
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 void Add(ImgDiff x) { ImgCmpLibPINVOKE.vector_ImgDiff_Add(swigCPtr, ImgDiff.getCPtr(x)); if (ImgCmpLibPINVOKE.SWIGPendingException.Pending) { throw ImgCmpLibPINVOKE.SWIGPendingException.Retrieve(); } }
private void setitem(int index, ImgDiff val) { ImgCmpLibPINVOKE.vector_ImgDiff_setitem(swigCPtr, index, ImgDiff.getCPtr(val)); if (ImgCmpLibPINVOKE.SWIGPendingException.Pending) { throw ImgCmpLibPINVOKE.SWIGPendingException.Retrieve(); } }
private ImgDiff getitem(int index) { ImgDiff ret = new ImgDiff(ImgCmpLibPINVOKE.vector_ImgDiff_getitem(swigCPtr, index), false); if (ImgCmpLibPINVOKE.SWIGPendingException.Pending) { throw ImgCmpLibPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
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); }
public virtual void Dispose() { lock (this) { if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; ImgCmpLibPINVOKE.delete_ImgCmp(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } global::System.GC.SuppressFinalize(this); } }
public ImgDiff(int left, int top, int width, int height, float sad) : this(ImgCmpLibPINVOKE.new_ImgDiff__SWIG_1(left, top, width, height, sad), true) { }
public ImgCmp() : this(ImgCmpLibPINVOKE.new_ImgCmp(), true) { }
private uint size() { uint ret = ImgCmpLibPINVOKE.vector_ImgDiff_size(swigCPtr); return(ret); }
private uint capacity() { uint ret = ImgCmpLibPINVOKE.vector_ImgDiff_capacity(swigCPtr); return(ret); }
public void Reverse() { ImgCmpLibPINVOKE.vector_ImgDiff_Reverse__SWIG_0(swigCPtr); }
private void reserve(uint n) { ImgCmpLibPINVOKE.vector_ImgDiff_reserve(swigCPtr, n); }
public vector_ImgDiff() : this(ImgCmpLibPINVOKE.new_vector_ImgDiff__SWIG_0(), true) { }
public void Clear() { ImgCmpLibPINVOKE.vector_ImgDiff_Clear(swigCPtr); }