public ClassLexicon(SWIGTYPE_p_std__mapT_std__string_int_t classTab) : this(VisionLabPINVOKE.new_ClassLexicon__SWIG_0(SWIGTYPE_p_std__mapT_std__string_int_t.getCPtr(classTab)), true)
 {
     if (VisionLabPINVOKE.SWIGPendingException.Pending)
     {
         throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public SWIGTYPE_p_std__mapT_std__string_int_t GetFeatureNameTab()
    {
        SWIGTYPE_p_std__mapT_std__string_int_t ret = new SWIGTYPE_p_std__mapT_std__string_int_t(VisionLabPINVOKE.ClassFeatureSet_Int32_GetFeatureNameTab(swigCPtr), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
    public SWIGTYPE_p_std__mapT_std__string_int_t GetClassTab()
    {
        SWIGTYPE_p_std__mapT_std__string_int_t ret = new SWIGTYPE_p_std__mapT_std__string_int_t(VisionLabPINVOKE.ClassImageSet_Double_GetClassTab(swigCPtr), false);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 4
0
    public SWIGTYPE_p_std__mapT_std__string_int_t get_name2id()
    {
        SWIGTYPE_p_std__mapT_std__string_int_t ret = new SWIGTYPE_p_std__mapT_std__string_int_t(modshogunPINVOKE.CTaxonomy_get_name2id(swigCPtr), true);

        if (modshogunPINVOKE.SWIGPendingException.Pending)
        {
            throw modshogunPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 5
0
    public SWIGTYPE_p_std__mapT_std__string_int_t GetPatternNamesTab()
    {
        SWIGTYPE_p_std__mapT_std__string_int_t ret = new SWIGTYPE_p_std__mapT_std__string_int_t(VisionLabPINVOKE.PatternMatcher_Int8_GetPatternNamesTab(swigCPtr), true);

        if (VisionLabPINVOKE.SWIGPendingException.Pending)
        {
            throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Ejemplo n.º 6
0
 public static void MapToVectors_string_int(SWIGTYPE_p_std__mapT_std__string_int_t keyvalue, vector_string key, vector_int value) {
   VisionLabPINVOKE.MapToVectors_string_int(SWIGTYPE_p_std__mapT_std__string_int_t.getCPtr(keyvalue), vector_string.getCPtr(key), vector_int.getCPtr(value));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }
Ejemplo n.º 7
0
 public static SWIGTYPE_p_std__mapT_std__string_int_t VectorsToMap_string_int(vector_string key, vector_int value) {
   SWIGTYPE_p_std__mapT_std__string_int_t ret = new SWIGTYPE_p_std__mapT_std__string_int_t(VisionLabPINVOKE.VectorsToMap_string_int(vector_string.getCPtr(key), vector_int.getCPtr(value)), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 8
0
 public static SWIGTYPE_p_std__mapT_std__string_int_t StrToPatternNamesTab(string str) {
   SWIGTYPE_p_std__mapT_std__string_int_t ret = new SWIGTYPE_p_std__mapT_std__string_int_t(VisionLabPINVOKE.StrToPatternNamesTab(str), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 9
0
 public static string PatternNamesTabToStr(SWIGTYPE_p_std__mapT_std__string_int_t t) {
   string ret = VisionLabPINVOKE.PatternNamesTabToStr(SWIGTYPE_p_std__mapT_std__string_int_t.getCPtr(t));
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public SWIGTYPE_p_std__mapT_std__string_int_t GetFeatureNameTab() {
   SWIGTYPE_p_std__mapT_std__string_int_t ret = new SWIGTYPE_p_std__mapT_std__string_int_t(VisionLabPINVOKE.ClassFeatureSet_Float_GetFeatureNameTab(swigCPtr), false);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_std__mapT_std__string_int_t obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
 public SWIGTYPE_p_std__mapT_std__string_int_t GetPatternNamesTab() {
   SWIGTYPE_p_std__mapT_std__string_int_t ret = new SWIGTYPE_p_std__mapT_std__string_int_t(VisionLabPINVOKE.PatternMatcher_Int32_GetPatternNamesTab(swigCPtr), true);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 internal static HandleRef getCPtr(SWIGTYPE_p_std__mapT_std__string_int_t obj) {
   return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Ejemplo n.º 14
0
 public SWIGTYPE_p_std__mapT_std__string_int_t get_name2id() {
   SWIGTYPE_p_std__mapT_std__string_int_t ret = new SWIGTYPE_p_std__mapT_std__string_int_t(modshogunPINVOKE.CTaxonomy_get_name2id(swigCPtr), true);
   if (modshogunPINVOKE.SWIGPendingException.Pending) throw modshogunPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
Ejemplo n.º 15
0
 public static string PatternIdToName(SWIGTYPE_p_std__mapT_std__string_int_t tab, int id) {
   string ret = VisionLabPINVOKE.PatternIdToName(SWIGTYPE_p_std__mapT_std__string_int_t.getCPtr(tab), id);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public SWIGTYPE_p_std__mapT_std__string_int_t GetClassTab() {
   SWIGTYPE_p_std__mapT_std__string_int_t ret = new SWIGTYPE_p_std__mapT_std__string_int_t(VisionLabPINVOKE.ClassImageSet_Int8_GetClassTab(swigCPtr), false);
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
   return ret;
 }
 public ClassLexicon(SWIGTYPE_p_std__mapT_std__string_int_t classTab) : this(VisionLabPINVOKE.new_ClassLexicon__SWIG_0(SWIGTYPE_p_std__mapT_std__string_int_t.getCPtr(classTab)), true) {
   if (VisionLabPINVOKE.SWIGPendingException.Pending) throw VisionLabPINVOKE.SWIGPendingException.Retrieve();
 }