Ejemplo n.º 1
0
 public vector_HoughLine(vector_HoughLine other) : this(VisionLabPINVOKE.new_vector_HoughLine__SWIG_1(vector_HoughLine.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
 public vector_HoughLineEnumerator(vector_HoughLine collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Ejemplo n.º 3
0
 public void SetRange(int index, vector_HoughLine values)
 {
     VisionLabPINVOKE.vector_HoughLine_SetRange(swigCPtr, index, vector_HoughLine.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 4
0
    public static vector_HoughLine Repeat(HoughLine value, int count)
    {
        global::System.IntPtr cPtr = VisionLabPINVOKE.vector_HoughLine_Repeat(HoughLine.getCPtr(value), count);
        vector_HoughLine      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new vector_HoughLine(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 5
0
    public vector_HoughLine GetRange(int index, int count)
    {
        global::System.IntPtr cPtr = VisionLabPINVOKE.vector_HoughLine_GetRange(swigCPtr, index, count);
        vector_HoughLine      ret  = (cPtr == global::System.IntPtr.Zero) ? null : new vector_HoughLine(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 6
0
 public static vector_HoughLine FindFastBestLines(DoubleImage src, HLParams p, double edgeMin, int nrLines, double minR, double minPhi, int minHits) {
   vector_HoughLine ret = new vector_HoughLine(VisionLabPINVOKE.FindFastBestLines__SWIG_6(DoubleImage.getCPtr(src), HLParams.getCPtr(p), edgeMin, nrLines, minR, minPhi, minHits), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 7
0
 public static vector_HoughLine HTBestLines(FloatImage src, HLParams p, int nrLines, double minR, double minPhi, int minHits) {
   vector_HoughLine ret = new vector_HoughLine(VisionLabPINVOKE.HTBestLines__SWIG_5(FloatImage.getCPtr(src), HLParams.getCPtr(p), nrLines, minR, minPhi, minHits), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 8
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_HoughLine obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 internal static HandleRef getCPtr(vector_HoughLine obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }