public CamCalibration(CamCalibration cal) : this(VisionLabPINVOKE.new_CamCalibration__SWIG_2(CamCalibration.getCPtr(cal)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public void SetFounder(int populationSize, CamCalibration cal)
 {
     VisionLabPINVOKE.CamCalibGA_SetFounder(swigCPtr, populationSize, CamCalibration.getCPtr(cal));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public CamCalibration Assign_Op(CamCalibration cal)
    {
        CamCalibration ret = new CamCalibration(VisionLabPINVOKE.CamCalibration_Assign_Op(swigCPtr, CamCalibration.getCPtr(cal)), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemple #4
0
    public double Optimize(int maxGen, double minError, double deltaError, CamCalibration camCalib, double microP)
    {
        double ret = VisionLabPINVOKE.CamCalibGA_Optimize__SWIG_0(swigCPtr, maxGen, minError, deltaError, CamCalibration.getCPtr(camCalib), microP);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 internal static HandleRef getCPtr(CamCalibration obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public static CamCalibration StrToCamCalibration(string str) {
   CamCalibration ret = new CamCalibration(VisionLabPINVOKE.StrToCamCalibration(str), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static string CamCalibrationToStr(CamCalibration cal) {
   string ret = VisionLabPINVOKE.CamCalibrationToStr(CamCalibration.getCPtr(cal));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public CamCalibration Assign_Op(CamCalibration cal) {
   CamCalibration ret = new CamCalibration(VisionLabPINVOKE.CamCalibration_Assign_Op(swigCPtr, CamCalibration.getCPtr(cal)), false);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public CamCalibration(CamCalibration cal) : this(VisionLabPINVOKE.new_CamCalibration__SWIG_2(CamCalibration.getCPtr(cal)), true) {
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 internal static HandleRef getCPtr(CamCalibration obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemple #11
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CamCalibration obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public double Optimize(int maxGen, double minError, double deltaError, CamCalibration camCalib) {
   double ret = VisionLabPINVOKE.CamCalibGA_Optimize__SWIG_1(swigCPtr, maxGen, minError, deltaError, CamCalibration.getCPtr(camCalib));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public void SetFounder(int populationSize, CamCalibration cal) {
   VisionLabPINVOKE.CamCalibGA_SetFounder(swigCPtr, populationSize, CamCalibration.getCPtr(cal));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }