Beispiel #1
0
 public PSizei(PSizei other) : this(PapillonPINVOKE.new_PSizei__SWIG_3(PSizei.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public void Resize(PSizei newSize)
 {
     PapillonPINVOKE.PFrame_Resize__SWIG_2(swigCPtr, PSizei.getCPtr(newSize));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #3
0
 public void Resize(PSizei newSize, PImage.EAspectRatioMode aspectRatioMode)
 {
     PapillonPINVOKE.PFrame_Resize__SWIG_1(swigCPtr, PSizei.getCPtr(newSize), (int)aspectRatioMode);
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #4
0
 public void Keep(PSizei minBoundingBox, PSizei maxBoundingBox, string objectType, int maxNumber)
 {
     PapillonPINVOKE.PDetectionList_Keep__SWIG_0(swigCPtr, PSizei.getCPtr(minBoundingBox), PSizei.getCPtr(maxBoundingBox), objectType, maxNumber);
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #5
0
    public PResult Resize(PSizei newSize)
    {
        PResult ret = new PResult(PapillonPINVOKE.PImage_Resize__SWIG_11(swigCPtr, PSizei.getCPtr(newSize)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #6
0
    public PResult Resize(PSizei newSize, PImage.EAspectRatioMode aspectRatioMode)
    {
        PResult ret = new PResult(PapillonPINVOKE.PImage_Resize__SWIG_10(swigCPtr, PSizei.getCPtr(newSize), (int)aspectRatioMode), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #7
0
    public static PResult FromString(string s, PSizei size)
    {
        PResult ret = new PResult(PapillonPINVOKE.PSizei_FromString(s, PSizei.getCPtr(size)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #8
0
    public PResult SetMaxDetectionSize(PSizei maxDetectionSize)
    {
        PResult ret = new PResult(PapillonPINVOKE.PDetector_SetMaxDetectionSize__SWIG_1(swigCPtr, PSizei.getCPtr(maxDetectionSize)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #9
0
    public PRectanglef Normalized(PSizei size)
    {
        PRectanglef ret = new PRectanglef(PapillonPINVOKE.PRectanglef_Normalized__SWIG_2(swigCPtr, PSizei.getCPtr(size)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }