Example #1
0
 public vector_LineXY(vector_LineXY other) : this(VisionLabPINVOKE.new_vector_LineXY__SWIG_1(vector_LineXY.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public vector_LineXYEnumerator(vector_LineXY collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Example #3
0
 public void SetRange(int index, vector_LineXY values)
 {
     VisionLabPINVOKE.vector_LineXY_SetRange(swigCPtr, index, vector_LineXY.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
    public static vector_LineXY Repeat(LineXY value, int count)
    {
        global::System.IntPtr cPtr = VisionLabPINVOKE.vector_LineXY_Repeat(LineXY.getCPtr(value), count);
        vector_LineXY         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new vector_LineXY(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #5
0
    public vector_LineXY GetRange(int index, int count)
    {
        global::System.IntPtr cPtr = VisionLabPINVOKE.vector_LineXY_GetRange(swigCPtr, index, count);
        vector_LineXY         ret  = (cPtr == global::System.IntPtr.Zero) ? null : new vector_LineXY(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public static void DrawLines(ComplexDoubleImage image, vector_LineXY tab, SWIGTYPE_p_std__complexT_double_t value) {
   VisionLabPINVOKE.DrawLines__SWIG_29(ComplexDoubleImage.getCPtr(image), vector_LineXY.getCPtr(tab), SWIGTYPE_p_std__complexT_double_t.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static void DrawLines(ComplexFloatImage image, vector_LineXY tab, SWIGTYPE_p_std__complexT_float_t value, ZeroOrOriginal zorg) {
   VisionLabPINVOKE.DrawLines__SWIG_26(ComplexFloatImage.getCPtr(image), vector_LineXY.getCPtr(tab), SWIGTYPE_p_std__complexT_float_t.getCPtr(value), (int)zorg);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static void DrawLines(YUV161616Image image, vector_LineXY tab, YUV161616Pixel value) {
   VisionLabPINVOKE.DrawLines__SWIG_25(YUV161616Image.getCPtr(image), vector_LineXY.getCPtr(tab), YUV161616Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static void DrawLines(YUV888Image image, vector_LineXY tab, YUV888Pixel value, ZeroOrOriginal zorg) {
   VisionLabPINVOKE.DrawLines__SWIG_22(YUV888Image.getCPtr(image), vector_LineXY.getCPtr(tab), YUV888Pixel.getCPtr(value), (int)zorg);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static void DrawLines(DoubleImage image, vector_LineXY tab, double value) {
   VisionLabPINVOKE.DrawLines__SWIG_13(DoubleImage.getCPtr(image), vector_LineXY.getCPtr(tab), value);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public static void DrawLines(FloatImage image, vector_LineXY tab, float value, ZeroOrOriginal zorg) {
   VisionLabPINVOKE.DrawLines__SWIG_10(FloatImage.getCPtr(image), vector_LineXY.getCPtr(tab), value, (int)zorg);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Example #12
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_LineXY obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Example #13
0
 internal static HandleRef getCPtr(vector_LineXY obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }