Example #1
0
 public void SetObjectType(PObjectType objectType)
 {
     PapillonPINVOKE.PDescription_SetObjectType(swigCPtr, PObjectType.getCPtr(objectType));
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
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();
     }
 }
Example #3
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();
     }
 }
Example #4
0
    public PList GetDescriptors(PObjectType objectType)
    {
        PList ret = new PList(PapillonPINVOKE.PDescription_GetDescriptors__SWIG_1(swigCPtr, PObjectType.getCPtr(objectType)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #5
0
    public virtual PResult GetObjectType(PObjectType objectType)
    {
        PResult ret = new PResult(PapillonPINVOKE.PDescriberInterface_GetObjectType(swigCPtr, PObjectType.getCPtr(objectType)), true);

        if (PapillonPINVOKE.SWIGPendingException.Pending)
        {
            throw PapillonPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Example #6
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 #7
0
 public PDetection(PObjectType objectType, PGuid detectorId, PFrame frame, PFeatureMap featureMap, float reliability) : this(PapillonPINVOKE.new_PDetection__SWIG_1(PObjectType.getCPtr(objectType), PGuid.getCPtr(detectorId), PFrame.getCPtr(frame), PFeatureMap.getCPtr(featureMap), reliability), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #8
0
 public PObjectType(PObjectType other) : this(PapillonPINVOKE.new_PObjectType__SWIG_1(PObjectType.getCPtr(other)), true)
 {
     if (PapillonPINVOKE.SWIGPendingException.Pending)
     {
         throw PapillonPINVOKE.SWIGPendingException.Retrieve();
     }
 }