public vector_uchar(vector_uchar other) : this(VisionLabPINVOKE.new_vector_uchar__SWIG_1(vector_uchar.getCPtr(other)), true) { if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } }
public vector_ucharEnumerator(vector_uchar collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, vector_uchar values) { VisionLabPINVOKE.vector_uchar_SetRange(swigCPtr, index, vector_uchar.getCPtr(values)); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } }
public static vector_uchar Repeat(byte value, int count) { IntPtr cPtr = VisionLabPINVOKE.vector_uchar_Repeat(value, count); vector_uchar ret = (cPtr == IntPtr.Zero) ? null : new vector_uchar(cPtr, true); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public vector_uchar GetRange(int index, int count) { IntPtr cPtr = VisionLabPINVOKE.vector_uchar_GetRange(swigCPtr, index, count); vector_uchar ret = (cPtr == IntPtr.Zero) ? null : new vector_uchar(cPtr, true); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static void LUT(ByteImage image, byte minPixel, vector_uchar tab) { VisionLabPINVOKE.LUT__SWIG_3(ByteImage.getCPtr(image), minPixel, vector_uchar.getCPtr(tab)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static SWIGTYPE_p_std__setT_unsigned_char_t VectorToSet_uchar(vector_uchar v) { SWIGTYPE_p_std__setT_unsigned_char_t ret = new SWIGTYPE_p_std__setT_unsigned_char_t(VisionLabPINVOKE.VectorToSet_uchar(vector_uchar.getCPtr(v)), true); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static void ResampleLine(ByteImage image, Coord2D start, Coord2D end, int nrPixels, vector_Coord2D cTab, vector_uchar pTab) { VisionLabPINVOKE.ResampleLine__SWIG_2(ByteImage.getCPtr(image), Coord2D.getCPtr(start), Coord2D.getCPtr(end), nrPixels, vector_Coord2D.getCPtr(cTab), vector_uchar.getCPtr(pTab)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(vector_uchar obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_uchar obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }