public vector_short(vector_short other) : this(VisionLabPINVOKE.new_vector_short__SWIG_1(vector_short.getCPtr(other)), true) { if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } }
public vector_shortEnumerator(vector_short collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, vector_short values) { VisionLabPINVOKE.vector_short_SetRange(swigCPtr, index, vector_short.getCPtr(values)); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } }
public static vector_short Repeat(short value, int count) { IntPtr cPtr = VisionLabPINVOKE.vector_short_Repeat(value, count); vector_short ret = (cPtr == IntPtr.Zero) ? null : new vector_short(cPtr, true); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public vector_short GetRange(int index, int count) { IntPtr cPtr = VisionLabPINVOKE.vector_short_GetRange(swigCPtr, index, count); vector_short ret = (cPtr == IntPtr.Zero) ? null : new vector_short(cPtr, true); if (VisionLabPINVOKE.SWIGPendingException.Pending) { throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static void LUT(Int16Image image, short minPixel, vector_short tab) { VisionLabPINVOKE.LUT__SWIG_7(Int16Image.getCPtr(image), minPixel, vector_short.getCPtr(tab)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
public static SWIGTYPE_p_std__setT_short_t VectorToSet_short(vector_short v) { SWIGTYPE_p_std__setT_short_t ret = new SWIGTYPE_p_std__setT_short_t(VisionLabPINVOKE.VectorToSet_short(vector_short.getCPtr(v)), true); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static void ResampleLine(Int16Image image, Coord2D start, Coord2D end, int nrPixels, vector_Coord2D cTab, vector_short pTab) { VisionLabPINVOKE.ResampleLine__SWIG_4(Int16Image.getCPtr(image), Coord2D.getCPtr(start), Coord2D.getCPtr(end), nrPixels, vector_Coord2D.getCPtr(cTab), vector_short.getCPtr(pTab)); if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve(); }
internal static HandleRef getCPtr(vector_short obj) { return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_short obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }