Esempio n. 1
0
 public vector_vector_int(vector_vector_int other) : this(VisionLabPINVOKE.new_vector_vector_int__SWIG_1(vector_vector_int.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 2
0
 public vector_vector_intEnumerator(vector_vector_int collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
Esempio n. 3
0
 public void SetRange(int index, vector_vector_int values)
 {
     VisionLabPINVOKE.vector_vector_int_SetRange(swigCPtr, index, vector_vector_int.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Esempio n. 4
0
    public static vector_vector_int Repeat(vector_int value, int count)
    {
        IntPtr            cPtr = VisionLabPINVOKE.vector_vector_int_Repeat(vector_int.getCPtr(value), count);
        vector_vector_int ret  = (cPtr == IntPtr.Zero) ? null : new vector_vector_int(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Esempio n. 5
0
    public vector_vector_int GetRange(int index, int count)
    {
        IntPtr            cPtr = VisionLabPINVOKE.vector_vector_int_GetRange(swigCPtr, index, count);
        vector_vector_int ret  = (cPtr == IntPtr.Zero) ? null : new vector_vector_int(cPtr, true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public override int FindPatterns(Int32Image image, float maxError, float minConfindence, float beginAngle, float endAngle, vector_PatternMatchResult labelTab, vector_vector_int patTab)
    {
        int ret = VisionLabPINVOKE.BlobMatcher_Int32_FindPatterns(swigCPtr, Int32Image.getCPtr(image), maxError, minConfindence, beginAngle, endAngle, vector_PatternMatchResult.getCPtr(labelTab), vector_vector_int.getCPtr(patTab));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public static vector_vector_int StrToPatternLabelTab(string str) {
   vector_vector_int ret = new vector_vector_int(VisionLabPINVOKE.StrToPatternLabelTab(str), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static string PatternLabelTabToStr(vector_vector_int tab) {
   string ret = VisionLabPINVOKE.PatternLabelTabToStr(vector_vector_int.getCPtr(tab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public override int FindPatterns(Int8Image image, float maxError, float minConfindence, float beginAngle, float endAngle, vector_PatternMatchResult labelTab, vector_vector_int patTab) {
   int ret = VisionLabPINVOKE.BlobMatcher_Int8_FindPatterns(swigCPtr, Int8Image.getCPtr(image), maxError, minConfindence, beginAngle, endAngle, vector_PatternMatchResult.getCPtr(labelTab), vector_vector_int.getCPtr(patTab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Esempio n. 10
0
 internal static HandleRef getCPtr(vector_vector_int obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_vector_int obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }