public HeatMapTypeList(HeatMapTypeList other) : this(OpenPosePINVOKE.new_HeatMapTypeList__SWIG_1(HeatMapTypeList.getCPtr(other)), true) { if (OpenPosePINVOKE.SWIGPendingException.Pending) { throw OpenPosePINVOKE.SWIGPendingException.Retrieve(); } }
public HeatMapTypeListEnumerator(HeatMapTypeList collection) { collectionRef = collection; currentIndex = -1; currentObject = null; currentSize = collectionRef.Count; }
public void SetRange(int index, HeatMapTypeList values) { OpenPosePINVOKE.HeatMapTypeList_SetRange(swigCPtr, index, HeatMapTypeList.getCPtr(values)); if (OpenPosePINVOKE.SWIGPendingException.Pending) { throw OpenPosePINVOKE.SWIGPendingException.Retrieve(); } }
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); }
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); }
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(); } }
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); }