public static void Main()
    {
        if (apply_strings.UCharFunction(TEST_MESSAGE) != TEST_MESSAGE)
        {
            throw new Exception("UCharFunction failed");
        }
        if (apply_strings.SCharFunction(TEST_MESSAGE) != TEST_MESSAGE)
        {
            throw new Exception("SCharFunction failed");
        }
        SWIGTYPE_p_char pChar = apply_strings.CharFunction(null);

        if (pChar != null)
        {
            throw new Exception("CharFunction failed");
        }
    }
 internal static HandleRef getCPtr(SWIGTYPE_p_char obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
 public static double ThresholdRATS(Int8Image image, Int8Image roi, char minEdge, ObjectBrightness arg3, SWIGTYPE_p_char thres) {
   double ret = VisionLabPINVOKE.ThresholdRATS__SWIG_5(Int8Image.getCPtr(image), Int8Image.getCPtr(roi), minEdge, (int)arg3, SWIGTYPE_p_char.getCPtr(thres));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static double RATS(Int8Image image, Int8Image roi, char minEdge, SWIGTYPE_p_char thres) {
   double ret = VisionLabPINVOKE.RATS__SWIG_5(Int8Image.getCPtr(image), Int8Image.getCPtr(roi), minEdge, SWIGTYPE_p_char.getCPtr(thres));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public static void MinMaxPixel(Int8Image image, SWIGTYPE_p_char minP, SWIGTYPE_p_char maxP) {
   VisionLabPINVOKE.MinMaxPixel__SWIG_2(Int8Image.getCPtr(image), SWIGTYPE_p_char.getCPtr(minP), SWIGTYPE_p_char.getCPtr(maxP));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Esempio n. 6
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_char obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_char obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Esempio n. 8
0
        public SWIGTYPE_p_char at(int pIndex)
        {
            SWIGTYPE_p_char ret = new SWIGTYPE_p_char(FbxWrapperNativePINVOKE.FbxString_at__SWIG_0(swigCPtr, pIndex), false);

            return(ret);
        }