示例#1
0
 public HeatMapTypeList(HeatMapTypeList other) : this(OpenPosePINVOKE.new_HeatMapTypeList__SWIG_1(HeatMapTypeList.getCPtr(other)), true)
 {
     if (OpenPosePINVOKE.SWIGPendingException.Pending)
     {
         throw OpenPosePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#2
0
 public HeatMapTypeListEnumerator(HeatMapTypeList collection)
 {
     collectionRef = collection;
     currentIndex  = -1;
     currentObject = null;
     currentSize   = collectionRef.Count;
 }
示例#3
0
 public void SetRange(int index, HeatMapTypeList values)
 {
     OpenPosePINVOKE.HeatMapTypeList_SetRange(swigCPtr, index, HeatMapTypeList.getCPtr(values));
     if (OpenPosePINVOKE.SWIGPendingException.Pending)
     {
         throw OpenPosePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#4
0
        public static HeatMapTypeList Repeat(HeatMapType value, int count)
        {
            global::System.IntPtr cPtr = OpenPosePINVOKE.HeatMapTypeList_Repeat((int)value, count);
            HeatMapTypeList       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new HeatMapTypeList(cPtr, true);

            if (OpenPosePINVOKE.SWIGPendingException.Pending)
            {
                throw OpenPosePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#5
0
        public HeatMapTypeList GetRange(int index, int count)
        {
            global::System.IntPtr cPtr = OpenPosePINVOKE.HeatMapTypeList_GetRange(swigCPtr, index, count);
            HeatMapTypeList       ret  = (cPtr == global::System.IntPtr.Zero) ? null : new HeatMapTypeList(cPtr, true);

            if (OpenPosePINVOKE.SWIGPendingException.Pending)
            {
                throw OpenPosePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
示例#6
0
 public HandExtractorCaffe(IntPoint netInputSize, IntPoint netOutputSize, string modelFolder, int gpuId, ushort numberScales, float rangeScales, HeatMapTypeList heatMapTypes) : this(OpenPosePINVOKE.new_HandExtractorCaffe__SWIG_2(IntPoint.getCPtr(netInputSize), IntPoint.getCPtr(netOutputSize), modelFolder, gpuId, numberScales, rangeScales, HeatMapTypeList.getCPtr(heatMapTypes)), true)
 {
     if (OpenPosePINVOKE.SWIGPendingException.Pending)
     {
         throw OpenPosePINVOKE.SWIGPendingException.Retrieve();
     }
 }
示例#7
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(HeatMapTypeList obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }