public vector_PatternEvalResult(vector_PatternEvalResult other) : this(VisionLabPINVOKE.new_vector_PatternEvalResult__SWIG_1(vector_PatternEvalResult.getCPtr(other)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public vector_PatternEvalResultEnumerator(vector_PatternEvalResult collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
 public void SetRange(int index, vector_PatternEvalResult values)
 {
     VisionLabPINVOKE.vector_PatternEvalResult_SetRange(swigCPtr, index, vector_PatternEvalResult.getCPtr(values));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public static vector_PatternEvalResult Repeat(PatternEvalResult value, int count)
    {
        IntPtr cPtr = VisionLabPINVOKE.vector_PatternEvalResult_Repeat(PatternEvalResult.getCPtr(value), count);
        vector_PatternEvalResult ret = (cPtr == IntPtr.Zero) ? null : new vector_PatternEvalResult(cPtr, true);

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

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public override float EvaluateClassImageSet(ClassImageSet_Int32 cis, float beginAngle, float endAngle, vector_PatternEvalResult tabs, ref float meanError)
    {
        float ret = VisionLabPINVOKE.BlobMatcher_Int32_EvaluateClassImageSet(swigCPtr, ClassImageSet_Int32.getCPtr(cis), beginAngle, endAngle, vector_PatternEvalResult.getCPtr(tabs), ref meanError);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public static vector_PatternEvalResult StrToPatternEvalResultTab(string str) {
   vector_PatternEvalResult ret = new vector_PatternEvalResult(VisionLabPINVOKE.StrToPatternEvalResultTab(str), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static string PatternEvalResultTabToStr(vector_PatternEvalResult tab) {
   string ret = VisionLabPINVOKE.PatternEvalResultTabToStr(vector_PatternEvalResult.getCPtr(tab));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public override float EvaluateClassImageSet(ClassImageSet_Int8 cis, float beginAngle, float endAngle, vector_PatternEvalResult tabs, ref float meanError) {
   float ret = VisionLabPINVOKE.BlobMatcher_Int8_EvaluateClassImageSet(swigCPtr, ClassImageSet_Int8.getCPtr(cis), beginAngle, endAngle, vector_PatternEvalResult.getCPtr(tabs), ref meanError);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static HandleRef getCPtr(vector_PatternEvalResult obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Beispiel #11
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_PatternEvalResult obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }