public PSizei(PSizei other) : this(PapillonPINVOKE.new_PSizei__SWIG_3(PSizei.getCPtr(other)), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public void Resize(PSizei newSize) { PapillonPINVOKE.PFrame_Resize__SWIG_2(swigCPtr, PSizei.getCPtr(newSize)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
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(); } }
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(); } }
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); }
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); }
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); }
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); }
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); }
public PSizei ScaleSize(float scaleFactor) { PSizei ret = new PSizei(PapillonPINVOKE.PImage_ScaleSize(swigCPtr, scaleFactor), true); return(ret); }
public PSizei GetSize() { PSizei ret = new PSizei(PapillonPINVOKE.PImage_GetSize(swigCPtr), true); return(ret); }
public PSizei ToSizei() { PSizei ret = new PSizei(PapillonPINVOKE.PSizef_ToSizei(swigCPtr), true); return(ret); }
public PSizei GetMaxDetectionSize() { PSizei ret = new PSizei(PapillonPINVOKE.PDetector_GetMaxDetectionSize(swigCPtr), true); return(ret); }
public PSizei GetResolution() { PSizei ret = new PSizei(PapillonPINVOKE.PInputVideoStream_GetResolution(swigCPtr), true); return(ret); }
public static PSizei Zero() { PSizei ret = new PSizei(PapillonPINVOKE.PSizei_Zero(), false); return(ret); }
public PSizei GetSize() { PSizei ret = new PSizei(PapillonPINVOKE.PRectanglei_GetSize(swigCPtr), true); return(ret); }
public PSizei Clamped(int min, int max) { PSizei ret = new PSizei(PapillonPINVOKE.PSizei_Clamped(swigCPtr, min, max), true); return(ret); }
public PSizei Scaled(float factor) { PSizei ret = new PSizei(PapillonPINVOKE.PSizei_Scaled(swigCPtr, factor), true); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PSizei obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public PSizei GetMinimumInputResolution() { PSizei ret = new PSizei(PapillonPINVOKE.PAnalytics_GetMinimumInputResolution(swigCPtr), true); return(ret); }