public void SetDisplayLUT(string imageName, SWIGTYPE_p_DisplayLUT lut)
 {
     VisionLabPINVOKE.VisLibCmdInt_SetDisplayLUT(swigCPtr, imageName, SWIGTYPE_p_DisplayLUT.getCPtr(lut));
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public void InsertImage(string imageName, Image image, SWIGTYPE_p_DisplayLUT lut, string oldHistory)
 {
     VisionLabPINVOKE.VisLibCmdInt_InsertImage__SWIG_1(swigCPtr, imageName, Image.getCPtr(image), SWIGTYPE_p_DisplayLUT.getCPtr(lut), oldHistory);
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public SWIGTYPE_p_DisplayLUT GetDisplayLUT(string imageName)
    {
        SWIGTYPE_p_DisplayLUT ret = new SWIGTYPE_p_DisplayLUT(VisionLabPINVOKE.VisLibCmdInt_GetDisplayLUT(swigCPtr, imageName), true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_DisplayLUT obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
Example #5
0
 internal static HandleRef getCPtr(SWIGTYPE_p_DisplayLUT obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }