Example #1
0
 public PTrack(PTrack other) : this(PapillonPINVOKE.new_PTrack__SWIG_2(PTrack.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public void SetTrack(PTrack track)
 {
     PapillonPINVOKE.PDetection_SetTrack(swigCPtr, PTrack.getCPtr(track));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #3
0
    public PTrack Clone()
    {
        PTrack ret = new PTrack(PapillonPINVOKE.PTrack_Clone(swigCPtr), true);

        return(ret);
    }
Example #4
0
 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);
 }
Example #5
0
 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();
     }
 }
Example #6
0
    public PTrack GetTrackShared()
    {
        PTrack ret = new PTrack(PapillonPINVOKE.PDetection_GetTrackShared(swigCPtr), true);

        return(ret);
    }
Example #7
0
    public PTrack GetTrack()
    {
        PTrack ret = new PTrack(PapillonPINVOKE.PDetection_GetTrack(swigCPtr), false);

        return(ret);
    }