public virtual void SetROI(int n, CamROI roi)
 {
     VisionLabPINVOKE.CameraBase_SetROI(swigCPtr, n, CamROI.getCPtr(roi));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public virtual CamROI GetROI(int n)
    {
        CamROI ret = new CamROI(VisionLabPINVOKE.CameraBase_GetROI(swigCPtr, n), true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public virtual int AddROI(CamROI roi)
    {
        int ret = VisionLabPINVOKE.CameraBase_AddROI(swigCPtr, CamROI.getCPtr(roi));

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CamROI obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 public static CamROI StrToCamROI(string str) {
   CamROI ret = new CamROI(VisionLabPINVOKE.StrToCamROI(str), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static string CamROIToStr(CamROI r) {
   string ret = VisionLabPINVOKE.CamROIToStr(CamROI.getCPtr(r));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static HandleRef getCPtr(CamROI obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public virtual CamROI GetROI(int n) {
   CamROI ret = new CamROI(VisionLabPINVOKE.CameraBase_GetROI(swigCPtr, n), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public virtual void SetROI(int n, CamROI roi) {
   VisionLabPINVOKE.CameraBase_SetROI(swigCPtr, n, CamROI.getCPtr(roi));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
 public virtual int AddROI(CamROI roi) {
   int ret = VisionLabPINVOKE.CameraBase_AddROI(swigCPtr, CamROI.getCPtr(roi));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static HandleRef getCPtr(CamROI obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }