Beispiel #1
0
 public PGuid(PGuid other) : this(PapillonPINVOKE.new_PGuid__SWIG_1(PGuid.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #2
0
 public void SetFrameId(PGuid guid)
 {
     PapillonPINVOKE.PFrame_SetFrameId(swigCPtr, PGuid.getCPtr(guid));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #3
0
 public void SetIdentityId(PGuid objectId)
 {
     PapillonPINVOKE.PDescription_SetIdentityId(swigCPtr, PGuid.getCPtr(objectId));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #4
0
 public void SetSource(PGuid sourceId)
 {
     PapillonPINVOKE.PEvent_SetSource(swigCPtr, PGuid.getCPtr(sourceId));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #5
0
 public void SetEntityId(PGuid id)
 {
     PapillonPINVOKE.PEntity_SetEntityId(swigCPtr, PGuid.getCPtr(id));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #6
0
 public void SetDescriptorId(PGuid descriptorId)
 {
     PapillonPINVOKE.PDescriptor_SetDescriptorId(swigCPtr, PGuid.getCPtr(descriptorId));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #7
0
 public void SetTrackId(PGuid val)
 {
     PapillonPINVOKE.PTrack_SetTrackId(swigCPtr, PGuid.getCPtr(val));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #8
0
 public void SetNewImage(PImage image, PGuid frameId)
 {
     PapillonPINVOKE.PFrame_SetNewImage__SWIG_1(swigCPtr, PImage.getCPtr(image), PGuid.getCPtr(frameId));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #9
0
    public bool Exists(PGuid entityId)
    {
        bool ret = PapillonPINVOKE.PStore_Exists(swigCPtr, PGuid.getCPtr(entityId));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #10
0
    public PResult SetDeleteFlag(PGuid entityId, bool enabled)
    {
        PResult ret = new PResult(PapillonPINVOKE.PStore_SetDeleteFlag(swigCPtr, PGuid.getCPtr(entityId), enabled), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #11
0
    public PResult Remove(PGuid entityId)
    {
        PResult ret = new PResult(PapillonPINVOKE.PStore_Remove(swigCPtr, PGuid.getCPtr(entityId)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #12
0
    public PResult Update(PGuid entityId, PObject arg1)
    {
        PResult ret = new PResult(PapillonPINVOKE.PStore_Update(swigCPtr, PGuid.getCPtr(entityId), PObject.getCPtr(arg1)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #13
0
    public PResult GetEntity(PGuid entityId, PEntity entity)
    {
        PResult ret = new PResult(PapillonPINVOKE.PStore_GetEntity(swigCPtr, PGuid.getCPtr(entityId), PEntity.getCPtr(entity)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #14
0
    public PResult Remove(PGuid objectId)
    {
        PResult ret = new PResult(PapillonPINVOKE.PWatchlist_Remove(swigCPtr, PGuid.getCPtr(objectId)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #15
0
    public int RecomputeDescriptors(PGuid describeId, PDetector detector, PDescriber describer)
    {
        int ret = PapillonPINVOKE.PWatchlist_RecomputeDescriptors(swigCPtr, PGuid.getCPtr(describeId), PDetector.getCPtr(detector), PDescriber.getCPtr(describer));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #16
0
    public bool Has(PGuid objectId)
    {
        bool ret = PapillonPINVOKE.PWatchlist_Has(swigCPtr, PGuid.getCPtr(objectId));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #17
0
    public bool IsCompatibleWith(PGuid describeId)
    {
        bool ret = PapillonPINVOKE.PWatchlist_IsCompatibleWith(swigCPtr, PGuid.getCPtr(describeId));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #18
0
    public PResult GetDescription(PGuid objectId, PDescription description)
    {
        PResult ret = new PResult(PapillonPINVOKE.PWatchlist_GetDescription(swigCPtr, PGuid.getCPtr(objectId), PDescription.getCPtr(description)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #19
0
    public int GetNumberOfDescriptors(PGuid describerId)
    {
        int ret = PapillonPINVOKE.PWatchlist_GetNumberOfDescriptors__SWIG_1(swigCPtr, PGuid.getCPtr(describerId));

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #20
0
 public PMatchScore(PGuid objectId1, PGuid objectId2, double score) : this(PapillonPINVOKE.new_PMatchScore__SWIG_2(PGuid.getCPtr(objectId1), PGuid.getCPtr(objectId2), score), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #21
0
 public PTrack(PGuid id, float confidence) : this(PapillonPINVOKE.new_PTrack__SWIG_1(PGuid.getCPtr(id), confidence), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #22
0
 public PDescription(string name, PObjectType objectType, PGuid identityId) : this(PapillonPINVOKE.new_PDescription__SWIG_2(name, PObjectType.getCPtr(objectType), PGuid.getCPtr(identityId)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #23
0
    public PResult Add(PObject arg0, PGuid entityId)
    {
        PResult ret = new PResult(PapillonPINVOKE.PStore_Add__SWIG_0(swigCPtr, PObject.getCPtr(arg0), PGuid.getCPtr(entityId)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
 public PSWatchlistSingleUpdate(PSWatchlistSingleUpdate.EChangeType action, PGuid objectId, PDescription description) : this(PapillonPINVOKE.new_PSWatchlistSingleUpdate__SWIG_1((int)action, PGuid.getCPtr(objectId), PDescription.getCPtr(description)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #25
0
 public PEventBuilder(string type, string annotation, PGuid sourceId) : this(PapillonPINVOKE.new_PEventBuilder__SWIG_0(type, annotation, PGuid.getCPtr(sourceId)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #26
0
    public PResult Describe(PDetection example, string name, PGuid identityId, PDescription description)
    {
        PResult ret = new PResult(PapillonPINVOKE.PDescriber_Describe__SWIG_1(swigCPtr, PDetection.getCPtr(example), name, PGuid.getCPtr(identityId), PDescription.getCPtr(description)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #27
0
 public PDescriptor(PObjectType objectType, PGuid describerId) : this(PapillonPINVOKE.new_PDescriptor__SWIG_2(PObjectType.getCPtr(objectType), PGuid.getCPtr(describerId)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #28
0
    public PResult RemoveDescriptor(PGuid descriptorId)
    {
        PResult ret = new PResult(PapillonPINVOKE.PDescription_RemoveDescriptor(swigCPtr, PGuid.getCPtr(descriptorId)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Beispiel #29
0
 public PIdentifyResult(PGuid identityId, string name, int rank, double score) : this(PapillonPINVOKE.new_PIdentifyResult__SWIG_1(PGuid.getCPtr(identityId), name, rank, score), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Beispiel #30
0
    public PList GetDescriptors(PGuid describeId)
    {
        PList ret = new PList(PapillonPINVOKE.PDescription_GetDescriptors__SWIG_0(swigCPtr, PGuid.getCPtr(describeId)), true);

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