public bool BmIdentify(SWIGTYPE_p_Filename name, SWIGTYPE_p_UCHAR probe, int size) { bool ret = C4dApiPINVOKE.BitmapLoaderPlugin_BmIdentify(swigCPtr, SWIGTYPE_p_Filename.getCPtr(name), SWIGTYPE_p_UCHAR.getCPtr(probe), size); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
internal static HandleRef getCPtr(SWIGTYPE_p_UCHAR obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; }
public void GetPixelCnt(int x, int y, int cnt, SWIGTYPE_p_UCHAR buffer, int inc, COLORMODE dstmode, PIXELCNT flags) { C4dApiPINVOKE.BaseBitmap_GetPixelCnt__SWIG_1(swigCPtr, x, y, cnt, SWIGTYPE_p_UCHAR.getCPtr(buffer), inc, (int)dstmode, (int)flags); }
public void Convert(SWIGTYPE_p_UCHAR src, SWIGTYPE_p_UCHAR dst, int cnt, int SkipInputComponents, int SkipOutputComponents) { C4dApiPINVOKE.ColorProfileConvert_Convert(swigCPtr, SWIGTYPE_p_UCHAR.getCPtr(src), SWIGTYPE_p_UCHAR.getCPtr(dst), cnt, SkipInputComponents, SkipOutputComponents); }
public bool SetPixelCnt(int x, int y, int cnt, SWIGTYPE_p_UCHAR buffer, int inc, COLORMODE srcmode, PIXELCNT flags) { bool ret = C4dApiPINVOKE.BaseBitmap_SetPixelCnt(swigCPtr, x, y, cnt, SWIGTYPE_p_UCHAR.getCPtr(buffer), inc, (int)srcmode, (int)flags); return ret; }
public void GetPixelCnt(int x, int y, int cnt, SWIGTYPE_p_UCHAR buffer, int inc, COLORMODE dstmode, PIXELCNT flags, ColorProfileConvert conversion) { C4dApiPINVOKE.BaseBitmap_GetPixelCnt__SWIG_0(swigCPtr, x, y, cnt, SWIGTYPE_p_UCHAR.getCPtr(buffer), inc, (int)dstmode, (int)flags, ColorProfileConvert.getCPtr(conversion)); }
public static IDENTIFYFILE GeIdentifyFile(SWIGTYPE_p_Filename name, SWIGTYPE_p_UCHAR probe, int probesize, IDENTIFYFILE recognition, SWIGTYPE_p_p_BasePlugin bp) { IDENTIFYFILE ret = (IDENTIFYFILE)C4dApiPINVOKE.GeIdentifyFile(SWIGTYPE_p_Filename.getCPtr(name), SWIGTYPE_p_UCHAR.getCPtr(probe), probesize, (int)recognition, SWIGTYPE_p_p_BasePlugin.getCPtr(bp)); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); return ret; }
public static bool CalculateVisiblePoints(BaseDraw bd, PolygonObject op, ref Fusee.Math.Core.Vector3D /* Vector*&_cstype */ padr, SWIGTYPE_p_UCHAR pset, bool select_visibonly) { bool ret = C4dApiPINVOKE.CalculateVisiblePoints(BaseDraw.getCPtr(bd), PolygonObject.getCPtr(op), ref padr /* Vector*&_csin */, SWIGTYPE_p_UCHAR.getCPtr(pset), select_visibonly); return ret; }
public static int IntersectionTest(PolygonObject op, BaseDraw bd, double x, double y, ref Fusee.Math.Core.Matrix4D /* constMatrix&_cstype */ mg, SWIGTYPE_p_Real z, MODELINGCOMMANDMODE mode, SWIGTYPE_p_UCHAR pPointSelect, int lSelectCount) { double[] adbl_mg; unsafe {adbl_mg = Fusee.Math.ArrayConversion.Convert.Matrix4DToArrayDoubleC4DLayout(mg); fixed (double *pdbl_mg = adbl_mg) { /* constMatrix&_csin_pre */ try { int ret = C4dApiPINVOKE.IntersectionTest(PolygonObject.getCPtr(op), BaseDraw.getCPtr(bd), x, y, (IntPtr) pdbl_mg /* constMatrix&_csin */, SWIGTYPE_p_Real.getCPtr(z), (int)mode, SWIGTYPE_p_UCHAR.getCPtr(pPointSelect), lSelectCount); return ret; } finally { // NOP mg = Fusee.Math.ArrayConversion.Convert.ArrayDoubleC4DLayoutToMatrix4D(pdbl_mg); /* constMatrix&_csin_post */ } } } /* constMatrix&_csin_terminator */ }
public bool FromArray(SWIGTYPE_p_UCHAR selection, int count) { bool ret = C4dApiPINVOKE.BaseSelect_FromArray(swigCPtr, SWIGTYPE_p_UCHAR.getCPtr(selection), count); return ret; }
public void ClearPixelInfo(int x, int y, SWIGTYPE_p_UCHAR mask) { C4dApiPINVOKE.ViewportSelect_ClearPixelInfo(swigCPtr, x, y, SWIGTYPE_p_UCHAR.getCPtr(mask)); if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); }