public PTrack(PTrack other) : this(PapillonPINVOKE.new_PTrack__SWIG_2(PTrack.getCPtr(other)), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public void SetTrack(PTrack track) { PapillonPINVOKE.PDetection_SetTrack(swigCPtr, PTrack.getCPtr(track)); if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public PTrack Clone() { PTrack ret = new PTrack(PapillonPINVOKE.PTrack_Clone(swigCPtr), true); return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PTrack obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
public PDetection(PGuid objectId, PGuid detectorId, PFrame frame, PObjectType objectType, PTrack track, PFeatureMap featureMap, float confidence) : this(PapillonPINVOKE.new_PDetection__SWIG_2(PGuid.getCPtr(objectId), PGuid.getCPtr(detectorId), PFrame.getCPtr(frame), PObjectType.getCPtr(objectType), PTrack.getCPtr(track), PFeatureMap.getCPtr(featureMap), confidence), true) { if (PapillonPINVOKE.SWIGPendingException.Pending) { throw PapillonPINVOKE.SWIGPendingException.Retrieve(); } }
public PTrack GetTrackShared() { PTrack ret = new PTrack(PapillonPINVOKE.PDetection_GetTrackShared(swigCPtr), true); return(ret); }
public PTrack GetTrack() { PTrack ret = new PTrack(PapillonPINVOKE.PDetection_GetTrack(swigCPtr), false); return(ret); }