public vector_XYCoordEnumerator(vector_XYCoord collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public vector_XYCoord(vector_XYCoord other) : this(VisionLabPINVOKE.new_vector_XYCoord__SWIG_1(vector_XYCoord.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void SetRange(int index, vector_XYCoord values)
 {
     VisionLabPINVOKE.vector_XYCoord_SetRange(swigCPtr, index, vector_XYCoord.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 4
0
    public int ApproxPolygon(double minDistance, int maxVertices, vector_XYCoord tab)
    {
        int ret = VisionLabPINVOKE.ChainCode_ApproxPolygon(swigCPtr, minDistance, maxVertices, vector_XYCoord.getCPtr(tab));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 5
0
    public int ConvToXYCoordTab(vector_XYCoord tab)
    {
        int ret = VisionLabPINVOKE.ChainCode_ConvToXYCoordTab(swigCPtr, vector_XYCoord.getCPtr(tab));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public vector_XYCoord GetRange(int index, int count)
    {
        IntPtr         cPtr = VisionLabPINVOKE.vector_XYCoord_GetRange(swigCPtr, index, count);
        vector_XYCoord ret  = (cPtr == IntPtr.Zero) ? null : new vector_XYCoord(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public static vector_XYCoord Repeat(XYCoord value, int count)
    {
        IntPtr         cPtr = VisionLabPINVOKE.vector_XYCoord_Repeat(XYCoord.getCPtr(value), count);
        vector_XYCoord ret  = (cPtr == IntPtr.Zero) ? null : new vector_XYCoord(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public static string XYCoordTabToStr(vector_XYCoord tab) {
   string ret = VisionLabPINVOKE.XYCoordTabToStr(vector_XYCoord.getCPtr(tab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static void LineXYToCoords(LineXY xy, vector_XYCoord tab) {
   VisionLabPINVOKE.LineXYToCoords__SWIG_3(LineXY.getCPtr(xy), vector_XYCoord.getCPtr(tab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 10
0
 public static void LineXYToCoords(XYCoord startOrg, XYCoord endOrg, vector_XYCoord tab) {
   VisionLabPINVOKE.LineXYToCoords__SWIG_2(XYCoord.getCPtr(startOrg), XYCoord.getCPtr(endOrg), vector_XYCoord.getCPtr(tab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 11
0
 public static void DrawPolygon(FloatImage image, vector_XYCoord tab, float value, ZeroOrOriginal zorg) {
   VisionLabPINVOKE.DrawPolygon__SWIG_10(FloatImage.getCPtr(image), vector_XYCoord.getCPtr(tab), value, (int)zorg);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 12
0
 public static void DrawPolygon(YUV888Image image, vector_XYCoord tab, YUV888Pixel value, ZeroOrOriginal zorg) {
   VisionLabPINVOKE.DrawPolygon__SWIG_22(YUV888Image.getCPtr(image), vector_XYCoord.getCPtr(tab), YUV888Pixel.getCPtr(value), (int)zorg);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 13
0
 public int ApproxPolygon(double minDistance, int maxVertices, vector_XYCoord tab) {
   int ret = VisionLabPINVOKE.ChainCode_ApproxPolygon(swigCPtr, minDistance, maxVertices, vector_XYCoord.getCPtr(tab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 14
0
 public static void FindSubEdgesInScanLines(DoubleImage image, vector_XYCoord startLineTab, vector_XYCoord endLineTab, vector_Coord2D xTab) {
   VisionLabPINVOKE.FindSubEdgesInScanLines__SWIG_6(DoubleImage.getCPtr(image), vector_XYCoord.getCPtr(startLineTab), vector_XYCoord.getCPtr(endLineTab), vector_Coord2D.getCPtr(xTab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 15
0
 public static int XYCoordTabFromImage(YUV161616Image image, vector_XYCoord tab, YUV161616Pixel low, YUV161616Pixel high) {
   int ret = VisionLabPINVOKE.XYCoordTabFromImage__SWIG_25(YUV161616Image.getCPtr(image), vector_XYCoord.getCPtr(tab), YUV161616Pixel.getCPtr(low), YUV161616Pixel.getCPtr(high));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 16
0
 public static int XYCoordTabFromImage(YUV888Image image, vector_XYCoord tab, YUV888Pixel pixel) {
   int ret = VisionLabPINVOKE.XYCoordTabFromImage__SWIG_22(YUV888Image.getCPtr(image), vector_XYCoord.getCPtr(tab), YUV888Pixel.getCPtr(pixel));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 17
0
 public static int XYCoordTabFromImage(DoubleImage image, vector_XYCoord tab, double low, double high) {
   int ret = VisionLabPINVOKE.XYCoordTabFromImage__SWIG_13(DoubleImage.getCPtr(image), vector_XYCoord.getCPtr(tab), low, high);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 18
0
 public static int XYCoordTabFromImage(FloatImage image, vector_XYCoord tab, float pixel) {
   int ret = VisionLabPINVOKE.XYCoordTabFromImage__SWIG_10(FloatImage.getCPtr(image), vector_XYCoord.getCPtr(tab), pixel);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 19
0
 public static void DrawPolygon(ComplexDoubleImage image, vector_XYCoord tab, SWIGTYPE_p_std__complexT_double_t value) {
   VisionLabPINVOKE.DrawPolygon__SWIG_29(ComplexDoubleImage.getCPtr(image), vector_XYCoord.getCPtr(tab), SWIGTYPE_p_std__complexT_double_t.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 20
0
 public static void DrawPolygon(ComplexFloatImage image, vector_XYCoord tab, SWIGTYPE_p_std__complexT_float_t value, ZeroOrOriginal zorg) {
   VisionLabPINVOKE.DrawPolygon__SWIG_26(ComplexFloatImage.getCPtr(image), vector_XYCoord.getCPtr(tab), SWIGTYPE_p_std__complexT_float_t.getCPtr(value), (int)zorg);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 21
0
 public static void DrawPolygon(YUV161616Image image, vector_XYCoord tab, YUV161616Pixel value) {
   VisionLabPINVOKE.DrawPolygon__SWIG_25(YUV161616Image.getCPtr(image), vector_XYCoord.getCPtr(tab), YUV161616Pixel.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 22
0
 public static vector_XYCoord StrToXYCoordTab(string str) {
   vector_XYCoord ret = new vector_XYCoord(VisionLabPINVOKE.StrToXYCoordTab(str), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 23
0
 public static int ApproxPolygon(Int32Image image, Connected connected, double minDistance, int maxVertices, vector_XYCoord tab) {
   int ret = VisionLabPINVOKE.ApproxPolygon__SWIG_4(Int32Image.getCPtr(image), (int)connected, minDistance, maxVertices, vector_XYCoord.getCPtr(tab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 24
0
 public static int XYCoordTabFromImage(ComplexFloatImage image, vector_XYCoord tab, SWIGTYPE_p_std__complexT_float_t pixel) {
   int ret = VisionLabPINVOKE.XYCoordTabFromImage__SWIG_26(ComplexFloatImage.getCPtr(image), vector_XYCoord.getCPtr(tab), SWIGTYPE_p_std__complexT_float_t.getCPtr(pixel));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 25
0
 public static LineXY LongestLineBetweenCoords(vector_XYCoord tab, ref int startIndex, ref int endIndex) {
   LineXY ret = new LineXY(VisionLabPINVOKE.LongestLineBetweenCoords__SWIG_0(vector_XYCoord.getCPtr(tab), ref startIndex, ref endIndex), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 26
0
 public int ConvToXYCoordTab(vector_XYCoord tab) {
   int ret = VisionLabPINVOKE.ChainCode_ConvToXYCoordTab(swigCPtr, vector_XYCoord.getCPtr(tab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static HandleRef getCPtr(vector_XYCoord obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 28
0
 public static void DrawPolygon(DoubleImage image, vector_XYCoord tab, double value) {
   VisionLabPINVOKE.DrawPolygon__SWIG_13(DoubleImage.getCPtr(image), vector_XYCoord.getCPtr(tab), value);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Exemplo n.º 29
0
 public static vector_XYCoord LineXYToCoords(XYCoord startOrg, XYCoord endOrg) {
   vector_XYCoord ret = new vector_XYCoord(VisionLabPINVOKE.LineXYToCoords__SWIG_0(XYCoord.getCPtr(startOrg), XYCoord.getCPtr(endOrg)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 30
0
 public static vector_XYCoord LineXYToCoords(LineXY xy) {
   vector_XYCoord ret = new vector_XYCoord(VisionLabPINVOKE.LineXYToCoords__SWIG_1(LineXY.getCPtr(xy)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Exemplo n.º 31
0
 public static int XYCoordTabFromImage(ComplexDoubleImage image, vector_XYCoord tab, SWIGTYPE_p_std__complexT_double_t low, SWIGTYPE_p_std__complexT_double_t high) {
   int ret = VisionLabPINVOKE.XYCoordTabFromImage__SWIG_29(ComplexDoubleImage.getCPtr(image), vector_XYCoord.getCPtr(tab), SWIGTYPE_p_std__complexT_double_t.getCPtr(low), SWIGTYPE_p_std__complexT_double_t.getCPtr(high));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_XYCoord obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }